Uganda Is Leaving — Who Holds Somalia After December 31?
Somalia's closest military partner is walking out — and Mogadishu's own politics are in the way of replacing it.
Uganda announced on October 29, through army chief Gen. Muhoozi Kainerugaba on X, and confirmed on November 2, through UPDF spokesman Col. Chris Magezi, that it has begun withdrawing its troops from Somalia, ending a deployment that began in 2007. Uganda was the first country to send troops to Somalia under the African Union mission, and for nearly two decades its soldiers have been the backbone of the force holding the line against al-Shabaab. Now they are leaving, just as the African Union mission's own mandate runs out.
The numbers tell the scale of the exit. Uganda has about 6,500 troops in Somalia — roughly 2,000 deployed under a bilateral deal with Mogadishu, and about 4,500 serving under the AU mission, AUSSOM. The first to leave are the bilateral troops. The first cohort, which left from the port town of Barawe, is already home, and the rest are due out "within days". All Ugandan forces are to leave by the end of 2027 — although Muhoozi said in September that the full exit would come by August 1, 2027, and the two dates have not been publicly reconciled.
The gap they leave behind is the question nobody in Mogadishu has answered. On October 31, AUSSOM told the United Nations it plans to move forces into four positions it calls "critical to protecting Mogadishu" — Sabiid-Anole, Bariire, Awdheegle and Bulonagad. But it has not said which countries will fill them. This site has already reported that America quietly left Baledogle airbase in October and that Burundi is rushing its soldiers home. The mission that is supposed to hold the capital is losing its largest contributor, and the plan for what replaces it is, so far, four place names and no names at all.
Then came Entebbe — and the row that followed it. On Monday, November 23, President Hassan Sheikh Mohamud flew to Entebbe and signed an 18-point joint communiqué with President Yoweri Museveni. The two leaders called for intensified operations against al-Shabaab, predictable funding for AUSSOM, and a separate funding arrangement for the bilateral Ugandan troops. The text also urged Somalia's federal government, member states and other groups to pursue reconciliation and improve governance, and noted that Museveni had accepted an invitation to visit Mogadishu on a date to be set through diplomatic channels. On paper, it was a show of partnership from a president whose troops are leaving and a president who needs them to stay.
Within a day, the visit produced a public contradiction. Somali Guardian reported that Mohamud had accepted Museveni as mediator of the election dispute, and had dropped his unilateral election plans. The outlet also said Museveni had used the presence of Ugandan troops in Somalia as leverage, including a warning that they would leave further positions in Lower Shabelle if mediation was refused. DefenceMENA, which reported the row, said it could not confirm the Guardian account from official statements.
On Tuesday, November 24, the presidency denied it through Somalia Today. A senior Villa Somalia official said the reports were false and that Mohamud had not accepted mediation by Museveni or Uganda. "Domestic political matters are for Somalia to resolve, and they will be settled through a Somali-led dialogue," the official said, speaking on condition of anonymity. The official added that the word "opposition" does not even appear in the communiqué — and the communiqué itself, as reported, mentions neither mediation nor the opposition. Museveni, for his part, posted on X about sharing Uganda's experience of "national unity, dialogue, democracy and peaceful political competition". Somalia Today said Villa Somalia had not coordinated that post in advance.
The mediation claim matters because of what it would mean if it were true. Somalia is in the middle of a dispute over its electoral calendar. Parliament earlier this year extended presidential and parliamentary terms from four to five years. A Supreme Court panel ruled on November 5 that the extension did not apply to sitting officeholders and ordered elections within 90 days. The government rejected the ruling. The Constitutional Court has ordered an electoral agreement by December 5. The opposition rejected the president's talks offer on November 20. A foreign president mediating that dispute would be a major concession — which is exactly why the presidency moved so fast to deny it, and exactly why the denial itself is now part of the story.
The stakes are plain, and they are all dated. The AU mission's mandate expires December 31, 2026. The United States has backed a one-year renewal, but funding is unresolved, and a 12-month transition plan only starts in January 2027. The court has ordered an electoral deal by December 5. Uganda's first troops are already home, and the rest of the bilateral contingent follows within days. Somalia and the AU have also agreed that the mission's mandate will end in 2029 under a three-year plan covering 2027 to 2029 — but that longer horizon means nothing if the handover at the end of this year is not funded and not staffed.
So the analysis comes down to three questions, and none of them has an answer yet. First, who fills the four positions AUSSOM calls critical to protecting Mogadishu? Second, who pays for the mission after December 31, when the current mandate expires and the funding is still unresolved? And third, can Mogadishu settle its own election dispute by December 5, when the president's talks offer has already been rejected and the opposition says it will not engage with him at all? The Entebbe communiqué promised more operations against al-Shabaab and predictable funding. The row that followed it showed a government and a departing partner talking past each other in public, within 24 hours of signing it.
Uganda's exit is not a surprise — it was announced three weeks ago, and the first troops from Barawe are already home. What is new is the shape of the endgame: a partner leaving, a mission with no named replacements for its most important positions, a mandate expiring in five weeks, a court deadline in ten days, and a public row over whether the president of the country that is leaving was asked to mediate the politics of the country he is leaving. The question this site asked its readers today is the right one: with Uganda leaving, and the clock running out, who protects Mogadishu now?
