Gasoline stockpiles fell by 2.6 million barrels as less of the motor fuel was turned out last week. Refinery utilization in the U.S. Midwest fell to the lowest on record since 2010, EIA data showed.
"The rebound in gasoline demand is the bright spot in this report," said Matt Smith, director of commodity research for Clipper Data, an energy database and consultancy.
Still, prices of U.S. crude and global oil benchmark Brent were down about 7 percent or more on the week, after losses since Monday on worries about record OPEC production.
Read MoreUS bonds rise on soft Chinese data, oil fears
U.S. crude's front-month contract, November, closed down 0.6 percent, at $46.38 a barrel, logging its fourth session loss in a row.
Brent's November contract, which expires at Thursday's settlement to be replaced as front-month by the December contract, fell by 39 cents to $48.76.
Relentless OPEC supply has weighed on crude prices. Still, some analysts said lagging U.S. shale output may boost prices in the near-to-medium term.
"We believe the downside potential for oil prices is limited and expect to see moderately rising prices in the coming weeks and months," said Carsten Fritsch at Commerzbank.
Read More Repsol to sell $7B of assets and slash spending
"After all, there are increasing signs that non-OPEC supply is already decreasing noticeably as a consequence of the low prices."
John Kilduff, a partner at New York energy hedge fund Again Capital, disagreed.
"The low refinery runs will continue to allow crude oil inventories to rise significantly over the next several weeks, resulting in further downward price pressure," Kilduff added.
Saudi Oil Minister Ali al-Naimi said on Thursday he saw signs of global oil demand improving despite the economic slowdown in China and that the market's supply/demand balance would move more into line in the short term.