The Dow Jones Industrial Average rose 94.3 points, or 0.44 percent, to end at 21,414.34, the S&P 500 gained 15.43 points, or 0.64 percent, to 2,425.18 and the Nasdaq Composite added 63.62 points, or 1.04 percent, to 6,153.08.
The technology sector, up 1.25 percent, led the charge higher, buoyed by gains of more than 1 percent in market-cap heavyweights Apple, Microsoft and Facebook.
Despite slumping nearly 3 percent last week, the tech sector is up more than 17 percent on the year, tops among the 11 major S&P groups.
With the Fed now expected to remain on track for a rate hike later this year financials, up 0.56 percent, also advanced as they benefit from a steepening of the yield curve.
Tesla rose 1.42 percent after the luxury electric carmaker said about 3,500 vehicles were in transit to customers at the end of the second quarter and they would be counted as deliveries in the third quarter.
Advancing issues outnumbered declining ones on the NYSE by a 2.19-to-1 ratio; on Nasdaq, a 2.59-to-1 ratio favored advancers.
About 5.74 billion shares changed hands in U.S. exchanges, well below the 7.13 billion daily average over the last 20 sessions.
(Additional reporting by Sinead Carew; Editing by James Dalgleish)