Technology companies helped lift stocks Thursday, ending a five-day losing streak for the S&P 500, though the major indexes remain on pace for a weekly loss.
The S&P 500 rose 0.8%, while the tech-heavy Nasdaq composite closed 1.1% higher. The Dow Jones Industrial Average added 0.5%.
Major indexes are all in the red for the week and have been swinging between big monthly gains and losses throughout the year. Investors' worries about inflation, rising interest rates and recession risks have made for a volatile market. That has also left Wall Street focused on economic data, especially regarding inflation.
"We'll continue to see outsized moves in the markets over the coming months," said Jeff Kleintop, chief global investment strategist at Charles Schwab. "We're going to be feeling our way through, and there's going to be a lot of volatility."
The S&P 500 rose 29.59 points to 3,963.51. The Nasdaq gained 123.45 points to 11,082, and the Dow rose 183.56 points to 33,781.48.
Tech stocks powered much of the rally Thursday, along with health care companies and retailers. Chipmaker Nvidia Corp. climbed 6.5%, Pfizer Inc. rose 3.1% and Nike Inc. gained 2.8%.
Communication services stocks posted some of the biggest losses. T-Mobile US Inc. slid 3.3%.
Energy stocks also fell. The price of U.S. crude oil settled 0.8% lower at $71.46 per barrel, a low point for the year. ConocoPhillips dropped 2%.
Activision Blizzard Inc. lost 1.5% after the Federal Trade Commission said it is suing to block Microsoft's planned $69 billion takeover of the video game company, saying deal threatens to suppress competitors to its Xbox game consoles and its growing games subscription business. Microsoft Corp. rose 1.2%.
Small company stocks gained ground. The Russell 2000 index added 11.39 points, or 0.6%, to 1,818.29.
Bond yields mostly rose. The yield on the 10-year Treasury note, which helps set mortgage rate s, increased to 3.49% from 3.42% late Wednesday.
Markets in Europe closed mostly lower, while markets in Asia ended mixed.
On Thursday, the U.S. reported slightly more Americans filed for jobless claims last week but not as many as economists had forecast. The labor market remains one of the strongest pockets of the economy, which has been stifled under the weight of stubbornly hot inflation and rising interest rates.
Low unemployment is good for the broader economy but makes it more difficult for the Federal Reserve to tame inflation. The central bank has been raising interest rates to curb borrowing and spending to cool inflation. Its benchmark interest rate sits at 3.75% to 4%, the highest in 15 years. The Fed is expected next week to raise its benchmark interest rate by half a percentage point.
Resilient consumer spending, which is partly tied to strong employment, has also made the fight against inflation more difficult. Consumer spending has kept the economy strong enough to stay out of a recession, analysts have said, but the spending is also increasing the chances that the Fed will go too far in raising interest rates, potentially causing a recession.
Wall Street will get more insight into how consumers feel about inflation and the economy today when the University of Michigan releases its consumer sentiment survey for December. Investors will also get an update on how inflation is impacting businesses when the government releases its latest monthly report on wholesale prices today.
Information for this report was contributed by Elaine Kurtenbach and Matt Ott of The Associated Press.