On the New York Mercantile Exchange, West Texas Intermediate crude oil for February delivery added $1.03 to $95.15 per barrel.
On Wednesday, the Energy Information Administration said crude oil stockpiles had dropped by 1 million barrels to 360.3 million.
Gasoline added 4.65 cents to $2.7725 a gallon. Home heating oil lost added 0.1 cents to $3.01 a gallon.
The price of natural gas added 3.8 cents to $3.477 per million British thermal units.
At the pump, AAA reported the national average price for regular unleaded gasoline dropped to $3.292 per gallon from Wednesday's $3.294.