Somalia's insurgency intensified when the country became stateless in 1991. Islamist extremists used the vacuum to worsen the conflict. Several interventions did not end the insurgency. The Uganda Peoples' Defence Forces' (UPDF) intervention in 2007 resulted in the expulsion of al-Shabaab insurgents from Mogadishu but the insurgents were not defeated. This research was conducted using the research question, "How can the UPDF be more effective in defeating the ongoing insurgency in Somalia?" Using the UPDF operation in Somalia and case studies of the Tamil Tigers and Lord's Resistance Army counterinsurgency operations, this research qualitatively analyzed intelligence, firepower, insurgent support, civil-military cooperation, and political control as important counterinsurgency precepts to arrive at conclusions for the need for the support of the international community, notably, to block insurgent support and enhance the UPDF's intelligence and firepower capabilities as a way to end Somalia's insurgency. There is also a need to rapidly develop Somalia's military to enable political control in the country so as to ease the UPDF operations.