Nick Oxford | Reuters
A worker walks through an oil production facility owned by Parsley Energy in the Permian Basin near Midland, Texas, August 23, 2018.
Brent crude oil futures were up 51 cents at $70.39 per barrel around 2:30 p.m. ET (1830 GMT). U.S. West Texas Intermediate crude futures settled 72 cents higher at $62.12 per barrel, posting a 1.2% gain.
U.S. crude inventories fell by 4 million barrels in the week to May 3, the Energy Information Administration said. Analysts had expected an increase of 1.2 million barrels.
Gasoline stocks fell by 596,000 barrels, while distillate inventories fell by 159,000 barrels, the data showed.
Prices have gained more than 30% so far this year as the global supply outlook has tightened due to U.S. sanctions on crude exporters Iran and Venezuela, as well as supply cuts by OPEC, Russia and their allies.
Still, prices were pressured by the trade war between the world's two largest economies.
The United States will raise tariffs to 25% from 10% on $200 billion worth of Chinese imports effective Friday, according to a notice posted to the Federal Register. President Donald Trump had threatened the duties after China backtracked on a trade deal.
Chinese Vice Premier Liu He will travel to Washington for two days of trade talks this week, China said on Tuesday.
"The market is fearful that the other shoe is going to drop on the global economy if we get into a trade war; it will hurt oil demand," said Phil Flynn, an analyst at Price Futures Group in Chicago. "So people have been bearish because of that."
With U.S. sanctions on Iran and Venezuela in place, analysts said global oil markets remained tight. Both sets of sanctions come amid already tight supply as OPEC has been withholding output this year to prop up prices.
Saudi Arabia is expected to keep its crude exports below 7 million barrels per day in June, while output would stay under its production quota under a global deal to cut supply, a Gulf source familiar with Saudi oil plans said.
Azerbaijan's oil minister said it had received assurances from Saudi Arabia, de facto leader of OPEC, that Riyadh would not take any unilateral decisions on the global oil deal until OPEC's June meeting.