The Standard & Poor's 500 index closed at a record high Tuesday, surpassing the peak it set last September and recouping all the ground it lost in a nosedive late last year.
The NASDAQ composite index also closed at a record high Tuesday.
The market has risen sharply since bottoming out on Christmas Eve, driven by greater confidence in the economy and reassurances that the Federal Reserve is unlikely to raise interest rates this year.
The gains Tuesday came as big U.S. companies began turning in solid results for the first quarter. Hasbro soared 14.2% and Twitter jumped 15.6%.
The S&P 500 rose 25 points, or 0.9%, to 2,933.
The NASDAQ added 105 points, or 1.3%, to 8,120. The Dow Jones industrial average rose 145 points, or 0.5%, to 26,656.
The S&P 500 index was on track for an all-time high Tuesday as big U.S. companies began turning in solid results for the first quarter, despite predictions for the worst quarter of earnings growth in years.
The most recent record for the benchmark index was set last September, shortly before the market took a nosedive in the fourth quarter. It's since recovered all of that ground since reaching a low on Christmas Eve.
Big names including Hasbro, Lockheed Martin and Twitter all surprised Wall Street with strong profit and revenue. Analysts are watching corporate reports closely this week as they gauge whether first quarter earnings for U.S. companies will be as bad as predicted. Wall Street has been forecasting a contraction during the quarter.
The stock market has rebounded sharply this year after a steep sell-off in December that pulled the S&P 500 just 0.2% from entering a bear market, or decline of 20% from its peak.
The recovery has been fueled by investor confidence in the prospects for steady growth and an increasingly hands-off Federal Reserve, which has signaled this year that it may not raise interest rates at all in 2019 after seven increases the prior two years.
Traders have also been encouraged by improving economic data around the world. In China, economic growth held steady at 6.4% in the first quarter of the year as increased government efforts to stem a slowdown gained traction. In the U.S., job growth rebounded in March following a surprisingly weak February.
And the uncertainty over the costly trade dispute between the U.S. and China has eased in recent weeks amid signs that both sides are making progress toward reaching a resolution.
All told, the S&P 500 is up about 24.8% since it hit a bottom on Christmas Eve. Technology and industrial stocks are leading the way this year, with gains of 27.2% and 22.3%, respectively.
Stocks are under a little less pressure following the latest round of earnings results. That's not only because the earnings have been mostly solid, but also because companies have been issuing optimistic forecasts.
"We're getting a nice forward-looking picture from those companies," said J.J. Kinahan, chief market strategist for TD Ameritrade.
Twitter's solid report is a good sign for social media companies that have been struggling, Kinahan said. Lockheed Martin's results and forecast also bode well for other industrial companies.
Despite the strong start, there are still many big companies yet to report earnings and it's far too early to conclude that the results will beat Wall Street's modest expectations. Reports from Caterpillar, Boeing and Microsoft are all going to be closely watched Wednesday.
Broader economic issues are still hanging over U.S. companies, including the ongoing trade war between the U.S. and China and whether higher oil and gas prices raise prices for companies and consumers.