Oil prices jumped more than 3% on Tuesday, bouncing back from multi-month lows on expectations that OPEC will agree later this month to cut production to reduce a supply glut.
North Sea Brent crude oil was up $1.30 a barrel at $45.73 by 1350 GMT after hitting a three-month low of $43.57 on Monday. U.S. light crude was also up $1.30, at $44.62. It reached a three-month low of $42.20 on Monday.
Oil producers in the Organization of the Petroleum Exporting Countries are due to meet later this month to agree to limit output. An outline deal was reached in September but negotiations on the detail are proving difficult, officials say.
OPEC is a diverse grouping, politically and economically, and several members wish to increase production.
Saudi Arabia's energy minister has said it is imperative OPEC reach a consensus on a deal to curb production, Algeria's state news agency APS said on Sunday.
"Reports of a diplomatic push by OPEC to strike a deal are supporting the markets," said Tamas Varga, oil analyst at London brokerage PVM Oil Associates. "The rally could last a little while but the underlying fundamental picture is still bearish."
IG Group market strategist Jingyi Pan said market sentiment has been buoyed by reports that key producers including Iran and Iraq were thinking about restraining production.
News of an attack on a major oil pipeline in Nigeria, the Nembe Creek Trunk Line in the southern Niger Delta, gave an additional push to prices.
Technical analysts said oil markets were due an upward correction after a month of falls.
Philips Futures investment analyst Jonathan Chan in Singapore said crude prices were supported by short-covering.
"The current active contract (for U.S. crude) is expiring. The last trading day is next Monday, so some oil traders are already starting to close out their positions to roll over," Chan said.
But rising Libyan oil production could cap gains.
A tanker carrying the first freshly produced cargo of Libyan crude to be exported since the Ras Lanuf terminal reopened in September left the port on Monday.
Libya's oil production has almost doubled to around 600,000 barrels per day in recent weeks.