Crude prices erased early losses to rise nearly 2 percent on Friday after a report showing the fifth weekly decline in the U.S. oil rig count renewed the debate over falling production in the world's top oil consumer.
Softer-than-expected U.S. jobs data and other economic statistics had weighed on oil earlier, along with reduced threats to oil installations in the U.S. East Coast from Hurricane Joaquin.
U.S. energy companies this week cut the number of rigs drilling for oil by 26, a weekly survey by oil services company Baker Hughes showed. It was the largest number of rigs idled in a week since April.
The data turned around oil prices that had been down about 1 percent earlier.
U.S. crude closed up up 1.8 percent, at $45.54 a barrel. It had slid 77 cents at the session low. Global benchmark Brent was up 50 cents, or 1 percent, at $48.90 a barrel, after falling as much as 76 cents earlier.