A house for sale at 322 South St. in Northampton on Tuesday, May 12, 2020.
A house for sale at 322 South St. in Northampton on Tuesday, May 12, 2020. Credit: GAZETTE FILE PHOTO

More single-family homes were sold last year in Massachusetts than in any other year since 2004, despite a once-in-a-century pandemic that threatened the financial security of thousands of residents and dramatically changed the process of buying and selling a home.

There were 61,469 single-family home sales in 2020, a 3.9%ย increase over the sales total of 2019, according to The Warren Group. The median sale price for those homes climbed 11.4% from 2019 to hit $445,500 last year.

โ€œIn the wake of the first COVID-19 lockdown way back in March, single-family home sales took a nosedive for the entire second quarter,โ€ Warren Group CEO Tim Warren said. โ€œIf you told me back then that by the end of the year that the total number of sales would surpass 2019, thereโ€™s no way I would have believed you … yet here we are. Another record-setting year in the books for Massachusetts real estate.โ€

Warren said an unprecedented December helped to boost the 2020 totals. December 2020 saw 6,410 single-family home sales in Massachusetts โ€“ the most ever recorded for the month and up 28.6%ย from December 2019. The median sale price for the month jumped 14.4% to $455,000, an all-time high for the month and the sixth consecutive month with a median sale price greater than $450,000, Warren said.

โ€œThe hot market has continued right into December, four straight months of sales gains of 25 percent or more,โ€ driven by low interest rates and people spending more time at home. โ€œThe more time they spend at home, the more they think about the home and some ask what they want to change,โ€ he said on The Warren Groupโ€™s podcast.

Almost everyone who sold or purchased a home in 2020 probably had to deal with COVID-19 restrictions and safety measures in one way or another. Packed spring open houses gave way to virtual showings and eventually to tightly-scheduled and timed windows for prospective buyers to tour homes for sale.

But despite the new hurdles COVID-19 imposes on buying or selling a home, the virus and its accompanying shift towards remote work helped to fuel a migration away from cities and towards โ€œvacationโ€ areas in Massachusetts like Cape Cod and the Berkshires, Warren said.

He said that he expects the housing market will โ€œcontinue to sell wellโ€ in 2021 but saw a concerning trend emerge at the end of 2020.

โ€œThe one thing I worry about is the rapidly-rising median price across the state,โ€ Warren said. โ€œFor six straight years, we saw a very good market but with restrained growth in price โ€“ just two to five percent. The tail end of 2020 saw huge changes and prices rose by 14 percent or more for five straight months. For the year as a whole, prices rose 11.4 percent. I consider that to be unsustainable.โ€

He added, โ€œI hope we see the market cool and consolidate its gains before we create a bubble in prices as we did in 2005. The collapse of the market in 2006 and beyond was very painful.โ€

Gov. Charlie Baker last week signed an economic development bill that included a housing production measure anchored to local zoning changes, and another initiative designed to boost housing near MBTA stations.