Oil prices rose on Friday and were poised for a third week of gains as market sentiment turned more upbeat amid signs a persisting global supply glut may be easing.
Strong gasoline consumption in the United States, increasing signs of declining production around the world and oilfield outages have underpinned a return to investment in the sector, traders said.
"The current rally is driven by a market sentiment that is becoming more and more convinced that the worst is over and the global oil market rebalancing process is already in play," said Dominick Chirichella, senior partner at the Energy Management Institute in New York.
Brent futures were up 1.6 percent to $45.26 per barrel by 12:17 p.m. ET (1617 GMT). U.S. West Texas Intermediate crude was also up 1.6 percent at $43.88 a barrel. Both contracts jumped as much as 3 percent earlier in the session.
The rally was somewhat limited by profit taking ahead of the weekend, brokers said.
Brent has surged 5 percent so far this week and WTI 8.7 percent as both benchmarks headed for a third week of gains. Crude is up more than two-thirds since its 2016 lows between January and February.
Traders also pointed to strong crude imports to China in March as providing support to prices.
Still, some analysts warned that the oil market was still far from balancing supply and demand.
"While this recent rally has the potential to run further to the upside ... we believe that it is not yet driven by a sustainable shift in fundamentals," Goldman Sachs said in a note to clients.
The Wall Street bank maintained its view that a sustainable balancing of the market, driven by declines in U.S. shale oil production, would take place in the third quarter of 2016.
Another supportive factor has been producers taking advantage of higher prices by locking in output.
French investment bank Natixis (KN.PA) said they expect producers in the U.S. to take every opportunity to aggressively hedge as soon as oil prices recover for short periods of time.
Falling output, especially in the United States, where many producers have reeled from an up to 70 percent oil price rout since mid-2014, has also helped to lift the market.
Natixis said it expected U.S. oil production to drop by at least 500,000 to 600,000 barrels per day (bpd) this year, compared with 2015, and by another 500,000 bpd in 2017.
Despite the recent rally, oil markets remain oversupplied as between 1 and 2 million barrels of crude are being pumped out of the ground every day in excess of demand, leaving storage tanks around the world filled to the brim with unsold fuel.
(By Devika Krishna Kumar, Additional reporting by Ron Bousso in London and Henning Gloystein in Singapore)