It took the whole day, but stocks came all the way back.
Bruised once again by uncertainty about European debt, the U.S. stock market fell sharply Thursday at the open, then steadily gained ground for six hours. By the close, the Dow Jones industrial average had shaved its loss to less than three points.
It was the first decline of the year for the Dow. The Standard & Poor's 500 index gained just under four points and managed to extend its January winning streak to three days.
Investors looking for good news had the latest encouraging report on the U.S. job market. Weekly unemployment claims declined again, one day before a crucial report on the national jobs picture in December.
The Dow recovered from a 134-point loss to end down just 2.72 points at 12,415.70. The Standard & Poor's 500 index closed up 3.76 points at 1,281.06. The Nasdaq rose 21.5 points to 2,669.86.
The market has had a strong start to the year. The Dow is up 1.6 percent, the S&P 500 1.9 percent. The technology-focused Nasdaq composite is already 2.5 percent.
Stocks spent the morning underwater. Worries about Europe's financial crisis appeared to outweigh a jobs report that showed a drop in new applications for unemployment insurance.
Trading in UniCredit, a large Italian bank, was halted after the stock lost a quarter of its value. The bank said Wednesday that it would need to offer huge discounts to investors to raise money.
And a financial crisis deepened in Hungary, which had to pay a staggeringly high interest rate of 10 percent on its 12-month debt. That is far above the 7 percent level that forced Greece and Portugal to seek bailouts.
Taken together, the news raised fears on Wall Street that Europe's debt crisis would spread from small countries such as Greece and infect much larger ones such as Italy that are too big to be bailed out.
"The positives that are coming out of our economy are less significant than the fear that is coming out of Europe," said Ralph Fogel, an investment strategist and partner at Fogel Neale Partners in New York.
The euro fell to just below $1.28, down more than a penny from Wednesday, to its lowest since September 2010. The euro spent most of last year, even the most uncertain days of the European debt crisis, above $1.30.
Other retailers fell, too, after their December sales failed to impress Wall Street.
Upscale stores did well, but others struggled. Macy's beat expectations for sales and rose 1 percent. But Target, J.C. Penney Co. and Gap were all among the worst performers in the S&P 500, each down more than 2.7 percent.
The Labor Department reported another drop in the number of people filing for unemployment benefits, and ADP, which processes payroll data, said private employers added 325,000 jobs last month.
The reports signaled further, though not dramatic, improvement in the job market. The government reports Friday on how many jobs were created in December and on the unemployment rate, which stands at 8.6 percent.
In other U.S. corporate news:
— MetroPCS Communications Inc., the fifth-largest cellphone company in the U.S., fell 8.9 percent after reporting new subscriber growth that was lower than analysts had expected.
— Tesoro Corp., a Texas oil refiner, plunged 5.9 percent. It said it lost money in the final three months of 2011 because the rising price of crude oil made refining more expensive at the same time gasoline prices were falling.