The EIA, in a weekly report delayed a day due to the Dr. Martin Luther King Jr. holiday, said inventories rose by 1 million barrels to 351.2 million, remaining in the upper half of the average range for this time of year.
Light, sweet West Texas Intermediate crude on the New York Mercantile Exchange gained 66 cents Thursday to hit $97.39 per barrel.
Gasoline shed 1.41 cents to reach $2.663 a gallon.
Home heating oil gained 4.01 cents to settle at $3.078 a gallon.
Natural gas gained 14 cents to hit $4.83 per million British thermal units.
The national average price of unleaded regular gasoline rose to $3.287 per gallon from Wednesday's $3.283, the AAA Daily Fuel Gauge Report said.