110 Clapboard Ridge Road in Greenwich. Courtesy Image / Sotheby's International Realty

What was more expensive in 2019: homes in Greenwich, Connecticut or homes in Wellesley?

According to a new analysis by Property Shark, the answer is Greenwich. While Massachusetts contains six of the 10 priciest ZIP codes in New England, including the top spot, three Greenwich neighborhoods took the third, fourth and sixth spots with median sale prices of $1.63 million, $1.62 million and $1.45 million, respectively. New Hampshire’s Rye Beach took the second spot with a median sale price of $1.93 million.

The report looked at all residential sales between Jan. 1 and Nov. 22, 2019.

Only Fairfield County, location of Greenwich and other “Gold Coast” towns, held more than two of the 50 most expensive ZIP codes in New England, with nine total.

Statewide, Greenwich dominated the list of most expensive ZIPs, with Riverside, Old Greenwich, central Greenwich and backcountry Greenwich taking the first four slots, respectively, and Cos Cob beating out Southport for ninth place with a median sale price of $945,000. All other Greenwich ZIP codes had median sale prices between $1.63 million and $1.2 million.