Tanzania vs Uganda: Side-by-Side Comparison

Tanzania is the bigger country: it covers 945,087 km², about 3.9 times Uganda's 241,038 km², and has about 68.6 million people to Uganda's 50.0 million (2024 UN estimates; Uganda's 2024 census counted about 45.9 million). Tanzania's 2024 GDP of about $79 billion is roughly 1.5 times Uganda's $54 billion, but income per person is almost the same, about $1,150 against $1,100. The neighbours share a border of about 391 km, much of it across Lake Victoria.

Key Differences at a Glance

MetricTanzaniaUganda
CapitalDodomaKampala
Largest cityDar es SalaamKampala
Region (UN)East AfricaEast Africa
Population (2024, UN)about 68.6 millionabout 50.0 million (Uganda's 2024 census counted about 45.9 million)
Area945,087 km²241,038 km²
Population densityabout 73 per km²about 207 per km²
GDP (nominal, 2024)about $79 billionabout $54 billion
GDP per capita (2024)about $1,150about $1,100
CurrencyTanzanian shilling (TZS)Ugandan shilling (UGX)
Official language(s)Swahili, EnglishEnglish, Swahili
GovernmentPresidential republic (union with semi-autonomous Zanzibar)Presidential republic
Life expectancy (2023)about 67 yearsabout 68 years
Independence9 December 1961 (Tanganyika, from the UK); union with Zanzibar 19649 October 1962 (from the UK)
Time zoneUTC+3UTC+3
Calling code+255+256
Drives on theLeftLeft
LandlockedNoYes

Sources: population from UN World Population Prospects 2024; GDP from IMF/World Bank 2024 estimates (nominal US dollars, so values move with exchange rates); GDP per capita calculated from those two figures; life expectancy from UN/World Bank 2023 data.

Population

Tanzania has about 68.6 million people and Uganda about 50.0 million according to 2024 UN estimates, so Tanzania has roughly 1.4 times as many. Uganda's own 2024 census counted about 45.9 million, which would make the gap wider. Both populations are among the youngest and fastest-growing in the world, with median ages of around 16–18, and both will add millions of new workers every year for decades.

Density is where they differ most. Tanzania's people are spread across a large territory, averaging about 73 per km², with concentrations around Dar es Salaam, on Zanzibar, around Lake Victoria (Mwanza), and in the northern highlands; the central plateau and the south are more thinly settled. Uganda packs its population into a country less than a third the size, at about 207 per km², one of the higher densities in mainland Africa, which puts pressure on farmland and on land around national parks. Dar es Salaam, with well over 7 million people, is much larger than Kampala.

Area and Geography

Tanzania covers 945,087 km², about 3.9 times Uganda's 241,038 km². Tanzania has an Indian Ocean coastline of more than 1,400 km, including the Zanzibar archipelago, and operates Dar es Salaam, one of East Africa's two main ports. Uganda is landlocked and relies on transport corridors through Kenya and Tanzania.

Both front Lake Victoria, Africa's largest lake, which the two share with Kenya. Tanzania contains Mount Kilimanjaro (5,895 m), Africa's highest peak, the Serengeti, the Ngorongoro Crater and parts of Lakes Tanganyika and Malawi (Nyasa). Uganda holds the Rwenzori Mountains (5,109 m), the source of the White Nile at Jinja, Murchison Falls and the forests of Bwindi, home to about half the world's mountain gorillas. Uganda sits on a high plateau and is greener and wetter overall, while much of central Tanzania is dry savanna and woodland.

The Tanzania–Uganda Border

The border is about 391 km long. Most of it follows the latitude of 1° south: across Lake Victoria, and then west of the lake over land to the Rwandan border. West of the lake, the Kagera River loops north of that line, and the land between the river and the border, the so-called Kagera Salient, is Tanzanian territory. The Kagera, which rises in Rwanda and Burundi, is the largest river flowing into Lake Victoria and is often counted as the most remote source of the Nile.

The main land crossing is Mutukula, on the road between Masaka in Uganda and Bukoba in Tanzania's Kagera region. Much traffic between the two also moves by water, between Ugandan ports such as Port Bell and Tanzanian lake ports such as Mwanza and Bukoba.

Economy

Tanzania's 2024 GDP was about $79 billion and Uganda's about $54 billion (IMF/World Bank estimates), so Tanzania's economy is about 1.5 times larger. Because Tanzania also has more people, output per person is almost identical, about $1,150 in Tanzania and about $1,100 in Uganda (a little higher for Uganda if its census population is used). Both have grown at around 5–6% a year over the past decade.

Agriculture employs most workers in both. Tanzania adds gold (its largest export), tanzanite, natural gas, tourism built around Kilimanjaro, the Serengeti and Zanzibar, and transit trade through Dar es Salaam, where a new electric standard-gauge railway to Dodoma opened in 2024 and is being extended towards Mwanza and Kigoma. Uganda's leading exports are coffee and gold, alongside fish, tea, cocoa and dairy; its oil fields near Lake Albert, developed by TotalEnergies and CNOOC, are expected to begin production with export through EACOP.

Language and Culture

Swahili and English are used officially in both countries, but the balance differs. In Tanzania, Swahili is the unifying national language across more than 120 ethnic groups and the medium of government and primary education; English is used mainly in secondary and higher education and international business. In Uganda, English dominates government, schools and business. Swahili became an official language in 2005 and is being promoted in schools, but daily life runs mostly in local languages such as Luganda, Runyankole, Lusoga and Acholi.

Tanzania's coastal Swahili culture blends African, Arab, Persian and Indian influences, visible in Zanzibar's Stone Town. Uganda's identity is shaped by traditional kingdoms such as Buganda, Bunyoro and Tooro, which still hold cultural weight. The Haya of Tanzania's Kagera region and the Nyankole and Baganda of southern Uganda are culturally related. Both countries are religiously mixed, with Christian majorities and large Muslim communities, particularly on the Tanzanian coast and Zanzibar.

Currency

Tanzania uses the Tanzanian shilling (TZS) and Uganda the Ugandan shilling (UGX). Both replaced the East African shilling, shared with Kenya, in 1966–67. They are separate currencies and not interchangeable; one Tanzanian shilling is worth roughly 1.3–1.5 Ugandan shillings, so prices look similar but are not the same. US dollars are widely used for safari, park and gorilla-permit fees in both countries.

History and Independence

Mainland Tanzania was German East Africa and then the British-run territory of Tanganyika, which became independent on 9 December 1961 and united with Zanzibar in 1964. Uganda, a British protectorate built around the Kingdom of Buganda, became independent on 9 October 1962. With Kenya, they formed the first East African Community in 1967, which collapsed in 1977.

The defining event in their relations was the Uganda–Tanzania War of 1978–79. After Idi Amin's forces invaded and annexed the Kagera Salient in October 1978, Tanzania drove them out, then advanced into Uganda with Ugandan exile forces and captured Kampala in April 1979, ending Amin's rule. It remains one of the few cases in post-colonial Africa of one state overthrowing another's government by invasion. Since then relations have been close, and both have been governed by long-ruling parties: Chama Cha Mapinduzi in Tanzania and the National Resistance Movement in Uganda since 1986.

Tanzania–Uganda Relations, Trade and Travel

Both are members of the revived East African Community, headquartered in Arusha, Tanzania, and of the African Union; Tanzania also belongs to SADC. The flagship joint project is the East African Crude Oil Pipeline, a heated pipeline of about 1,440 km from Hoima in western Uganda to the port of Tanga, chosen in 2016 over a route through Kenya. It has been criticised by environmental and human-rights groups but is backed by both governments. Uganda also increasingly uses Dar es Salaam and the Central Corridor, via Lake Victoria ferries and Tanzania's railways, as an alternative to Kenya's Mombasa, and the two countries trade food, cement, sugar and manufactured goods.

For travellers, the most common link is by air, with flights between Entebbe and Dar es Salaam, Kilimanjaro and Zanzibar. Buses run between Kampala and Mwanza or Bukoba via Mutukula. The East Africa Tourist Visa covers Uganda (with Kenya and Rwanda) but not Tanzania, so separate entry permission is needed. Both use East Africa Time (UTC+3) and drive on the left. A popular combination is gorilla trekking in Uganda followed by a Serengeti safari or Zanzibar beach stay.

Which Country Is Bigger?

Tanzania is bigger in total: about 3.9 times Uganda's area (945,087 km² against 241,038 km²), about 1.4 times its population (68.6 million against 50.0 million by UN estimates) and about 1.5 times its GDP ($79 billion against $54 billion in 2024). On GDP per person the two are almost level, at about $1,150 and $1,100. Uganda is the more densely populated.

Frequently Asked Questions

Which is bigger, Tanzania or Uganda?

Tanzania. It covers 945,087 km², about 3.9 times Uganda's 241,038 km², and has about 68.6 million people against Uganda's 50.0 million (2024 UN estimates; Uganda's 2024 census counted about 45.9 million).

Which has the larger economy, Tanzania or Uganda?

Tanzania. Its 2024 GDP was about $79 billion against about $54 billion for Uganda. GDP per person is similar in both, about $1,150 in Tanzania and $1,100 in Uganda.

Why did Tanzania and Uganda go to war?

In October 1978 Idi Amin's Ugandan army invaded and annexed Tanzania's Kagera Salient. Tanzania expelled the invaders, then pushed into Uganda with Ugandan exiles and captured Kampala in April 1979, ending Amin's rule.

What is the EACOP pipeline?

The East African Crude Oil Pipeline is a heated pipeline of about 1,440 km that will carry oil from Uganda's Lake Albert fields at Hoima to the port of Tanga in Tanzania for export.

Where is the Tanzania–Uganda border?

The border, about 391 km long, mostly follows the 1° south line of latitude across Lake Victoria and west of the lake to Rwanda. The main road crossing is Mutukula, between Masaka and Bukoba.

Last updated: September 2026. Population: UN World Population Prospects 2024 and Uganda's 2024 census. GDP: IMF/World Bank 2024 estimates. Area: national statistics offices and the CIA World Factbook.