The US economy added 199,000 jobs in December, the Labor Department reported Friday. That was the fewest jobs added in any month of 2021.

That was a disappointment, as economists expected twice that number.

The unemployment rate fell to 3.9%, marking a new pandemic-era low.

Omicron has sickened millions of Americans, forced airlines to cancel thousands of flights, reduced traffic and restaurants and bars and caused some major school systems to close, potentially keeping some parents at home with children and unable to work.

Still, the job market may be healthier than the modest hiring gain the government reported Friday. The aftermath of the pandemic has made the government’s employment figures more volatile, with one month’s data often followed by a sharply different trend a month or two later.

The economy has also shown resilience in the face of surging inflation, the prospect of higher loan rates and the spread of the omicron variant. Most businesses report steady demand from their customers despite chronic supply shortages.

Consumer spending and business purchases of machinery and equipment likely propelled the economy to a robust annual growth rate of roughly 7% in the final three months of 2021. Americans’ confidence in the economy rose slightly in December, according to the Conference Board, suggesting that spending probably remained healthy through year’s end.

Even with December’s modest gain, 2021 was one of the best years for American workers in decades, though one that followed 2020, the job market’s worst year since records began in 1939, a consequence of the pandemic recession. Companies posted a record number of open jobs last year and offered sharply higher pay to try to find and keep workers. Americans responded by quitting jobs in droves, mainly for better pay at other employers.

Economists have cautioned that job growth may slow in January and possibly February because of the spike in new omicron infections, which have forced millions of newly infected workers to stay home and quarantine, disrupting employers ranging from ski resorts to airlines to hospitals.

Alaska Airlines said it’s cutting 10% of its flights in January because of an “unprecedented” number of employees calling in sick. But because omicron is less virulent than previous COVID-19 variants and few states or localities have moved to limit business operations, economists say they believe its economic impact will be short-lived.

Still, Andrew Hunter, an economist at Capital Economics, a forecasting firm, calculates that up to 5 million people — roughly 2% of America’s workforce — could be stuck at home with COVID over the next week or so. Workers without sick leave who miss a paycheck are classified by the government as jobless. Any such trend could sharply lower job gains in the employment report for January, to be released next month.

Omicron will also likely weigh on jobs at restaurants and bars. The number of Americans willing to eat at restaurants started to slip in late December, according to the reservations website OpenTable. Restaurant traffic was nearly at pre-pandemic levels for much of November but had fallen nearly 25% below those levels by Dec. 30, based on a weekly average of OpenTable data.

Other measures of the economy have mostly reflected a resilient economy. A survey of manufacturing purchasing managers found that factory output grew at a healthy pace in December, if slower than in previous months. Hiring also picked up. Auto dealers report that demand for new cars is still strong, with sales held back by semiconductor chip shortages that have hobbled auto production.