Yemen's warring parties agreed to extend a four-month long truce just hours before it was due to expire, the UN envoy announced Tuesday, vowing to "intensify" efforts to secure lasting peace.

Yemen has been gripped by conflict since the Iran-backed Huthi rebels took control of the capital Sanaa in 2014, triggering a Saudi-led military intervention in support of the beleaguered government the following year.

Yemeni pro-government forces take part in a parade in June: rival forces have been observing a fragile truce since April
Yemeni pro-government forces take part in a parade in June: rival forces have been observing a fragile truce since April AFP

But a truce came into effect on April 2 and was renewed from June 4, providing a rare respite from violence for much of the country and alleviating some of the suffering.

The latest two-month extension, running from August 2 to October 2, "includes a commitment from the parties to intensify negotiations to reach an expanded truce agreement as soon as possible," the United Nations special envoy on Yemen, Hans Grundberg, said in a statement.

Hundreds of thousands have died, directly from fighting as well as indirectly, and millions have been displaced in what the UN has called the world's worst humanitarian crisis.

Yemen
Yemen's president called Iran's president to discuss a shipment of arms said to be headed to militants backed by Iran. Reuters

"The main objective of the current truce continues to be to provide tangible relief to civilians and to create a conducive environment for reaching a peaceful settlement to the conflict through a comprehensive political process," Grundberg added.

More than two thirds of Yemen's 30 million people need humanitarian aid, a UN official said last month, and the country has been pushed to the brink of famine.

"In the coming weeks, I will intensify my engagements... to ensure the full implementation of all the parties' obligations in the truce," Grundberg said, adding he wanted to "put Yemen on a path to sustainable peace".

Yemen
Yemen's president called Iran's president to discuss a shipment of arms said to be headed to militants backed by Iran. Reuters

The truce has largely held, although the rival sides have traded blame over violations.

US President Joe Biden welcomed the extension and the "unprecedented calm" that has prevailed in the war-torn country during recent months.

The European Union also welcomed the extension and urged all sides to support UN peace efforts, saying the truce had brought "tangible benefits".

Yemeni demonstrators hold a portrait of UN special envoy Hans Grundberg during a protest demanding the end of a blockade of city of Taez imposed by Yemen's Huthi rebel, seen here on July 26
Yemeni demonstrators hold a portrait of UN special envoy Hans Grundberg during a protest demanding the end of a blockade of city of Taez imposed by Yemen's Huthi rebel, seen here on July 26 AFP / AHMAD AL-BASHA

Under the truce, commercial flights have resumed from the rebel-held capital Sanaa to Jordan and Egypt, while oil tankers have been able to dock in the lifeline port of Hodeida, also in Huthi hands.

The extension of the truce was also welcomed by aid agencies working to support those impacted by the conflict.

"Millions of Yemenis are suffering due to rocketing food prices, a lack of health and other essential services and dwindling economic opportunities," said Abdulwasea Mohammed, from the aid agency Oxfam.

"Now is the time for all parties -- and the international community -- to work towards a lasting and inclusive peace that guarantees the lives, dignity and freedom of the Yemeni people."

On Monday, 30 aid agencies working in Yemen had said that since the truce first came into force on April 2, "reports of civilian casualties have dropped significantly."

The aid groups, including Yemeni and international organisations, urged "all parties to the conflict to adhere to and extend the agreement to protect civilians" across the country.

But Erin Hutchinson, Yemen country director for the Norwegian Refugee Council, sounded a note of caution.

"After seeing swift and decisive action towards the success of the truce in the first months, progress towards meeting all of its elements has slowed," Hutchinson said.

"We hope this two-month extension will allow for the reopening of roads linking cities and regions, enable more displaced people to return to their homes safely, and ensure humanitarian aid can reach people who have been out of reach for far too long."