Foreign Secretary William Hague has said he was "deeply saddened and disappointed" by Uganda's decision to extend the ban on homosexuality.
The bill, which was signed into law by President Yoweri Museveni, calls for first-time offenders to be sentenced to 14 years in prison and makes it a criminal offence not to report someone for being gay.
He said: "The UK strongly opposes all discrimination on any grounds. We question the Bill's compatibility with Uganda's constitution and international treaty obligations.
"There can be no doubt that this Bill will increase persecution and discrimination of Ugandans, as well as damage Uganda's reputation internationally."
Homosexuality is already a criminal act in Uganda and the new bill is set to recommend a term of life imprisonment for those found guilty of "aggravated homosexuality", defined as repeated gay sex between consenting adults.
More top news
A man caught with dozens of turtles inside his pants is to face a court under the US justice system.
Too many family homes are being built around the size of a bathroom too small for people to live in them comfortably, a report says.
The numbers of female officers in police forces must be boosted further as they tackle the "changing face of crime", Theresa May will say.