FILE - In this Dec. 1, 2020 file photo, workers toil on new homes under construction in a development near Chatfield State Park in Littleton, Colo. Spending on U.S. construction projects increased 0.9% in November as strength in home building offset weakness in other parts of the construction industry. The Commerce Department said that the November gain followed a bigger 1.6% rise in October and left construction spending up 4.4% through the first 11 months of 2020 compared to the same period in 2019. (AP Photo/David Zalubowski, File)

WASHINGTON (AP) — U.S. construction spending rose a moderate 1% in December as the number of new homes offset a sustained weakness in nonresidential construction.

The increase followed a 1.1% gain in November, the Commerce Department reported Monday. Last month's strength came from a 3.1% jump in spending on residential projects with money going to single-family homes surging by 5.8%.

While home construction is gaining, there was a 1.7% decline in nonresidential construction, which had declines in hotel and motel construction and in the category that includes shopping centers.

Spending on government projects which had been hit by falling tax revenues rose 0.5% in December.

In an era of extraordinarily how interest rates, housing has been a star performer over the past year even as other parts of the economy are ravaged by the COVID-19 pandemic.

Economists believe the sharp split between a strong housing sector and weak nonresidential construction may narrow in the coming year as the country pulls out of the pandemic-induced recession.

“We look for a gradual recovery in private, nonresidential investment as the recovery takes hold while we expect the pace of housing starts to moderate slightly,” said Nancy Vanden Houten, senior economist at Oxford Economics.

She said she expected government construction would continue to be constrained by tight state and local budgets.

Construction totaled $1.49 trillion at a seasonally adjusted annual rate in December, 5.7% higher than the level in December 2019. Residential construction was up 20.7% over December 2019 with spending on single-family homes rising 23.5% while spending on apartment construction was up 17.8%.

By contrast, nonresidential construction was down 9.8% from December 2019 with hotel and motel construction down 24.6% and office building down 3.3%.