In late London trade Brent North Sea crude for January delivery was up usd 3.71 at USD 50.09, the first time it has risen above USD 50 in a month. West Texas Intermediate was up USD 3.85 at USD 49.08.
The accord announced by the Organization of the Petroleum Exporting Countries is aimed at reducing a global supply glut that has kept prices painfully low.
It represents a dramatic reversal from OPEC's Saudi-led strategy, introduced in 2014, of flooding the market to pressure rivals, in particular US shale oil producers.
"This is a major step forward and we think this is a historic agreement, which will definitely help rebalance the market and reduce the stock overhang," Mohammed Bin Saleh Al-Sada told a news conference.
More From This Section
He also said that the deal will help global inflation accelerate to a "more healthy rate", including in the United States.
According to an OPEC statement, Saudi Arabia will reduce output by 486,000 bpd from October levels to 10.1 million bpd. Iraq will cut by 210,000 bpd to 4.4 million bpd and UAE 139,000 to 2.9 million bpd.
Negotiations got bogged down in a game of poker between OPEC's three biggest producers, Saudi Arabia, Iraq and Iran, on who would do the heavy lifting.
Iraq had said it was short of money to fight Islamic State group extremists, while Iran wants to hike output to levels before it was hit by Western sanctions over its now-reduced nuclear programme.
The dispute was complicated by the fierce rivalry between Shiite Iran and Sunni Saudi Arabia, backing different sides in the wars in Yemen and Syria.
Libya and Nigeria are exempted, while Indonesia has suspended its membership.