A sodomy law is a law that defines certain sexual acts as sex crimes. The precise sexual acts meant by the term sodomy are rarely spelled out in the law, but is typically understood by courts to include any sexual act which does not lead to procreation. Furthermore, Sodomy has many synonyms: buggery, crime against nature, unnatural act, deviant sexual intercourse. It also has a range of similar euphemisms.
Historians dispute the reason for the emergence of such laws, but they have roots in antiquity, and are linked to religious proscriptions against certain sex acts. Contemporary supporters of sodomy laws argue that there are additional reasons for retaining them. They include public health concerns about anal sex, or concerns that legalisation of homosexuality will lead to a declining population.
Sodomy laws can be found around the world. Today, consensual homosexual acts between adults are illegal in about 70 out of the 195 countries of the world ; in 40 of these, only male-male sex is outlawed.  This number has been declining since the second half of the 20th century.
Lex Scantia is the earliest known law condemning the act of sodomy, written by the Ancient Romans. The Biblical book Leviticus defines sex between men as a crime that warrants capital punishment.
In England, Henry VIII introduced the first legislation against homosexuals with the Buggery Act of 1533, making buggery punishable by hanging, a penalty not lifted until 1861.
Following Sir William Blackstone's Commentaries on the Laws of England the crime of sodomy has often been defined only as the abominable and detestable crime against nature, or some variation of the phrase. This language led to widely varying rulings about what specific acts were encompassed by its prohibition.
After the publishing of the Wolfenden report in the United Kingdom, which claimed "homosexual behavior between consenting adults in private should no longer be a criminal offence", many western governments, including the United States, have repealed laws specifically against homosexual acts while retaining sodomy laws. In June 2003, the Supreme Court of the United States ruled in Lawrence v. Texas that state laws criminalizing private, non-commercial sexual activity (including homosexual activity) between consenting adults on the grounds of morality are unconstitutional since there is insufficient justification for state interest in such conduct.
In Europe (except Turkish Republic of Northern Cyprus) and South America (except Guyana) there are no longer anti-sodomy laws. This trend among Western nations has not been followed in all other regions of the world (Africa, some parts of Asia, Oceania and the Caribbean Islands), where sodomy often remains a serious crime. Homosexual acts remain punishable by death in Iran, Mauritania, Pakistan, Saudi-Arabia, Sudan, United Arab Emirates, Yemen and some parts of Nigeria and Somalia, and Chechnya in Russia (For the third conviction only) and by life in prison in Bangladesh, Bhutan, Guyana, India, Maldives and Uganda.
- David Bianco, First Sodomy Laws in the American Colonies
- Daniel Ottosson, International Lesbian and Gay Association, "With the Government in Our Bedrooms: A Survey on the Laws Over the World Prohibiting Consenting Adult Sexual Same-Sex Acts (Nov. 2006)
- International Lesbian and Gay Association, "World Legal Wrap-Up" (Nov. 2006)
- Homosexual Rights Around the World
Sodomy laws by country
Australia inherited the United Kingdom's sodomy laws on colonisation in 1788. These were retained in the criminal codes passed by the various colonial parliaments during the 19th century, and by the state parliaments after Federation.
Following the Wolfenden report, the Don Dunstan Australian Labor Party government introduced a consenting adults in private type defence in South Australia in 1972. This defence was initiated as a bill by Murray Hill, father of former Defence Minister Robert Hill (Australian politician), and repealed the state's sodomy law in 1975. The Campaign Against Moral Persecution during the 1970s raised the profile and acceptance of Australia's gay and lesbian communities, and other states and territories repealed their laws between 1976 and 1990. The exception was Tasmania, which retained its laws until the Government of Australia and the United Nations Human Rights Committee forced their repeal in 1997. The details are given in the book Living out Loud: A History of Gay and Lesbian Activism in Australia.
Since 1997, the states and territories that retained different ages of consent or other vestiges of sodomy laws have tended to repeal them. Western Australia did so in 2002, and New South Wales and the Northern Territory did so in 2003. Today only Tasmania and Queensland are the only Australian jurisdictions that still enforces a sodomy law - with the age of consent for anal sex being set at 18 (as compared to 16 for vaginal and oral sex in Queensland)  and in Tasmania, certain exceptions which constitute a defence do not apply if anal sex is involved with a person or persons under 17 . When sodomy was decimalised in the Australian Capital Territory, Norfolk Island, South Australia and Victoria an equal age of consent, rape, defences, etc were all set gender-neutral.
Brazilian criminal law does not punish any sexual act performed by consenting adults, but allows for prosecution, under statutory rape laws and the childrens' protection act, when one of the participants is under 14 year of age and the other an adult.
Before 1859, Canada relied on British law to prosecute sodomy. In 1859, Canada repatriated its buggery law in the Consolidated Statutes of Canada as an offense punishable by death. Buggery remained punishable by death until 1869. A broader law targeting all homosexual male sexual activity ("gross indecency") was passed in 1890. Changes to the criminal code in 1948 and 1961 were used to brand gay men as "criminal sexual psychopaths" and "dangerous sexual offenders." These labels provided for indeterminate prison sentences. Most famously, George Klippert, a homosexual, was labelled a dangerous sexual offender and sentenced to life in prison, a sentence confirmed by the Supreme Court of Canada. He was released in 1971.
Canadian law now permits anal sex by consenting parties above the age of 18, provided no more than two people are present. Its sodomy laws were repealed on the 26 August 1969 by Pierre Trudeau who famously stated that "the government has no place in the bedrooms of the nation" . In the 1995 Ontario Court of Appeal case R. v. M. (C.), the judges ruled that the relevant section (section 159) of the Canadian Criminal Code violated Section Fifteen of the Canadian Charter of Rights and Freedoms (Section 15) of the Charter of Rights and Freedoms when one or both of the partners are 16 to 18 years of age; this has not been tried in court again.
A similar decision was made by the Quebec Court of Appeal in the 1998 case R. v. Roy.
Sodomy laws have been abolished since the early 1990s in the People's Republic of China (PRC). Yet there is no clear statute towards consenting parties above the age of 18. If someone under 18 is involved, the adult partner will be prosecuted. In a notable case in 2002, a man who had anal intercourse with a teenager was sentenced to three and a half years in prison.
Denmark was the first country to fully legalize homosexuality, in 1934. The age of consent is the same for all people.
Since the French Revolution, France has not had laws punishing homosexual conduct per se between over-age consenting adults in private. However, other qualifications such as "offense to good mores" were occasionally retained in the 19th century (see Jean Jacques Régis de Cambacérès). Furthermore, the age of consent for homosexual sex was kept to the age of the legal majority (21 then 18), above the age for heterosexual sex (15), until 1981.
In 1960, a parliamentary amendment by Paul Mirguet added homosexuality to a list of "social scourges", along with alcoholism and prostitution. This prompted the government to increase the penalties for public display of a sex act when the act was homosexual. Transvestites or homosexuals caught cruising were also the target of police repression.
In 1980, the 1960 law making homosexuality an aggravating circumstance for public indecency was repealed. Then in 1982, under president François Mitterrand, the law from 1942 (Vichy France) making the age of consent for homosexual sex higher than for heterosexual sex was also repealed.
Paragraph 175, which punished "fornication between men", was eased to an age of consent of 21 in East Germany in 1957 and in West Germany in 1969. This age was lowered to 18 in the East in 1968 and the West in 1973, and all legal distinctions between heterosexual and homosexual acts were abolished in the East in 1988, with this change being extended to all of Germany in 1994 as part of the process of German Reunification.
In modern German language, the term Sodomie has a meaning different from the English language word "sodomy": it does not refer to anal sex at all, but acts of Zoophilia (beastiality).
Homosexuality in Hungary was decriminalized in 1962, Paragraph 199 of the Hungarian Penal Code from then on threatened "only" adults over 18 who engaged themselves in a consensual same-sex relationship with an underaged person between 14 and 18. In 1995 a kind of domestic partnership was introduced for same sex couples, on September 3, 2002 the ruling of the Hungarian Constitutional Court abrogated Paragraph 199; since then the age of consent for both sexes and both for heterosexuals and homosexuals, is 14 years.
Homosexuality has been legal in Iceland since 1940, but equal age of consent was not approved until 1992. Civil union was legalised by Alþingi in 1996 with 44 votes pro, 1 con, 1 neutral and 17 not present. Those laws were changed to allow adoption and artificial insemination for lesbians 27th of June 2006 among other things. Civil Union of Lesbians and Gays is now equal to marriage of heterosexual people, except it cannot be performed by religious foundations, only the State.
India also inherited the anti-sodomy laws in its criminal code from the British raj, which were not present in its history of codified or customary legal system before. Section 377 of the Indian Penal Code calls for a maximum punishment of life imprisonment for all sexual acts against human nature (primarily interpreted to be homosexuality, especially sodomy, including between consenting adults). This law has rarely been executed, if at all, in case of consenting adults, although sometimes comes in the news when a homosexual rape has been conducted and the rapist is arrested. Police repression in alleged or real gay bars is common, and is often highlighted by the contemporary media. Homosexual marriages are de facto banned.
The State of Israel inherited its sodomy ("buggery") law from the British Mandate of Palestine but there is no record that it was ever enforced against homosexual acts that took place between consenting adults in private. In the late 1960s the Supreme Court of Israel ruled that these laws could not be enforced and they were formally repealed by the national legislative assembly in 1988. The age of consent for both heterosexuals and homosexuals is sixteen years of age.
Section 377 of the Singapore Penal Code criminalizes "carnal intercourse against the order of nature" that involves penetration. Such acts are punishable by imprisonment for up to life. Section 377A ("outrages on decency") additionally punishes commission, solicitation, or attempted male same-sex "gross indecency", with imprisonment up to two years. Singaporean Section 377 was added by the British colonial administration in the 1850s, replacing Hindu law which had not criminalized consensual same-sex sexuality. Singapore has announced it will reduce the maximum sentence for male-male sex to 2 years in prison. See 
Sweden was the second country to fully legalize homosexuality, in 1944. The age of consent is 15 regardless of sexuality. The Swedish Crime Law (SFS 1962:700), chapter six ('About Sexual Crimes')), does not distinguish between heterosexual and homosexual sexual acts. The only sexual act specifically mentioned in the law is intended indecent exposure.
The United Kingdom has historically had similar laws, but the offence is known as buggery, not sodomy, and is usually interpreted as referring to anal intercourse between two males or a male and a female. Buggery was made a felony by the Buggery Act in 1533, during the reign of Henry VIII. The punishment for those convicted was the death penalty right up until 1861. A lesser offence of "attempted buggery" was punished by 2 years of jail and some time on the pilori. In 1885, Parliament enacted the Labouchere Amendment which prohibited gross indecency between males, a broad term that was understood to encompass most or all male homosexual acts. Following the Wolfenden report, sexual acts between two adult males, with no other people present, were made legal in England and Wales in 1967, in Scotland in 1980 and Northern Ireland in 1982.
In the 1980s and 1990s, attempts were made by gay rights organizations to equalize the age of consent for heterosexuals and homosexuals, as the age of consent for homosexuals was set at 21, while the age of consent for heterosexuals was 16. Efforts were also made to modify the "no other person present" clause so that it dealt only with minors. In 1994, Conservative MP Edwina Currie introduced an amendment to Criminal Justice and Public Order Bill which would have lowered the age of consent to 16. The amendment failed, but a compromise amendment which lowered the age of consent to 18 was accepted. Therefore the age of consent disparity remained, albeit reduced. However, the July 1, 1997 decision in the case Sutherland v. the United Kingdom resulted in the Sexual Offences (Amendment) Act 2000 which further reduced it to 16, and the "no other person present" clause was modified to "no minor persons present". Today, the universal age of consent is 16 in England, Scotland, and Wales. The age of consent for both heterosexuals and homosexuals remains at 17 in Northern Ireland.
- Graham Willett, Living out Loud: A History of Gay and Lesbian Activism in Australia, 2000. < ISBN:1864489499 > on Amazon.com
- Peter McWilliams, Ain't Nobody's Business If You Do, 1998. < ISBN:0931580587 > on Amazon.com
- International Lesbian and Gay Association World Legal Survey (2000)
- Sodomy Laws Around the World
- Where Having Sex is a Crime: Criminalization and Decriminalization of Homosexual Acts, IGLHRC (2003)
- Going Down Down South: Fighting Absurd Sex Laws
- The Accidental Legacy of a Homophobic Humanitarian — The Times, October 2, 2000
| This article about lesbian, gay, bisexual and/or transgender issues|
Also see the article on Sexual orientation