But on Monday prices retreated ahead of the start of earnings season and the release of a slew of economic reports. However, prices spiked again on Tuesday and Wednesday, pushing them to two-week highs.
"We had a big move on Tuesday thanks to genuine improvement in confidence in the prospect for a sustainable economic recovery," said Chris Lafakis, associated economist at Moody's Economy.com.
Much of the gain Wednesday was attributed to strong Energy Information Administration's supply data.
Crude oil stocks declined by 5.1 million barrels, while analysts expected them to drop by 2.6 million barrels, according to a consensus estimate collected by energy information provider Platts.
But supplies increased more than expected in two other categories. Gasoline inventories jumped by 1.6 million barrels, above analysts' expectations of a 950,000 barrel rise, and distillates, used to make heating oil and diesel, rose by 2.9 million barrels.
Analysts expected inventories to climb by a modest 800,000 barrels, but economists shrugged of the weakness, saying it was likely due to the post-holiday decline in traveling.
Lafakis said what while the inventory report presents varying data, it is mostly supportive of higher prices thanks to strong demand from refineries and a weak pace in crude imports.
He expects crude prices to average $80 a barrel in the second half of 2010, and gradually scale up to $89 a barrel by the end of 2011.
Layoffs are slowing but jobs growth still weakNo pain at the pump this Memorial Day