This is according to an EIU study that ranks 140 cities on their urban quality of life
The study ranks 140 cities on their urban quality of life based on stability, healthcare, culture and environment, education and environment.
Nigeria's largest capital, Lagos, was ranked 138 — placing it two positions ahead of Bangladesh's Dhaka and Syria's war-torn capital, Damascus.
It was closely followed by Zimbabwe's Harare (135), Libya's Tripoli (134), Cameroon's Douala (133), Algiers in Algeria (132) and Senegal's Dakar (131).
Violence
"The Middle East, Africa and Asia account for the ten lowest-scoring cities in the survey where violence, whether through crime, civil insurgency, terrorism or war, has played a strong role," the survey said.
Johannesburg was ranked 86, making it the most livable of African cities.
Globally, Vienna topped the ranking as the world's most pleasant city to live in owing to an improved security situation and a lower crime rate.
The Austrian capital dislodged Melbourne (Australia) which held the title for seven years.