The Dow Jones Industrial Average jumped 1.1% in its best weekly performance since June 25. The S&P 500 climbed 0.75% to notch its best week in 2-1/2 months, and the Nasdaq Composite added 0.5%.
The pan-European STOXX 600 index rose 0.74% and MSCI's gauge of stocks across the globe gained 0.86%, the biggest daily rise since May 14.
"We are clearly off to a good start of the third-quarter earnings season, but have miles to go before we sleep," said Arthur Hogan, chief market strategist at National Securities Corp. Hogan noted that only 35 of the S&P 500 companies have reported their earnings.
Unperturbed by news of a fatal stabbing of a British lawmaker on Friday, Britain's FTSE 100 climbed 0.37% to hit a near 20-month high. The UK blue-chip index has now recovered all ground lost since the coronavirus pandemic began in March last year.
Concerns that soaring oil prices could drag on businesses and the economy also took a backseat for now.
Forecasts of an oil supply deficit over the next few months as demand rises on the back of relaxed travel restrictions drove oil prices to a three-year high of above $85 a barrel.
U.S. crude recently jumped 1.13% to $82.23 per barrel and Brent added 0.83% to $84.70, after hitting a high of $85.10.
Bets that rising prices are likely to prompt central banks to raise interest rates sooner than expected lifted government bond yields, though gains were more pronounced in the United States than in Europe.
The yield on two-year U.S. Treasuries, which reflect short-term rate expectations, zoomed up to a near 19-month-high 0.3949%, from Thursday's 0.354%. Benchmark 10-year Treasury yield also rose to 1.5738%, from Thursday's 1.519%.
In Europe, 10-year Bund yields slipped after registering seven straight weeks of gains on signs of rising inflationary pressure and robust economic growth.
The dollar, bolstered by bets that quickening inflation could prompt the Federal Reserve to raise interest rates sooner than expected, touched a three-year high against the yen, which is usually sensitive to rate differentials. One dollar bought as much as 114.46 yen, the most since October 2018.
The dollar index, which measures the greenback against a basket of other currencies, was lower on the day, however, slipping 0.104%, and set for its first weekly decline versus major peers since the start of last month, having lost a little ground to sterling and the euro.
Gold prices took a breather on Friday after having their best day in seven months the previous day. Spot gold dropped 1.6% to $1,766.82 an ounce, and U.S. gold futures fell 1.67% to $1,766.70 an ounce.
The return of optimism will be tested by next week's anticipated weaker growth data from China, and the impact of strengthening oil prices on consumers going into the winter months, said Mike Hewson, chief markets analyst at CMC Markets.
Indeed, China's energy crisis deepened on Friday with coal prices hitting a record high.
European car registrations slumped by more than a quarter in September, and Toyota Motor Corp said it would cut global output in November as chip shortages and supply chain problems continued to dog the sector.
MSCI's broadest index of Asia-Pacific shares outside Japan gained 1.35%, rising 2.1% for the week in its best weekly performance since late June, while Japan's Nikkei surged 1.81%, led by tech stocks.
Analysts largely attributed the gains in Asia to the U.S. rally.
Chinese shares rose more cautiously than elsewhere with blue chips up 0.38% ahead of next week's growth figures.
A Chinese central bank official said on Friday that the spillover effect of China Evergrande Group's debt problems on the banking system is controllable, in rare official remarks on the liquidity crisis at China's No. 2 developer that has roiled markets.
Bitcoin hit a six-month high of $61,895.05 on Friday, approaching the record hit in April, as traders became increasingly confident U.S. regulators would approve the launch of an exchange-traded fund based on its futures contracts.
(Reporting by Huw Jones, additional reporting by Alun John; Editing by Kirsten Donovan, Will Dunham, Steve Orlofsky and Susan Fenton) ((firstname.lastname@example.org;))
((To read Reuters Markets and Finance news, click on https://www.reuters.com/finance/markets For the state of play of Asian stock markets please click on: 0#.INDEXA ))