Oil jumped more than 2 percent to its second highest settlement on record on Friday as supply concerns and signs of U.S. economic growth helped counter worries about falling stock markets.
U.S. light sweet crude settled (delayed) up $2.07 at $77.02 a barrel, one cent shy of the record settlement struck on July 14, 2006 when it hit an all-time intraday high of $78.40. London Brent crude (delayed) settled up $1.08 to $76.26 a barrel.
U.S. gross domestic product rose at a 3.4 percent annual rate -- the fastest since 4.8 percent in the first quarter of 2006 -- after growing at a downwardly revised 0.6 percent pace in the first quarter, the Commerce Department said on Friday.
"This morning's GDP figure seems to have instilled renewed confidence in the market that was somewhat shaken yesterday," said Mike Fitzpatrick, vice president at MF Global.
Crude fell on Thursday as more signs of deterioration in the U.S. housing market and problems in financing corporate takeovers sent stock markets lower, stirring concerns about energy demand growth.
U.S. stocks slid again on Friday, sending the Dow Jones industrial average down 89.25 points, or 0.66 percent, while the Standard & Poor's 500 Index was down 9.39 points, or 0.63 percent, in afternoon activity.
Oil has surged over the past month to near record highs over $78 as supply concerns helped draw investor interest.
Government inventory data on Wednesday showed a third straight decline in U.S. crude stocks, and analysts said output curbs by the Organization of Petroleum Exporting Countries would ensure a continuing decline through the third quarter.
Meanwhile, analysts cut their non-OPEC oil supply growth estimates for this year by more than half due to faster-than-expected declines from producers such as Norway and Mexico, a Reuters poll showed on Friday.
Institutional investors have piled into oil markets as prices rallied, reaching record net longs on the New York Mercantile Exchange this month. Some analysts said the increased investor money was supporting prices.
"I think you have to look at record open interest and length to see that the current prices are being driven by speculation rather than physical issues," said IAF Advisors' Kyle Cooper.
Traders, meanwhile, continued to monitor the closure of most of ExxonMobil's 326,000 barrel-per-day Fawley refinery, which accounts for almost a fifth of Britain's refining capacity. Exxon said on Thursday it planned to restart operations over the next several days.