Oil prices rose and were on track for monthly gains, benefiting from news that U.S. oil output cuts in May were the largest on record.
Brent crude settled up 37 cents, or 0.9%, at $43.31 a barrel.
U.S. crude was up 35 cents, or 0.9%, at $40.27 after dropping 3.3% in the previous session, also off lows not seen since July 10.
Brent crude posted a fourth month of gains and U.S. crude posted a third as both rise from depths hit in April, when much of the world was in lockdown due to the coronavirus pandemic.
U.S. crude oil production plummeted in May, falling a record 2 million barrels per day to 10 million bpd, the U.S. Energy Information Administration said in a monthly report on Friday.
The dollar extended its dramatic fall on Friday and was on course for its biggest monthly drop in a decade after news on Thursday that U.S. gross domestic product collapsed at a 32.9% annualized rate - the steepest decline in output since records began in 1947.
Investors typically use dollar-denominated commodities as safe havens when the currency weakens.
Globally, the economic outlook has dimmed again, with increasing coronavirus infections raising the risk of renewed lockdowns and threatening any rebound, according to Reuters polls of more than 500 economists.
Weaker refining margins around the world, lower Chinese oil demand and high crude inventories are putting further pressure on oil prices, Lohiya said.
Bjornar Tonhaugen, head of oil markets at Oslo-based Rystad Energy, said traders will next week closely monitor oil output increases by the Organization of the Petroleum Exporting Countries (OPEC) and its allies.
The group, known as OPEC+, collectively plans to increase production from Saturday, adding about 1.5 million barrels per day to global supply, after slashing output in the wake of the pandemic.
Oil on track for monthly gain as dollar weakness supports.