By Ben Farmer,
Uganda has begun withdrawing thousands of troops from Somalia, heightening questions about whether the local government can overcome one of al-Qaeda’s most successful affiliates.
Kampala announced its first troops had already been pulled back after it had spent nearly 20 years helping battle Islamist insurgents in the Horn of Africa nation.
All Ugandan troops are due out of the country by the end of 2027, leaving a significant gap in an international mission to bolster Somalia against al-Shabaab fighters.
The future of international operations to stabilise the country has already been put in doubt by plans from key backers such as the United States to withdraw funding.
Uganda had deployed 4,500-6,000 troops in Somalia as part of the latest African Union Support and Stabilisation Mission in Somalia (AUSSOM) mission and a further 2,000-2,500 under a separate bilateral agreement. The latter troops are the ones departing first.
One senior former international official in Somalia told NSN: “Not only is Uganda going, but they were among the few nations who did any fighting.
“There’s always been a fear that any pull out would end up in Al-Shabaab taking more ground. Potentially, it’s going to be a mess.”
Somalia’s allies have become increasingly disillusioned by the federal government’s lack of progress fighting al-Shabaab and by endless political infighting.
Divisions between the central government and the regional administrations have hampered efforts to improve the security situation and elections in 2027 are expected to be contentious.
A statement from Uganda’s military said: “The Uganda People’s Defence Forces (UPDF) will gradually withdraw all its forces in Somalia, including those currently deployed under AUSSOM by the close of 2027.
“This will mark the end of Uganda’s enduring 20-year peace and stabilisation support operations in Somalia, permitting the Somali Armed Forces to assume full responsibility for security in the country.”
Somalia’s president, Hassan Sheikh Mohamud, is reported to have last month met his Ugandan counterpart, Yoweri Museveni, in an unsuccessful attempt to delay the withdrawal.
Somalia’s central government said its own troops were moving into bases in the port town of Barawe and Shalambood as Ugandan troops left.
Analysis from the Economist Intelligence Unit (EIU) said the Ugandans had made steady progress in securing territory initially seized by al-Shabaab in South West state from mid-2025, but insecurity had flared in recent months.
The drawdown coincides with uncertainty about funding for AUSSOM.
Washington earlier this year said it would cut logistical funding to the UN support mission in Somalia which is a central pillar of support to the peacekeepers. America later gave a temporary reprieve.
EIC said: “Nonetheless, funding gaps, as well as the inefficient substitution of troops, threaten to reverse gains made against al-Shabaab.”

Al-Shabaab, meaning The Youth in Arabic, emerged as the radical wing of Somalia’s now-defunct Union of Islamic Courts, which controlled Mogadishu in 2006, before being forced out by Ethiopian forces.
The group vows to implement Islamic law and condemns democracy as a Western transplant. In 2012 the leadership swore allegiance to al-Qaeda.
