After nearly twenty years of shedding blood and spending billions of donor dollars on the dusty streets of Mogadishu, the Uganda People's Defence Force (UPDF) has begun the long, complicated process of packing its bags. The withdrawal marks the end of an era for East African security, driven not by a decisive military victory over the Islamist militant group al-Shabaab, but by severe donor fatigue, shifting geopolitical priorities in Kampala, and the international community's push to force the Somali National Army to stand on its own feet.
For almost two decades, Ugandan boots were the undisputed backbone of the African Union’s peacekeeping efforts in the Horn of Africa. They arrived in March 2007 when few other nations dared to step into the meat grinder of Somalia’s civil war. Today, as the transition from the African Union Transition Mission in Somalia (ATMIS) to the smaller, reconfigured African Union Support and Stabilization Mission in Somalia (AUSSOM) takes shape, the departure of Ugandan troops leaves behind a terrifying question. Can Somalia actually hold the line without the neighbor that kept its government alive for twenty years? You might also find this similar coverage useful: Sixteen Thousand Dollars for a Ghost’s Handwriting.
The Architects of a Twenty-Year Gamble
To understand why this drawdown is so monumental, you have to remember what Mogadishu looked like in early 2007. It was a fractured ruin. The Islamic Courts Union had just been ousted by an Ethiopian invasion, leaving behind a power vacuum that was rapidly filling with radicalized insurgents. When the African Union authorized AMISOM (the African Union Mission in Somalia), most member states offered pledges on paper and excuses in practice.
Uganda actually sent soldiers. As discussed in latest coverage by Reuters, the effects are significant.
President Yoweri Museveni made a calculated geopolitical bet. By deploying an initial contingent of roughly 1,600 troops to protect the fragile Transitional Federal Government, Museveni transformed himself from an aging regional strongman into an indispensable Western ally in the Global War on Terror. Washington and Brussels needed a reliable partner to contain militant Islam in East Africa without putting American or European troops in harm's way. Kampala provided the manpower.
The price was staggering. Over the years, Uganda’s deployment swelled to over 6,000 personnel at its peak. These soldiers guarded the presidential palace, secured the Aden Adde International Airport, and fought brutal, close-quarters urban warfare in places like Bakara Market. They endured horrific suicide bombings, devastating ambushes on forward operating bases—such as the deadly 2015 attack in Janaale and the 2023 overrun of the Buulo Mareer base—and years of grueling desert deployments. Yet, for nearly two decades, Kampala never blinked. Whenever the mission teetered on the brink of collapse, Uganda reinforced the lines.
Follow the Money and the Fatigue
The decision to finally draw down forces is rarely about sentiment. It is almost always about arithmetic.
For years, the European Union and the United States bankrolled the peacekeeping mission, paying the stipends for Ugandan soldiers and funding the logistical machinery required to keep an army fed, armed, and fueled in a foreign country. While the UPDF officially earned a modest salary from Kampala, the international peacekeeping allowances provided a massive influx of foreign currency into the Ugandan economy and kept the military brass well-resourced.
That financial pipeline has been steadily drying up. European taxpayers, exhausted by endless foreign interventions and suddenly forced to prioritize war on their own continent in Ukraine, began demanding an exit strategy. Brussels repeatedly slashed stipend contributions, leaving troop-contributing countries to absorb the political fallout of paying their soldiers less for the exact same lethal risks.
At the same time, Uganda’s domestic security needs have shifted dramatically. The UPDF is no longer an army with spare capacity to police the Indian Ocean coastline. Kampala is currently fighting a complex, multi-front shadow war closer to home.
Consider the operational strain currently stretching Uganda's military apparatus:
- Operation Shujaa in the DRC: Uganda has deployed thousands of troops into the dense jungles of eastern Democratic Republic of Congo to hunt down the Allied Democratic Forces (ADF), an ISIS-affiliated rebel group that has carried out deadly bombings inside Kampala.
- The Karamoja Crisis: Cattle rustling armed with automatic weapons has destabilized Uganda's northeastern borderlands, requiring heavy military deployments to pacify the region.
- Regional Border Tensions: Fluctuating diplomatic friction with neighbors like Rwanda and ongoing instability in South Sudan demand constant readiness along Uganda's immediate frontiers.
Keeping thousands of seasoned combat troops tied down in Somalia simply stopped making strategic sense when fires were burning right next to Uganda’s own border.
The Illusion of the Somali Handover
The official diplomatic narrative surrounding the Ugandan withdrawal is one of triumphant graduation. According to the press releases from the African Union and the United Nations, the drawdown is happening because the Somali National Army (SNA) is finally ready to assume full security responsibility for the country.
Veterans of Horn of Africa politics view that claim with deep skepticism.
Building a cohesive national army in Somalia has been an exercise in pushing a boulder up a hill, only to watch it roll back down every few years. International partners, including the United States, Turkey, the United Kingdom, and the European Union, have spent billions of dollars training and equipping Somali brigades. On paper, these units—like the elite US-trained Danab commandos or the Turkish-trained Gorgor forces—are formidable fighting machines.
In reality, the SNA remains plagued by deep-seated structural flaws. Clan loyalties frequently override the chain of command. Corruption siphons off fuel, ammunition, and soldier salaries before they ever reach the front lines. Most critically, the Somali military lacks the heavy logistical infrastructure, medical evacuation capabilities, and air support that the UPDF provided for twenty years.
We have already seen what happens when peacekeepers hand over forward operating bases too quickly. During previous phases of the ATMIS drawdown, al-Shabaab fighters frequently waited just over the horizon for the Ugandan or Kenyan convoys to depart, then swept in to overrun the newly handed-over bases within days or weeks. The militants understand the rhythm of international diplomacy better than the diplomats do. They know the foreign troops have a ticking clock, while they have all the time in the world.
Al-Shabaab’s Waiting Game
To grasp the true danger of Uganda’s exit, you have to understand the resilience of al-Shabaab. Despite two decades of drone strikes, ground offensives, and leadership decapitations, the group remains one of the wealthiest and most adaptive insurgent organizations on the planet.
Al-Shabaab does not need to defeat the Ugandan army in a conventional battle to win. It only needs to outlast them.
The group operates a sophisticated shadow government across vast swathes of south and central Somalia. They run their own courts, which many locals actually prefer over the corrupt state judiciary because al-Shabaab’s rulings are swift and enforced. They operate a brutal but highly efficient taxation system—essentially an extortion racket—that extracts tens of millions of dollars annually from businesses in Mogadishu, the port, and agricultural transit routes.
In 2022, Somali President Hassan Sheikh Mohamud launched a major military offensive backed by local clan militias, known as the Macawisley, which initially pushed al-Shabaab out of significant territory in central Somalia. For a brief moment, it looked like the tide had permanently turned. Then came the counter-offensives, the devastating truck bombs in Mogadishu, and the exhaustion of the clan militias. The front lines stagnated.
As Ugandan troops pull back, al-Shabaab is poised to exploit the inevitable seams in security coverage. Without the UPDF securing major supply routes, cities like Baidoa, Marka, and even Mogadishu itself face the constant threat of encirclement and economic strangulation.
The Geopolitical Scramble in the Horn
Uganda’s departure is not happening in a vacuum. It coincides with a dangerous fracturing of regional alliances across the Horn of Africa.
For years, the countries contributing troops to Somalia—Uganda, Kenya, Burundi, Djibouti, and Ethiopia—maintained a fragile unity of purpose. That consensus has shattered. In early 2024, landlocked Ethiopia signed a controversial Memorandum of Understanding with the breakaway region of Somaliland, trading potential diplomatic recognition for access to a Red Sea port.
Mogadishu was furious, viewing the deal as an existential violation of its sovereignty. The Somali government threatened to expel all Ethiopian troops from the country and explicitly sought to exclude Addis Ababa from the new post-ATMIS peacekeeping framework. At the same time, Somalia pivoted sharply toward Egypt—Ethiopia’s bitter historical rival over the waters of the Nile—signing a defense pact that raised the terrifying prospect of Cairo sending troops into Somalia.
Suddenly, the peacekeeping mission meant to stabilize Somalia became a proxy battleground for regional rivalries.
For Kampala, watching its neighbors turn Somalia into a geopolitical chessboard only reinforced the wisdom of stepping back. Museveni has spent decades positioning himself as the elder statesman and mediator of East Africa. Getting caught in the crossfire between Addis Ababa, Cairo, and Mogadishu offers zero strategic upside for Uganda. By initiating a structured withdrawal, Kampala extricates itself from a diplomatic mess that is rapidly spiraling beyond the African Union’s control.
What Happens When the Shield Drops
The transition from ATMIS to the smaller AUSSOM mission is essentially an exercise in doing less with less. While some Ugandan troops will remain in smaller advisory, training, or static defense roles under bilateral agreements or the reduced AU mandate, the era of the UPDF acting as Somalia’s primary shield is over.
If we look at a hypothetical scenario of how security unravels in a post-withdrawal environment, the warning signs are unmistakable. Imagine a key supply road connecting Mogadishu to the agricultural heartland of the Lower Shabelle region. Previously, Ugandan armored personnel carriers patrolled that corridor daily, clearing improvised explosive devices and deterring large-scale militant movement. Once those patrols cease, the local Somali garrison, lacking mine-resistant vehicles and air cover, retreats inside its fortified compound. Within weeks, insurgents set up illegal checkpoints along the road, taxing every truck carrying food into the capital. Prices in Mogadishu spike, public anger turns against the federal government, and the militant group tightens its noose without firing a single shot at a foreign soldier.
This is the slow-motion crisis that military analysts fear most. It is not a dramatic, cinematic collapse like the fall of Kabul in 2021, though that remains a grim possibility if the Somali military fractures along clan lines. Rather, it is a gradual, suffocating erosion of state authority until the internationally recognized government controls little more than a few fortified blocks around the airport.
Uganda’s twenty-year intervention proved that external military force can buy a fragile state time to breathe. It cannot, however, build a nation for people who remain deeply divided over how they want to be governed. As the transport planes lift off from Mogadishu carrying Ugandan soldiers back to Entebbe, the burden of Somalia’s survival finally, irrevocably, falls on the Somalis themselves.