Uganda has suffered multiple outbreaks of Ebola since 2000, when it recorded its first epidemic, and officials say the country has gained expertise it has used to bring recent infections under control quickly with limited community spread.
Fifteen people in the latest outbreak, declared in mid-May, were infected in neighbouring Democratic Republic of the Congo - the epicentre of the epidemic, where the number of confirmed cases stands at more than 3000.
The last Ebola patient in Uganda, a Congolese national, was discharged on June 22.
That is short of the 42-day waiting period required by the World Health Organisation to declare the end of an outbreak.
But Health Minister Chris Baryomunsi said the announcement follows the "successful completion of the mandatory 42-day monitoring period which begun after the discharge of the last Ugandan national, a locally transmitted patient, on the 16 of June, 2026."
Of the 20 confirmed cases during the outbreak, 18 were discharged while two died from the virus, both of whom were from the Democratic Republic of the Congo.
"Throughout this period the ministry of health maintained intensive surveillance nationwide and no new Ebola cases have been detected," Baryomunsi said on Tuesday.
Officials say Uganda's many tropical forests that teem with fruit bats, which are natural reservoirs for the virus, make it vulnerable to frequent outbreaks.
The virus is transmitted through contact with infected bodily fluids and tissue and symptoms include headache, vomiting of blood, muscle pains and bleeding.