Lably
Skip to content

Sodomy law

Laws criminalising certain sexual acts

  • 58 min read
  • 2 chapters

Related on Lably

Through United Nations, Roman Empire and England

As of September 2025, 63 countries have laws that criminalize sexual activity between 2 individuals of the same-sex. In 2006, that number was 92. Laws in 40 of these countries criminalize both male and female same-sex sexual activity. In 11 countries, sexual activity between two individuals of the same-sex is punishable with the death penalty.

In 2011, the United Nations Human Rights Council passed an LGBT rights resolution, which was followed up by a report published by the UN Human Rights Commissioner which included scrutiny of the mentioned codes. In March 2022, the Committee on the Elimination of Discrimination against Women found that laws criminalizing consensual same-sex activity between women are a human rights violation. This case, brought by Rosanna Flamer-Caldera, was the first United Nations case to focus on lesbian and bisexual women.

History

Criminalization

BCE

The Middle Assyrian Law Codes (1075 BCE) state: If a man has intercourse with his brother-in-arms, they shall turn him into a eunuch. This is the earliest known law condemning the act of male-to-male intercourse in the military.

In the Roman Republic, the Lex Scantinia (which is first described in documents dating back to 50 BCE) imposed penalties on those who committed a sex crime (stuprum) against a freeborn male minor. The law may also have been used to prosecute male citizens who willingly played the passive role in same-sex acts. The law was mentioned in literary sources but enforced infrequently; Domitian revived it during his program of judicial and moral reform. It is unclear whether the penalty was death or a fine. For adult male citizens to experience and act on homoerotic desire was considered permissible, as long as their partner was a male of lower social standing.

CE

Intolerance of same-sex acts appears to have intensified in the Roman Empire in the late 4th century; in 390 the emperor Theodosius ordered that male prostitutes were to be publicly burned, although it is uncertain to what extent this decree was actually carried out.

Starting in the 1200s, the Roman Catholic Church launched a campaign against homosexual activity. Between the years 1250 and 1300, homosexual activity was criminalized in most of Europe, possibly even punishable by death.

In England, Henry VIII introduced the first legislation under English civil law against sodomy with the Buggery Act 1533 in 1533, making buggery punishable by death. This act provided the foundation for anti-sodomy laws that eventually were exported around the world under British colonial rule; out of 62 UN Member States the International Lesbian, Gay, Bisexual, Trans and Intersex Association found to be criminalizing homosexuality as of March 2023, more than 30 of them had kept the law from when they were under British colonial rule.

Decriminalization

In 1786 Pietro Leopoldo of Tuscany became the first ruler in the world to end the death penalty, including for the crime of sodomy. In France, the Penal Code of 1791 decriminalized sodomy; this was followed by the Napoleon Penal Code in 1810, which decriminalized sodomy in the part of continental Europe that had been conquered by France, which was most of it.

In 1830, Emperor Pedro I of Brazil signed a law into the Imperial Penal Code, eliminating all references to sodomy.

During the Ottoman Empire, homosexuality was decriminalized in 1858 as part of wider reforms during the Tanzimat period.

The death penalty for sodomy was not lifted in England and Wales until 1861.

In 1917, following the Bolshevik Revolution led by Vladimir Lenin and Leon Trotsky, Russia legalized homosexuality. However, when Joseph Stalin came to power in 1920s, these laws were reversed. Homosexuality remained effectively illegal until 1993, after the fall of the Soviet Union, when sodomy was once again decriminalized.

During the First Czechoslovak Republic (1918–1938), there was a movement to repeal sodomy laws. It has been claimed that this was the first campaign to repeal anti-gay laws that was spearheaded primarily by heterosexuals.

Lawrence v. Texas, 539 U.S. 558 (2003), is a landmark decision of the United States Supreme Court in which the Court ruled that U.S. state laws criminalizing sodomy between consenting adults are unconstitutional. At the time of the Lawrence decision, ten states—Alabama, Florida, Idaho, Louisiana, Mississippi, North Carolina, South Carolina, Michigan, Utah, and Virginia—still banned consensual sodomy without respect to the sex of those involved, and four—Texas, Kansas, Oklahoma, and Missouri (partially)—prohibited same-sex couples from engaging in anal and oral sex.

Criminalization in modern days

As of 2025, sodomy-related laws have been repealed or judicially struck down in all of Europe, North America, and South America, except for Grenada, Guyana, Jamaica, and Saint Vincent and the Grenadines.

In Africa, male homosexual acts remain punishable by death in Mauritania and some parts of Nigeria and Somalia. Male and sometimes female homosexual acts are minor to major criminal offences in many other African countries; for example, life imprisonment is a prospective penalty in Tanzania, Uganda and Zambia. A notable exception is South Africa, where same-sex marriage is legal.

In Asia, male homosexual acts remain punishable by death in Afghanistan, Iran, Qatar, Saudi Arabia, the United Arab Emirates, and Yemen. Anti-sodomy laws have been repealed in Israel (which recognises but does not perform same-sex marriages), Japan, Kazakhstan, and Thailand.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Politics and economics