The U.S. Energy Information Administration (EIA) released its crude oil inventories data on Wednesday. U.S. crude inventories declined by 4.9 million barrels to 463 million in the week to June 19. It was the eight consecutive weekly decline.
Analysts had expected a decline of 1.8 million barrels.
Gasoline inventories were up by 680,000 barrels to 218.5 million barrels last week, according to the EIA.
U.S. oil production increased to 9.6 million barrels a day from 9.59 million barrels a day.
Crude stocks at the Cushing, Oklahoma, decreased by 1.87 million barrels to 56.2 million barrels.
U.S. crude oil imports declined by 432,000 barrels per day.
Refineries in the U.S. were running at 94.0% of capacity, down from 93.1% the previous week.