Oil rose near an all-time high on Thursday as OPEC officials said the producer group would not hike output despite concerns of a supply shortfall.

U.S. oil settled up 33 cents at $76.86 a barrel after briefly hitting a record high of $78.77 on Wednesday. London Brent rose 41 cents to $75.76 a barrel.

OPEC comments early today signal they don't want to pump more oil and that is the main reason crude prices are rising again, said Phil Flynn, analyst at Alaron Trading in Chicago.

Qatar's oil minister, Abdullah al-Attiyah, said Thursday OPEC can do nothing about the high price of oil and said there is no shortage of crude in the market.

Earlier, an OPEC delegate said energy markets were adequately supplied and that additional oil would not be needed in the fourth quarter.

OPEC's assessment comes in stark contrast to the views of some energy analysts that prices could hit $95 this year if the cartel does not raise output because demand is rising faster than production levels.

Energy Secretary Sam Bodman, who has called on OPEC to raise output at its next meeting in September, said on Thursday $80 a barrel oil could affect the U.S. economy.

Crude surged early Wednesday to its record peak after weekly U.S. inventory data showed an unexpectedly large draw in crude stockpiles as refineries raised throughputs.

But later Wednesday, markets shifted focus to a build in U.S. gasoline stocks, putting the market into negative territory.

The U.S. oil market has finally turned a seasonal corner, said Antoine Halff of Fimat energy.

The data's twin takeaway is clear: tightness in global crude stocks is quickly spreading to the United States ... At the same time, recovering throughputs are causing U.S. crude and product stocks to rebalance.

(Additional reporting by Peg Mackey in London, and Jonathan Leff in Singapore)