The S&P and the Nasdaq inched towards a record on the back of high-flying technology trio of Apple, Amazon and Microsoft.
The technology sector has been at the center of a sharp recovery in U.S. stocks since a market rout in February. The S&P is also less than half a percent shy of the record it hit in late January.
The tech-heavy index was up 0.33 percent at 7,914.22, a quarter of a percent away from hitting an all-time high.
The Dow Jones Industrial Average .DJI was the only laggard among the three major indexes. It was down 29.07 points, or 0.11 percent, at 25,554.68.
The S&P 500 was up 0.59 points, or 0.02 percent, at 2,858.29.
Seven of the 11 major S&P sectors were higher, with the materials sector leading the gains as aluminum prices rose.