Oil prices gained Wednesday to their highest levels since March after the US Energy Information Administration reported that crude inventory fell last week.

US commercial crude oil inventories decreased by 7.4 million barrels in the week ending July 31, the EIA said Wednesday. Analysts had expected a much smaller draw of 2.3 million barrels.

West Texas Intermediate crude gained 4.4% to $43.52 per barrel, while international benchmark Brent crude rose 4.1% to $46.23 per barrel at intraday highs.

Oil prices have struggled to gain this year amid the coronavirus pandemic, which severely hit demand for the commodity at the same time that a price war between OPEC and its allies threatened to boost output, lowering prices.

As economies around the world reopen following coronavirus lockdowns, demand for oil and prices have recovered some of the lost ground.

Still, the recent momentum may not continue, especially as economic conditions in the US look less certain.

"WTI crude is starting to break away from its tight trading range, but that will not continue if the US economic recovery falters and the job creation flatlines," said Edward Moya, senior market analyst at OANDA, in a Wednesday note. "WTI crude's bullish momentum should fizzle ahead of the $45 level and until after Friday's non-farm payroll report."

Oil is down more than 25% year-to-date.

Receive a daily update on your cellphone with all our latest news: click here.

Get the best of our site emailed to you daily: click here.

Also from Business Insider South Africa:

  • All electric plug adapters must now come with a new symbol – what you need to know
  • A factory behind the famous Madiba shirt now makes 2.5 million masks per month instead
  • SA's national parks open for stayovers from next week
  • A massive explosion just devastated Beirut. Here's what it looks like on the ground.
  • Some WhatsApp messages may now contain a magnifying glass icon - here's what that means