"Below it all is just an ongoing trend of better economic reports," said Jim Paulsen, chief investment strategist at Wells Capital Management in Minneapolis.
"Some of those are earnings reports, but they all line up to the same thing: It looks like growth is quickening."
The Dow Jones industrial average rose 53.62 points, or 0.29 per cent, to 18,570.85, the S&P 500 gained 9.86 points, or 0.46 per cent, to 2,175.03 and the Nasdaq Composite added 26.26 points, or 0.52 per cent, to 5,100.16.
The S&P 500 is up more than six per cent in 2016, shaking off a rough start to the year and global instability, including Britain's recent vote to leave the European Union.
"We're well past the Brexit fallen and the subsequent rebound," said Peter Kenny, senior market strategist at Global Markets Advisory Group in Berkeley Heights, New Jersey.
"We're seeing oil is fairly well-contained and range-bound. So those two variables are off the table, and they have played a big part in triggering volatility."
All 10 sectors ended higher on Friday, led by utilities and telecoms - defensive, high-dividend-paying groups that have lifted the market this year.
AT&T climbed 1.4 per cent after its results.
Verizon rose 1.3 per cent. The company is the front-runner for Yahoo's core business, Reuters reported. Yahoo closed up 1.4 per cent.
GE shares slid 1.6 per cent. The US industrial conglomerate reported weak demand for new oil, gas and transportation equipment.
Rival Honeywell fell 2.6 per cent after the diversified manufacturer lowered its full-year sales forecast.
We're well past the Brexit fallen and the subsequent rebound.
Still, second-quarter earnings for S&P 500 companies, which started reporting in earnest this week, are now expected to decline by only 3 per cent, less severe than the 4.5 per cent drop estimated at the start of the month, according to Thomson Reuters I/B/E/S.
Results from about 40 per cent of the S&P 500 are due next week, including reports from tech heavyweights.
Investors will also be watching the Federal Reserve's meeting next week for clues about when the US central bank might next seek to raise interest rates.
About 5.6 billion shares changed hands in US exchanges, below the nearly 7.5 billion daily average over the past 20 sessions.
Advancing issues outnumbered declining ones on the NYSE by a 2.01-to-1 ratio; on Nasdaq, a 1.88-to-1 ratio favoured advancers.
The S&P 500 posted 34 new 52-week highs and no new lows; the Nasdaq Composite recorded 98 new highs and 20 new lows.