Around a quarter of Syria's population has fled since the March 2011 start of a conflict that has killed over 320,000 people.
The new figures mean around a quarter of Syria's population has fled since the March 2011 start of a conflict that has killed over 320,000 people.
The UN refugee agency UNHCR urged more international assistance, with spokeswoman Cecile Pouilly calling the figure an "important milestone".
"As the number of men, women and children fleeing six years of war in Syria passes the five million mark, the international community needs to do more to help them," UNHCR said in a statement.
NGOs helping Syrian refugees have regularly sounded the alarm about the crisis, appealing for more funds and international action to end Syria's war.
"It's clear that the international community has completely failed to end the conflict in Syria," said Alun McDonald, regional spokesman for Save the Children.
"The situation inside the country is still not remotely safe for people to go home, we see more people being uprooted every day," he told AFP.
He said much of the international community was also failing refugees, increasingly closing borders and turning them away.
Most Syrian refugees are hosted regionally, by neighbours Turkey, Lebanon and Jordan, with more in Iraq and Egypt.
Hundreds of thousands of Syrians have also fled to Europe, often risking exploitation by smugglers and even death on arduous journeys by land and sea.
Smaller numbers have been resettled officially in Europe, Canada and the United States, though President Donald Trump's administration has sought to temporarily halt all Syrian refugee entries.
The largest group is in Turkey, with over 2.9 million registered Syrian refugees, according to the UN.
Less than a tenth reside in camps, with most living in Turkish cities, including more than half a million in Istanbul alone.
President Recep Tayyip Erdogan, an early backer of the Syrian uprising who repeatedly urged Syria's President Bashar al-Assad to step down, has even floated the possibility of granting some refugees citizenship.
In Jordan, some 657,000 Syrian refugees are registered with the UN, but the government says the true figure is 1.3 million.
Tens of thousands of Syrians live in two large camps, Zaatari and Azraq, but the majority live in homes and apartments, able to access the job market but competing for scarce employment.
The situation is more complicated in Lebanon, where the government refused the establishment of formal camps.
The UN says around one million Syrians are in the country, though the government says the figure is higher, with many living in dismal conditions in informal camps.
Lebanon has just four million citizens and was already struggling with limited resources, unemployment and overstretched infrastructure before the refugee influx.
In a joint statement with Syrian organisations, charity Oxfam on Thursday urged more support for host countries.
"Oxfam calls on rich countries to show their support for Syria's neighbours that have welcomed these refugees and to resettle at least the most vulnerable 10 percent most of Syrian refugees by the end of 2017," said Oxfam international executive director Winnie Byanyima.
"It's a protracted crisis and the funding is not catching up with the needs," added Oxfam spokeswoman Joelle Bassoul.
"With fewer resources we now have to help more people," she told AFP.
Aid groups and the UN have also regularly warned about the long-term impact of the crisis, particularly on children.
"A million Syrian refugee children are out of school and missing out on education, and they are the ones who will have to contribute to rebuilding Syria for the next generation," said McDonald.