The Dow, S&P 500 and the Nasdaq hit record intraday highs on Monday as Apple and Facebook propelled technology shares and oil prices boosted energy stocks.
While all the three major indexes have rallied since the U.S. election, technology stocks had held back the S&P and Nasdaq as investors poured money into sectors such as financials, industrials and energy, which are seen benefiting from President-elect Donald Trump's policies.
Oil prices jumped 4.2 percent to a near three-week high on hopes that the OPEC would agree to an output cut next week and the dollar index's first drop in 11 days.
The energy sector surged 1.8 percent to a 16-month high, dominating the gainers among the 11 major S&P sectors. Chevron and Exxon rose 1 percent each and were the top influences.
The technology index, which had dropped 0.4 percent since the election, was up 0.44 percent, boosted by Apple's 1.6 percent gain.
Facebook rose 3.3 percent after the company announced a $6 billion share buyback program.
A spate of tech deals also boosted sentiment in the sector and the broader market.
"I think the (post-election rally) is continuing today but the volumes are very low. This is holiday trading and there is no conviction in the move and it's already fading," said Phil Davis, chief executive of PSW Investments.
The Dow Jones Industrial Average hit an intraday high of 18,947.44. The S&P 500 touched a high of 2,196.98; and the Nasdaq Composite eased back after a record 5,363.82.
Among other tech gainers was LifeLock, which surged 15.2 percent after Symantec said it would buy the identity theft protection company for $2.3 billion. Symantec rose 4.7 percent.
Tyson Foods' 14.7 percent slump led the losers on the S&P after the meat processor reported a lower-than-expected profit and said its CEO would step down.