They have approved a framework for setting national pledges to be submitted to a summit next year.
Differences over the draft text caused the talks in Lima to overrun by two days.
Environmental groups have criticized the deal as a weak and ineffectual compromise, saying it weakens international climate rules.
The talks proved difficult because of divisions between rich and poor countries over the scale and scope of plans to tackle global warming.
None of the 194 countries attending the talks walked away with everything they wanted, but everybody got something.
Peru’s environment minister, Manuel Pulgar-Vidal, who chaired the summit, told reporters: “As a text it’s not perfect, but it includes the positions of the parties.”
The agreement was adopted hours after a previous draft was rejected by developing countries, who accused rich nations of shirking their responsibilities to fight global warming and pay for its impacts.
The final draft is said to have alleviated those concerns with by saying countries have “common but differentiated responsibilities”.
“We’ve got what we wanted,” Indian environment minister Prakash Javedekar told reporters, saying the document preserved the notion that richer nations had to lead the way in making cuts in emissions.
It also restored a promise to poorer countries that a “loss and damage” scheme would be established to help them cope with the financial implications of rising temperatures.
However, it weakened language on national pledges, saying countries “may” instead of “shall” include quantifiable information showing how they intend to meet their emissions targets.
Sam Smith, chief of climate policy for the environmental group WWF, said: “The text went from weak to weaker to weakest and it’s very weak indeed.”
The talks followed last month’s agreement on emissions targets between the US and China, but hopes soon faded after delegates began the talks in Lima on December 1 that it would encourage wider global agreement.
On December 14, US climate envoy Todd Stern had warned that the deadlock in the negotiations threatened the chances of a new global deal in 2015.
“Failing to produce the decision before us will be seen as a major breakdown, and will deal a serious blow to the confidence of the parties and others as we approach Paris. And indeed to the hope of a Paris agreement,” Todd Stern said.
WuxL3YYob3YThe US House Ethics Committee has voted to release its report on former Republican Representative…
ABC News has agreed to pay $15 million to President-elect Donald Trump to settle a…
South Korea’s parliament has voted to impeach President Yoon Suk Yeol over his failed attempt…
Israeli war planes have carried out more than 100 air strikes in Syria on December…
President-elect Donald Trump has threatened to impose 100% tariffs on the BRICS countries if they…
Syrian troops have withdrawn from the city of Aleppo following an offensive by rebels opposed…