The migrants will be flown to Rwanda from Libya, where they are being held in detention centres
Rwanda has agreed to take in hundreds of African migrants who are currently being held in Libyan detention centres.
A joint agreement between the government, the UN refugee agency (UNHRC) and the African Union (AU) was announced on Tuesday.
An initial group of 500 people will be evacuated by aeroplane to Rwanda in the coming weeks, a statement said.
That group, which includes children and vulnerable young people, is mainly made up of refugees from the Horn of Africa.
Thousands of migrants head to Libya each year to try and make the dangerous crossing over the Mediterranean Sea to reach Europe.
Those who fail are often held in detention centres. According to the UN, about 4,700 people urgently need to be moved to safety from these centres where conditions are said to be dire.
'My husband set himself on fire in a detention centre'