Uber began operating in Nigeria in 2014 and in Uganda in 2016, but the company has faced growing pressure from local and international competitors, as well as persistent complaints from drivers. Nigerian taxi drivers had long criticised Uber's pricing structure, arguing that fares were too low given the rising cost of fuel, and that commission charges were too high.
Over the past year, Uber has pulled out of Ivory Coast and Tanzania. Following the latest closures, the company now operates in only four African countries: Egypt, Ghana, Kenya and South Africa.
The announcement came on the same day Uber's chief executive, Dara Khosrowshahi, said the company was cutting its global workforce by 10%, or over 3,000 jobs, as part of a major restructuring.
In a statement to the BBC, Uber said: 'This decision is limited strictly to these two markets and does not impact our operations across the rest of the continent. We remain committed to sub-Saharan Africa, where we continue to see strong growth and opportunity.'
During its 12 years in Nigeria, Uber had expanded its services, including launching a boat service in Lagos in 2019 to help commuters bypass the city's notorious traffic congestion. However, a wave of ride-hailing competitors, including international rivals, have entered the Nigerian market in recent years, intensifying competition.