Brent crude settled at $42.22 a barrel, up $1.69, or 4.2%. U.S. crude finished $1.88, or 4.9%.at $40.16 a barrel.

U.S. crude stocks fell 4.4 million barrels last week to 496 million barrels, their lowest since April, the U.S. Energy Information Administration said, compared with analysts' expectations in a Reuters poll for a 1.3 million-barrel rise, [EIA/S]

U.S. gasoline stocks fell 400,000 barrels, the EIA said, more than double the draw forecast, while refining utilization rates ticked up 4 percentage points.

"Today's strong gains were largely attributable to bullish crude guidance out of the EIA release," said Jim Ritterbusch of Ritterbusch and Associates.

"The bulk of the (crude) stock decline was driven by an unexpectedly large upswing in U.S. refinery activity led by the Gulf Coast," he said.

Sally, which made landfall on the U.S. Gulf Coast as a Category 2 hurricane, also boosted oil prices as more than a quarter of offshore output shut due to the storm.

Roughly 500,000 barrels per day (bpd) of offshore crude oil production was taken offline in the U.S. Gulf of Mexico, according to the U.S. Interior Department, roughly a third of the shut-ins caused by Hurricane Laura, which landed farther west in August.

Oil collapsed to historic lows as the coronavirus crisis hit demand. A record supply cut by OPEC and its allies, a grouping known as OPEC+, and an easing of lockdowns have helped Brent recover from a 21-year low below $16 in April.

Prices have sunk in September, pressured by rising coronavirus cases and concerns about demand.

The Organization of the Petroleum Exporting Countries and International Energy Agency both cut their demand outlooks this week. [IEA/M][OPEC/M]

A panel of OPEC+ oil ministers meets to review the supply pact on Thursday and is unlikely to recommend further output curbs despite the price drop, sources told Reuters.

(Reporting by Laila Kearney in New York; Additional reporting by Alex Lawler, Aaron Sheldrick and Jessica Resnick-Ault; Editing by Marguerita Choy and Matthew Lewis)

By Laila Kearney