Compilation · Section 377 of the Indian Penal Code
Against the Order of Nature
For about 160 years, one sentence in India’s criminal law decided what kind of sex counted as a crime. Section 377 of the Indian Penal Code never mentioned homosexuality, gay men, hijras or lesbians. It punished “carnal intercourse against the order of nature”, left the words undefined, and let the police and the courts fill them in. Here I have gathered what the public record holds about the law itself: where it came from, what it said, how it was read and used, and what became of it after the Supreme Court read it down in 2018 and Parliament dropped it in 2024.
The long fight in the courts, from the ABVA petition of 1994 to Navtej Singh Johar in 2018, is told in my compilation Out of the Margins, so this one only sketches it. The whole record, date by date, with the documents and the people named at each step, is set out in Section 377 of the IPC, from Macaulay to the BNS. The judgments, the Acts and the key reports are catalogued in the Digital Library and linked at the end.
In this compilation
What the section said
Section 377 sat in Chapter XVI of the Code, “Of Offences Affecting the Human Body”, under the sub-heading “Of Unnatural Offences”. In full, as it stood until 2018:
377. Unnatural offences. Whoever voluntarily has carnal intercourse against the order of nature with any man, woman or animal, shall be punished with imprisonment for life, or with imprisonment of either description for a term which may extend to ten years, and shall also be liable to fine.
Explanation. Penetration is sufficient to constitute the carnal intercourse necessary to the offence described in this section.
A few things about the wording mattered for everything that followed.
- It named acts, not people. On paper it applied to everyone, married couples included. In practice it was read as a law against gay men and, by extension, against hijras and trans women.
- Consent made no difference. The section treated sex between consenting adults exactly like rape, and like sex with children or animals. For most of its life it was also the only law that covered rape of men and boys.
- “Order of nature” was never defined. Neither was “carnal intercourse”. The courts had to decide what they meant, and their answers changed over a century.
- The punishment was heavy. The maximum was originally transportation for life. After transportation was abolished in 1955, it became imprisonment for life.
- Women were barely in view. The Explanation’s focus on penetration meant sex between women was almost never prosecuted. Ponni Arasu’s 2006 paper Section 377 of the IPC and Queer Women in India argues that the law still shaped queer women’s lives, through families, police and fear rather than trials.
Where it came from
England first. The model was the Buggery Act of 1533, passed under Henry VIII, which made buggery “with mankind or beast” punishable by death. It was replaced in 1828 by the Offences against the Person Act. The same year, the Criminal Law (India) Act carried buggery, still a capital offence, into the law applied to British subjects in India. England and Wales decriminalised sex between men in 1967.
Macaulay’s draft, 1837. The First Law Commission, led by Thomas Babington Macaulay, finished a draft penal code for India in 1837. Its clauses on “unnatural offences” punished even touching another person for “unnatural lust”. In his notes Macaulay refused to discuss the subject at all, calling it too revolting for debate. Justice Nariman’s opinion in Navtej points out that the section finally enacted was substantially different from Macaulay’s draft. It took shape over two decades of revisions, the last under a committee led by Barnes Peacock.
Enactment. The Indian Penal Code was passed on 6 October 1860 and came into force on 1 January 1862. Many timelines, and Out of the Margins, give 1861 as the year Section 377 was introduced To be clarified (1860, 1861 or 1862). Princely states had their own codes, and the IPC reached Jammu and Kashmir only in 2019, replacing the Ranbir Penal Code.
Exported. The same template was copied into penal codes across Britain’s Asian and African colonies. Pakistan and Bangladesh still carry a Section 377 inherited from the IPC. Singapore kept its version, Section 377A, until Parliament repealed it in 2022.
What “against the order of nature” meant
Because the section defined nothing, the courts kept redefining it. The Delhi High Court traced three stages in its 2009 Naz Foundation judgment.
- Non-procreative sex. In Khanu v. Emperor (Sind, 1925), oral sex was held to be against the order of nature because the “natural object” of intercourse was the possibility of conception.
- Acts imitating intercourse. In Lohana Vasantlal Devchand v. State (Gujarat High Court, decided 1967, reported 1968), the court held that the mouth was “not, according to nature, meant for” carnal intercourse.
- “Sexual perversity”. In Fazal Rab Choudhary v. State of Bihar (1982), the Supreme Court described the offence in terms of perversity, while reducing a sentence. Later High Court rulings stretched the section to cover acts with little in common, which critics used as evidence that the words had no fixed meaning.
The first reported prosecution of a person, rather than an act, came early. In Queen-Empress v. Khairati (Allahabad High Court, 1884), police arrested Khairati, described by the court as a “eunuch”, after finding her dressed as a woman among a group of women. A medical examination was used to claim she was a “habitual sodomite”. Justice Straight set the conviction aside because no specific act had been proved, but the case set a pattern: gender non-conformity treated as evidence of a crime. The judgment has no public copy that I can find. It is catalogued in the Digital Library as a draft record only To be clarified (is there a public copy of the 1884 judgment?).
A law used more than it was tried
Convictions for consensual sex between adults were rare, and almost every reported case involved force or a minor. The section’s real work was done outside court.
- Extortion and blackmail. ABVA’s 1991 report Less Than Gay documented police and hustlers using the threat of a Section 377 case to extort money from men met in parks and on trains. The report called for the section’s repeal.
- Arrests as display. In July 2001, Lucknow police raided the offices of Bharosa Trust and Naz Foundation International, two HIV prevention groups, and charged staff with conspiracy and abetment of Section 377 for distributing condoms and safer-sex material To be clarified (the date of the arrests, 7 or 8 July 2001). In January 2006, Lucknow police arrested four men they accused of running a “gay racket” online. Out of the Margins covers the 2001 case.
- Health work. In 1994 the superintendent of Tihar Jail refused to allow condoms into the prison, citing the section. HIV workers in the 1990s and 2000s faced the same argument: that handing out condoms abetted a crime.
- Numbers. The National Crime Records Bureau began counting Section 377 offences separately in 2014. Its report for 2022 recorded 987 cases. These figures do not separate consensual from non-consensual acts, and after 2018 they should mostly be the latter To be clarified (a breakdown of NCRB Section 377 cases by type).
Beyond the Penal Code
Section 377 did not work alone. Later laws borrowed its language to police whole communities.
- The Criminal Tribes Act, 1871. Part II of the Act dealt with “eunuchs”. Local governments had to keep a register of every “eunuch” reasonably suspected of kidnapping or castrating children, or of committing offences under Section 377. Registered persons could be arrested without a warrant for appearing in public dressed as women, or for singing and dancing in public. Jessica Hinchy’s Governing Gender and Sexuality in Colonial India describes this as a project to make hijras disappear. The Act was repealed in 1952.
- The Telangana Eunuchs Act, 1919. Enacted in the Nizam’s Hyderabad State and modelled on Part II of the Criminal Tribes Act, it kept the same register and the same reference to “unnatural offences” for another century. The Telangana High Court suspended it in 2018 and struck it down on 6 July 2023, in Vyjayanti Vasanta Mogli v. State of Telangana.
In court, briefly
The challenge to the section ran for 24 years. Every step is set out in Out of the Margins; the documents themselves are in the Digital Library.
- 1994: ABVA petitioned the Delhi High Court. The petition was later dismissed.
- 2001: Naz Foundation (India) Trust filed its petition in the Delhi High Court To be clarified (is there a public copy of the 2001 writ petition?).
- 2 July 2009: In Naz Foundation v. Govt of NCT of Delhi, the High Court held that the section could not apply to consensual sex between adults in private.
- 11 December 2013: In Suresh Kumar Koushal v. Naz Foundation, the Supreme Court restored the section in full and left any change to Parliament. Review petitions were dismissed on 28 January 2014 To be clarified (is there a public copy of the review order?).
- 2 February 2016: The Supreme Court referred the curative petitions to a five-judge bench.
- 6 September 2018: In Navtej Singh Johar v. Union of India, a five-judge bench unanimously held the section unconstitutional so far as it criminalised consensual sex between adults. It found a breach of Articles 14, 15, 19 and 21. The Alternative Law Forum’s Right to Love collects the arguments and a timeline.
What was left after 2018
Navtej did not repeal Section 377. It read the section down. From September 2018 to June 2024, the section still applied to:
- carnal intercourse without consent, between adults of any gender
- any such act involving a minor
- bestiality.
In those years it was mainly used in cases of sexual assault on men and boys (often alongside the POCSO Act for children), and in some cases between husbands and wives. Courts disagreed on the second use. In 2025 the Delhi High Court set aside a Section 377 charge against a husband, reasoning that the law did not recognise marital rape and so the section could not apply within marriage without proof that consent was absent.
The section disappears
The Bharatiya Nyaya Sanhita. In August 2023 the government introduced three bills to replace India’s colonial criminal codes. The Bharatiya Nyaya Sanhita (BNS), the replacement for the IPC, had no equivalent to Section 377 at all.
The committee’s warning. The Parliamentary Standing Committee on Home Affairs reported on 10 November 2023. It noted that the BNS left no offence for non-consensual sexual acts against men, women and trans people, or for bestiality, and recommended bringing Section 377 back to that extent. The government did not take up the recommendation.
1 July 2024. The BNS came into force. Acts committed before that date can still be tried under the IPC, so Section 377 cases already in the system continue. For anything after it, there is no specific offence for the rape of a man or a trans person by a man, or for sexual violence against animals. Rape under the BNS, as under the IPC, can only be committed by a man against a woman. Police have had to fall back on offences such as hurt and assault.
Petitions since 2024
- August 2024: The Delhi High Court asked the Centre to explain the gap on a PIL filed by lawyer Gantavya Gulati. On 28 August 2024 it disposed of the petition, asking the government to treat it as a representation and decide it.
- 14 October 2024: The Supreme Court declined to hear a PIL on the same gap.
- 20 March 2026: The Delhi High Court restored Gulati’s petition for hearing.
- 12 August 2026: Hearing a separate PIL that asked for the BNS sexual offences to be read as gender-neutral, a Delhi High Court bench led by Chief Justice Devendra Kumar Upadhyaya said courts cannot create an offence that Parliament has dropped. It tagged the case with similar petitions and listed them for October 2026 To be clarified (what happened at the October 2026 hearing).
As of 19 November 2026, I have found no bill in Parliament to restore a Section 377-type offence To be clarified (whether the government has decided Gulati’s representation).
Where that leaves things. The section that queer Indians spent decades trying to remove is gone. What went with it was the only protection the law gave men and trans people against rape. Many queer and trans activists have said they do not want Section 377 back. They have asked instead for gender-neutral sexual offence laws, so that the protection covers everyone without reviving the language of “unnatural offences”.
Section 377 documents in the Digital Library
These records have a description and a link to a public copy where one exists.
- The Indian Penal Code, 1860
- The Criminal Tribes Act, 1871
- Less Than Gay (ABVA, 1991) and its 2nd edition (2022)
- Section 377 of the IPC and Queer Women in India (Ponni Arasu, 2006)
- Naz Foundation v. Govt of NCT of Delhi (Delhi High Court, 2 July 2009)
- Suresh Kumar Koushal v. Naz Foundation (Supreme Court, 11 December 2013)
- Curative petitions referred to a Constitution Bench (2 February 2016)
- Navtej Singh Johar v. Union of India (Supreme Court, 6 September 2018)
- Right to Love (Alternative Law Forum, 2018)
Three more are catalogued but not yet public, because I have not found a public copy: Queen-Empress v. Khairati (1884), the Naz Foundation writ petition (2001), and the order dismissing the review petitions (28 January 2014).
To be clarified
- the year Section 377 began: the IPC was passed in 1860 and came into force in 1862, while Out of the Margins and many timelines say 1861
- a public copy of Queen-Empress v. Khairati (1884)
- the date of the Lucknow arrests in July 2001: 7 July in Amnesty International’s and IPS’s reports, 8 July in Human Rights Watch’s
- a breakdown of NCRB Section 377 figures into consensual and non-consensual cases
- a public copy of the Naz Foundation writ petition (2001)
- a public copy of the Supreme Court order dismissing the review petitions (28 January 2014)
- what the Delhi High Court decided at the October 2026 hearing on gender-neutral sexual offences
- whether the government has decided Gantavya Gulati’s representation, and whether any bill to fill the gap has been drafted
If you hold any of these documents, or know where an original is kept, you can write to me through the Connect page.
Resources
The law and its history
- The Indian Penal Code, 1860 WIPO Lex, full text
- Legislating homosexuality: codification, empire and the Commonwealth History of Parliament blog, 2019
- Section 377 was based on a law passed by Henry VIII in 1533 The Wire, 2018
- Queen-Empress v. Khairati and the regulation of transgender people Scroll
How the courts read it
- Lohana Vasantlal Devchand v. State Gujarat High Court, 1967, Indian Kanoon
- Fazal Rab Choudhary v. State of Bihar Supreme Court, 1982, Indian Kanoon
How it was used
- India: police harassment of AIDS awareness workers Amnesty International, 27 July 2001
- India: new arrests of gay men in Lucknow Human Rights Watch, 2006
- Indian activist jailed for being gay Human Rights Watch, 2018
- India’s new criminal law offers little protection against sexual assault to men and trans men Article 14, 2024
Laws that borrowed its language
- Telangana High Court declares Telangana Eunuchs Act unconstitutional SCC Online, 2023
- Discard regressive laws that legitimise violence against transgender people The Wire
The litigation
- Voices Against 377: history
- Orinam: Section 377 archive and the 2018 verdict
- Navtej Singh Johar v. Union of India Supreme Court Observer
After the IPC
- Standing Committee report summary: Bharatiya Nyaya Sanhita, 2023 PRS Legislative Research
- What the House panel wants in the penal code ThePrint, 2023
- The BNS has no section equivalent to Section 377 The Quint, 2024
- Delhi HC directs Centre to address PIL on exclusion of unnatural sex offences from BNS Verdictum, 2024
- HC restores PIL against exclusion of penal provisions on non-consensual unnatural sex ThePrint, 2026
- Court can’t create Section 377 IPC-like offence in BNS Bar and Bench, 2026
- Courts can’t create a new offence to replace Section 377 LawBeat, 2026
Books
- Jessica Hinchy, Governing Gender and Sexuality in Colonial India: The Hijra, c.1850–1900 (2019)
- Arvind Narrain, Queer: Despised Sexuality, Law and Social Change (2004)
- Arvind Narrain and Alok Gupta (eds.), Law Like Love: Queer Perspectives on Law (2011)
- Arvind Narrain and Gautam Bhan (eds.), Because I Have a Voice: Queer Politics in India (2005)
- Saurabh Kirpal, Sex and the Supreme Court (2020)
- Madhavi Menon, The Law of Desire: Rulings on Sex and Sexuality in India (2021)
- Danish Sheikh, Love and Reparation: A Theatrical Response to the Section 377 Litigation in India (2021)
The section was two sentences long. It outlived the empire that wrote it by seventy-seven years, and the people it was used against are still asking the law for something better than what replaced it.
In the Digital Library
Books, films and other works on this topic.
As an Amazon Associate, Queer Ink earns from qualifying purchases. Buying through these links supports our work at no extra cost to you. See our Disclaimer.

