Two West African states are repatriating their citizens from Tunisia following inflammatory remarks by President Kais Saied last week.
Mr Saied said that illegal migration was causing demographic change in Tunisia, and accused "illegal hordes" of being behind rising crime.
Dozens of migrants from sub-Saharan Africa have since been detained.
Ivory Coast and Guinea said they were sending specially charted planes to bring back their nationals.
"The most urgent thing is to save lives, to prevent injuries," Ivory Coast's government spokesman Amadou Coulibaly was quoted as saying by AFP news agency.
Tunisia had an estimated 21,000 migrants from sub-Saharan Africa in 2021, according to official figures quoted by a local rights activist who accused Mr Saied of "inciting hatred" and "racial discrimination against African migrants".
Mr Saied has denied being racist.
After his comments, many migrants lost their jobs and housing overnight. Some have reported being physically assaulted.
Hundreds of Ivorians and Guineans have since registered with their countries' embassies to be repatriated.
"The undeclared goal of the successive waves of illegal immigration is to consider Tunisia a purely African country that has no affiliation to the Arab and Islamic nations," Mr Saied said.
The African Union - of which Tunisia is a member - condemned the statement as "shocking", and warned against "racialised hate speech".
About 80% of Tunisians believe that racial discrimination is a problem in their country - the highest figure in the Middle East and North Africa region, according to a survey published by BBC News Arabic last year.
Latest Stories
-
Togbe Afede XIV calls for drastic restructuring of Bank of Ghana
40 mins -
Eric Johnson
49 mins -
Djokovic struck by water bottle at Italian Open
52 mins -
777 call in finance experts as Everton uncertainty grows
56 mins -
Casemiro left out of Brazil squad for Copa America
58 mins -
Chelsea sacking would not be a problem – Pochettino
1 hour -
Man Utd owners have ‘common sense’ – Ten Hag
1 hour -
Nduom hints at #BringBackGNBank nationwide campaign
5 hours -
GWCL staff locked up, assaulted for disconnecting defaulter
6 hours -
Akufo-Addo, Asantehene commission Prempeh I International Airport, Kumasi
6 hours -
We are confident about board meeting in June on Ghana’s second review – IMF
6 hours -
Eugene Osei Tutu: Who can lay claim to Kumasi International Airport- Mahama or Akufo-Addo?
6 hours -
Mbappe confirms he will leave Paris St-Germain
6 hours -
CAA Region II Athletics Championships will be properly organised – Dr Baah-Nuakoh
7 hours -
Over 185 state bungalows for public servants near completion in Ashanti Region
7 hours