The S&P 500 was having its best day in nearly a month and was approaching a ninth consecutive week of gains despite ending lower in recent days.
Nonfarm payrolls added 203,000 in November, exceeding the forecast, and the U.S. unemployment rate fell to a five-year low of 7.0 percent. The Labor Department's report raised the prospects that the Fed would begin to taper its stimulus program sooner rather than later.
Economic data for the fourth quarter so far has been mixed, with indicators for the labor market and consumer spending showing strength but the housing market and business spending faltering.
"The economy is still not generating the levels of inflation the Fed would like to see, so that may give them a little space to maneuver," said Cam Albright, director of asset allocation at Wilmington Trust Investment Advisors in Wilmington, Delaware.
"I don't think (the payrolls data) backs the Fed into the corner that they have to taper in December."
Many market participants have expected the Fed to announce a cut in stimulus in March. The Fed has said it would slow its massive bond purchases when certain economic measures meet its targets, including a drop in the U.S. unemployment rate.
The Dow Jones industrial average (.DJI) rose 178.27 points or 1.13 percent, to 15,999.78, the S&P 500 (.SPX) gained 19.17 points or 1.07 percent, to 1,804.2 and the Nasdaq Composite (.IXIC) added 31.958 points or 0.79 percent, to 4,065.123.
The S&P was posting its best day since November 8 and the Dow's gain was the largest since October 16.
After an eight-week run that pushed the S&P 500 up nearly 7 percent, the benchmark index had dropped 1.2 percent over the past five sessions, its longest losing streak since late September.
Intel (INTC.O) ranked among the top gainers on the S&P 500 index, with its shares up 2.9 percent at $24.98 after Citigroup raised its rating on the chipmaker to "buy" from "neutral."
J.C. Penney (JCP.N) shares fell 6.3 percent to $8.29 after the department store chain said it received a letter of inquiry from the U.S. Securities and Exchange Commission, seeking an explanation on the company's financial position.
Barnes & Noble (BKS.N) also disclosed an SEC investigation, and its stock fell 7.6 percent to $15.15.
Other data showed personal spending rose 0.3 percent in October, slightly higher than expected. The Thomson Reuters/University of Michigan's preliminary reading on the overall index on consumer sentiment jumped to 82.5 for December from a final November reading of 75.1.
© 2017 Reuters All rights reserved.