The Transitional Federal Government (TFG; Somali: Dowladda Federaalka Kumeelgaarka; Arabic: الحكومة الاتحادية الانتقالية; Italian: Governo federale di transizione della Somalia) was the internationally recognized provisional government of Somalia from 14 October 2004 until 20 August 2012. It was established in Nairobi, Kenya, following the Transitional National Government (TNG), and formed part of an internationally backed peace process aimed at restoring state institutions after the collapse of the Somali Democratic Republic in 1991. The TFG operated under the Transitional Federal Charter and represented the 14th attempt to establish a central government since the outbreak of civil war.
Initially based in Kenya, the TFG relocated to Somalia in 2005 amid internal divisions and low public confidence. The first administration, led by President Abdullahi Yusuf, was plagued by disputes over the deployment of foreign troops, deep factionalism, and competing claims of authority. With strong military and political backing from Ethiopia, the TFG was installed in Mogadishu following Ethiopia's 2006 invasion to overthrow the Islamic Courts Union (ICU). This intervention triggered a protracted insurgency led by Al-Shabaab and other Islamist factions. The subsequent Ethiopian military occupation severely undermined the TFG’s legitimacy and contributed to widespread violence, displacement, and the rise of one of Africa’s deadliest insurgencies.