"I have told the Criminal Investigations Department to look for homosexuals, lock them up and charge them," the New Vision quoted the president as saying.
His comments came at the opening of a meeting on reproductive health.
"God created Adam and Eve," he said. "I did not see God creating man and man."
President Museveni's comments come two weeks after the widely reported gay marriage of two men in the capital, Kampala.
Poll rejects homosexuality
Under Ugandan law, homosexuals can be charged with "carnal knowledge of another against the order of nature."
Conviction can lead to life imprisonment.
A poll published in the New Vision before the president spoke said that 84% of Kampala residents did not want homosexuality legalised.
The paper said it canvassed 505 male and female people of all ages and educational standards.
The idea that homosexuality is an imported western practice and essentially "un-African" finds echoes in comments made by the Zimbabwean President Robert Mugabe.
Mr Mugabe once described homosexuals as "worse than pigs and dogs".
Protest at 'gay marriage' plans
(31 Jan 99 | Europe)
Gay rights win in South Africa
(09 Oct 98 | Africa)
Homosexual and hated
(12 Aug 98 | Top features)
The BBC is not responsible for the content of external internet sites.
Dam builders charged in bribery scandal
Burundi camps 'too dire' to help
Sudan power struggle denied
Animal airlift planned for Congo
Spy allegations bug South Africa
Senate leader's dismissal 'a good omen'
Tatchell calls for rights probe into Mugabe
Zimbabwe constitution: Just a bit of paper?
South African gays take centre stage
Nigeria's ruling party's convention
UN to return to Burundi
Bissau military hold fire
Nile basin agreement on water cooperation
Congo Brazzaville defends peace initiative
African Media Watch
Liberia names new army chief