Uganda–Tanzania relations connect two East African neighbours that share Lake Victoria, a land border in Kagera Region and a long and sometimes turbulent history. Today the partnership is driven by trade, ports and energy: landlocked Uganda relies heavily on Tanzanian roads, railways and harbours, and the two countries are building an oil pipeline from western Uganda to the coast at Tanga.
Uganda–Tanzania relations: key facts
- Diplomatic missions: a Tanzanian High Commission in Kampala and a Ugandan High Commission in Dar es Salaam.
- Shared bodies: both are founding members of the East African Community and belong to the African Union, the Commonwealth, the Non-Aligned Movement and the Group of 77.
- Conflict: the 1978–79 war with Idi Amin’s government, which ended with Tanzanian forces in Kampala in April 1979.
- Trade: about 2.23 billion US dollars in 2024, up from 1.36 billion dollars in 2023, as reported by The Citizen.
- Flagship project: the East African Crude Oil Pipeline (EACOP), about 1,443 km from Hoima in Uganda to Chongoleani in Tanga.
Uganda and Tanzania in the independence era
Both countries left British rule in the early 1960s, Tanganyika in 1961 and Uganda the following year. The Wikipedia article on Tanzania–Uganda relations describes the ties from those years as warm and fraternal, and the two states joined Kenya as founding members of the East African Community.
That shared outlook still shapes the relationship. Both governments sit together in the East African Community, whose headquarters is in Arusha Region, and they often coordinate positions in the African Union and the United Nations. Our overview of Tanzania’s foreign policy explains how good-neighbour diplomacy has been a constant for every Tanzanian president.
The Amin years and the 1978–79 war
The friendship broke down after January 1971, when Idi Amin overthrew President Milton Obote in a military coup. Julius Nyerere gave the deposed Obote sanctuary in Tanzania. Several attempts to topple Amin were launched from Tanzanian soil, and tension grew through the decade until Uganda declared war, sent troops into Kagera and tried to annex part of the region in 1978.
Tanzania counter-attacked and ended the war in April 1979 with the fall of Amin. The victory came at a high price, because Tanzania carried the cost of the campaign on its own at a time when its economy was already weak. Uganda finished repaying the related war debt in 2007. Our full account of the Kagera War of 1978–79 covers the battles, the leaders and the aftermath.
Trade between Uganda and Tanzania
For many years trade was small and roughly balanced. Wikipedia notes that in 2013 Tanzania sold Uganda goods worth about 62.2 million dollars, mainly machinery, farm produce and medicines, while Uganda sent about 62.6 million dollars’ worth of maize and telecommunications equipment the other way.
The figures have since multiplied. At the launch of the Uganda–Tanzania Trade Mission 2025 in Kampala, Uganda’s High Commissioner to Tanzania, Col. (Rtd.) Fred Mwesigye, said two-way trade had risen from 1.36 billion dollars in 2023 to 2.23 billion dollars in 2024. Uganda supplies Tanzania with cement, sugar, dairy products and medicines, while it buys petroleum products, machinery and textiles. The mission built on promises made at a joint business forum that Dar es Salaam hosted in May 2024.
Trade has not always been smooth. President Samia Suluhu Hassan has acknowledged that non-tariff barriers persist, often because of actions by officials lower down the chain, and both governments have promised to remove them.
Oil, gas and the pipeline to Tanga
Energy is now the heart of the partnership. The East African Crude Oil Pipeline stretches roughly 1,443 km between the Hoima oil fields and the Chongoleani terminal near Tanga city, at a cost of around six billion dollars, and is set to be the world’s longest heated crude oil pipeline. In June 2026 Tanzania’s Energy Minister Deogratius Ndejembi put construction at 86 percent and said the first crude shipment from Chongoleani was now expected in January 2027, later than the earlier July 2026 target. The government says the work has created about 10,000 jobs, about three quarters of them held by Tanzanians.
The two governments are also studying a natural gas pipeline from Tanzania into Uganda and a pipeline carrying refined fuel from Uganda to Tanga. For background on Tanzania’s gas fields, see our guide to gas projects in Tanzania.

Lake Victoria, railways and border crossings
Geography ties the two countries closely. A main road crossing is at Mutukula in Kagera Region, and our guide to buses between Uganda and Tanzania via Mutukula explains that route for travellers. On Lake Victoria, Tanzania’s Energy Minister Doto Biteko said in April 2025 that the ships MV Umoja and MV Kazi Nda were serving Jinja and Kampala twice a week, while Air Tanzania flies to Entebbe.
Rail is the next step. In February 2026 President Samia briefed Uganda on a proposed railway from Tanga to Musoma, which would let cargo reach Uganda across the lake, and asked Uganda to extend its own standard gauge line to Murongo on the Ugandan side of the border so that the two networks can meet.
Recent visits and diplomacy between Uganda and Tanzania
Presidential contact is frequent, both through state visits and at East African Community summits. On 7 February 2026, President Yoweri Museveni made a one-day working visit to Dar es Salaam. According to The Citizen’s report on the February 2026 talks, it was his first foreign trip since winning re-election in January 2026 and no other foreign president had come to Tanzania since its October 2025 general election. The two leaders discussed energy, ports at Dar es Salaam, Tanga and Mtwara, rail links and peace in the Great Lakes region, which Museveni was then chairing.
The talks also had a global angle. President Samia thanked Uganda for stepping aside in the contest for the East African seat on the UN Security Council, clearing the way for Tanzania, and said the government of Tanzania would back Uganda’s bid for a leadership post in the African Union. Museveni returned for a two-day working visit on 5 and 6 August 2026, his second trip to Tanzania that year.
Sources and open questions
This article uses the Wikipedia page, three reports in The Citizen from April 2025, February 2026 and August 2026, and Tanzanian government statements quoted there. The Wikipedia page is out of date on the pipeline, which it still describes as a proposal due to start in 2016. Trade totals from 2013 and 2024 come from different sources and methods, so they are not strictly comparable. The pipeline’s export date has moved before and may move again.
Featured image background: Mnazini, CC BY 4.0, via Wikimedia Commons.
For more articles related to Government of Tanzania and the Society click here






























