Investors brushed off early jitters about a potential slowdown in China and pushed the Dow to its highest close of the year.
The Dow Jones industrial average rose 38.16 points, or 0.3 percent, to 14,127.82. The index is a fraction of a percentage point away from its record close of 14,164, reached on Oct. 9, 2007.
Stocks dropped at the opening bell and stayed lower most of the morning amid concern that new steps introduced by the Chinese government to cool the booming housing market in the world's second-largest economy.
Chinese markets were dragged down by housing stocks, which fell sharply after the country's cabinet ordered new measures to rein in home prices. China will raise minimum down payments in areas where prices are deemed to be rising too fast and crack down on efforts to evade limits on how many properties each buyer can acquire.
"The U.S. market continues to digest the negative news and hang tough," said Ryan Detrick, a senior strategist at Schaeffer's Investment Research.
The stock market has rallied this year on optimism that the U.S. housing market is recovering and signs that companies are hiring more. Strong corporate earnings and continuing economic stimulus from the Federal Reserve have also boosted stock prices.
Despite having already logged strong gains this year, stocks may still be able to maintain their momentum as investors move money out of bonds, Rob Lutts, chief investment officer at Cabot Money Management, said.
"It's all about where the money is going," Lutts said. "If the money that is sitting on the sideline, or in bonds, is moving into equities that alone is enough to create that shift."
Investors put $2.8 billion into U.S. stock mutual funds in the week ending Feb. 27, according to Lipper. That's the eighth straight week investors have put more money into stocks, the longest streak of inflows in almost two years.
The Dow has risen 7.8 percent so far this year and the S&P 500 index is 6.9 percent higher, while the yield on the 10-year Treasury note remains below 2 percent. The yield, which moves inversely to its price, rose 3 basis points to 1.87 percent Monday.
For now, stocks are likely to grind higher as investors who missed the rally at the start of the year buy stocks on any drops in the market, Scott Wren, a senior equity strategist at Wells Fargo Advisors, said.
"I'd love to see a pullback, because pullbacks are opportunities," Wren said.
Janet Yellen, vice chair of the Federal Reserve, said Monday she does not see risks at the moment from the U.S. central bank's low-interest rate policies. The Fed is buying $85 billion each month in Treasury and mortgage-backed securities to keep long-term interest rates very low.
Investors' enthusiasm is being held in check by the automatic government budget cuts that took effect Friday after President Barack Obama and Congress failed to reach a budget deal. Economists expect the cuts to hurt U.S. economic growth. Both Republicans and Democrats pledged to retroactively undo the cuts, but they have given no indication of how that process would take shape.
In other trading, the Standard & Poor's 500 rose 7 points, or 0.5 percent, to 1,525.20. The Nasdaq composite gained 12.29 points, or 0.4 percent, to 3,182.03.
European markets were mixed. The dollar was little changed against the euro.
Gold, silver and copper were virtually flat. Gold for April delivery rose 10 cents to $1,572.40 per ounce. May silver edged up less than 1 cent to $28.496 per ounce
Among other stocks making big moves:
— Select Comfort, a manufacturer of specialty mattresses, fell $3.23, or 15.7 percent, to $17.28 after the company warned that it will likely fall short of its first-quarter goals as a result of lower-than-expected sales.
— Hess gained $2.30, or 3.5 percent, to $68.84 after the company said it would get out of the retail business as well as energy trading and marketing to focus on exploration and production.
— Yahoo! rose 76 cents, or 3.5 percent, to $22.70 after Barclays analysts raised their rating on the stock to "overweight" and increased their price target to $26. The bank says the value of the company's minority stakes in Alibaba Group and Yahoo! Japan are not fully reflected in the current stock price.
— Apple fell $10.40, or 2.4 percent, to $420. The stock has now fallen 12 out the last 14 trading days and is trading at its lowest in a year.
— Stratasys Ltd., a maker of three-dimensional "printers," gained $4.56, or 7.1 percent, to $68.82 after its latest results beat analysts' expectations for the quarter. The company issued a full-year sales forecast that was higher than analysts were expecting.