Sunday, April 19, 2026
33.9 C
Colombo

Section 377: A Colonial-Era Law That Still Governs Queer Lives in Asia

by Shivansh Srivastava.

Introduced during British rule, Section 377 and its variants continue to shape laws and public attitude toward the LGBTQ+ communities in parts of South and Southeast Asia.

The year is 2026 — the 21st century. Decades have passed since the British decolonised Asia but some of the colonial-era laws continue to govern the lives of individuals in the countries the empire once ruled in. One of them is Section 377 that criminalised homosexuality.

It might come as a surprise to you but of the 48 countries in Asia, only three have legalised gay marriage. While some countries have decriminalised homosexuality, others continue to treat the queer community as “criminals”.

Section 377 — a colonial era law that sets the foundation of anti-queer laws in the former British colonies — is one of the biggest challenges for the LGBTQ+ community in these countries.

The law bans “unnatural sex” and has been used to punish individuals since 1862 (written in 1861), the first time when the British empire introduced it as a part of the Indian Penal Code. The Section was later introduced to other British colonies including Sri Lanka, Malaysia, Brunei, Singapore, Pakistan, and Bangladesh. 

“Long before colonialism, gender diversity wasn’t even seen as a disruption. It was the very thing that kept the world in harmony. But then the British arrived and with them they brought along Victorian laws, [which turned] moral codes into an offence,” says Andy Suraidah, founding director, Legal Dignity, a human rights organisation advancing non-discriminatory access to justice for LGBTQ+ persons in Malaysia. 

Suraidah goes on to say that through colonial education, religion, and bureaucracy, a whole new moral vocabulary was introduced. This divided people and labelled them as “moral, normal, abnormal, civilised, and sinful”. 

Through this story, we trace the origin of Section 377, look at when it was introduced, where it stands today, and how it has impacted the lives of individuals in some of these former British colonies. 

Inside the Mindset of Victorian Lawmakers

Earlier, in 1533, England had passed the Buggery Act, which called same-sex acts a “detestable and abominable vice”. The Act was repealed and replaced by the Offences against the Person Act 1828. This Act remained in force until it was replaced by the Offences against the Person Act 1861. 

It was in 1860, the British imperial administration in India completed a penal code that would outlast the empire and travel the globe. The Indian Penal Code, drafted by a law commission chaired by Thomas Babington Macaulay, included Section 377 that made “carnal intercourse against the order of nature” a criminal offence punishable by imprisonment. 

British administrators copied it into the laws of territories across Asia, Africa, and the Caribbean. They believed that they were bringing “moral order” to their colonies. Their thinking came from Victorian England, where strict ideas about sex, family, and religion shaped the law. 

A dimly lit room, people gather around a central pillar and candle, performing a traditional ritual.
Manang bali is a group of gender non-conforming shamans from the indigenous Iban tribe in Malaysia. Photo: Wikimedia Commons

Many societies in South and Southeast Asia had accepted gender and sexual diversity, but as the British colonised them, that changed. Britishers saw these identities as signs of “uncivilised” behaviour. So they used criminal law to enforce their own standards.

By the early 20th century, versions of Section 377 existed across more than 40 British colonies. Interestingly, the Sexual Offences Act 1967 decriminalised private homosexual acts between men aged over 21 in England and Wales. The law changed for Scotland and Northern Ireland in 1980s. 

In 1994, the age of consent for gay men was reduced from 21 to 18, and it was further lowered to 16 in 2001. More than a decade ago the British government made same-sex marriages legal, but a lot of its erstwhile colonies in Asia continue to follow the archaic laws written in the 1800s.


A Timeline of Events

A look at some of the former British colonies and where do they stand today. 

Pakistan
YearWhat happened
1947Partition of India
After Partition, Pakistan (then West Pakistan) retained Section 377 under Pakistan Penal Code.
Image: Press release | PDF: Penal Code
1979Hudood Ordinances Introduced
Islamic laws were introduced through the Hudood Ordinances in 1979. According to this, the law prohibited zina (adultery) and the punishment for it was stoning to death. However, no clarity was provided on whether this also applied to individuals of the same sex. Hudood Ordinance | Source: ILGA
2018Transgender Persons (Protection of Rights) Act Passed
Pakistan passed a law recognising the rights of transgender persons, allowing self-identification of gender.

Photo: Wikimedia Commons | Source: Al Jazeera
2023Federal Shariat Court Ruling on Transgender Act
The Federal Shariat Court struck down key provisions of the Transgender Persons (Protection of Rights) Act 2018. The Court ruled that individuals do not have full autonomy to self-identify their gender and declared parts of the law inconsistent with Shariah, following claims that the Act could “provide cover for homosexuality.”Document | Source: ILGA
2026Same-Sex Relations Remain Illegal
Consensual same-sex sexual acts remain criminalised under Section 377 of the Pakistan Penal Code. Punishment ranges from life imprisonment to fine.
Brunei
YearWhat happened
1951Section 377 Introduced Under the Penal Code 1951
Source: HDT
1984Brunei Gains Independence
Brunei became independent but it retained the colonial Penal Code, including the provisions that criminalised same-sex relations.Source: HDT
2013Shariah Penal Code Order Announced
Sodomy, musahaqah (lesbian acts), sexual activity between men, were all deemed illegal under the Shariah Penal Code, with punishment ranging from death penalty to whipping, fine, and imprisonment. Law in the Constitution of Burnei | Source: ILGA
2017Increased Punishments Under Section 377
In 2017, the Penal Code was amended and the punishment for same-sex relationships was changed to maximum 30 years of imprisonment and whipping.  
Source: ILGA
2019Death by Stoning as Punishment Imposed 
Same-sex sexual acts between men were punishable by stoning to death, if proven by strict evidentiary standards.
Source: The Guardian
2019 (May)Moratorium on Death Penalty Announced
Following global outrage, Brunei announced it would not carry out executions under the Shariah Penal Code.
Source: BBC
2026Same-Sex Relations Remain Illegal
Same-sex sexual acts remain criminalised under both civil and Islamic law.Punishment includes imprisonment, fines, corporal punishment, and death penalty still written in law.
However, there is limited evidence to no evidence of the law being enforced in recent years. 

Click here to watch the full video.

Bangladesh
YearWhat happened
1947India-Pakistan Partition
After partition, Bangladesh (then East Pakistan) retained Section 377, criminalising same-sex relationships, under Pakistan’s Penal Code. 
1971Bangladesh Gains Independence
Bangladesh became independent from Pakistan but retained the colonial-era Penal Code, including Section 377. 
Photo: Wikimedia Commons
2013Transgender Recognition
The government officially recognised transgenders as the third gender. However, several reports by human right groups have highlighted a gap in implementation of this policy change in the absence of clear framework and guidelines. 


Image: Wikimedia Commons | Source: HRW
2025Anti-Gay Intimidation and Violence Continues
Various reports have documented cases of harassment, violence, and intimidation against the LGBTQ+ individuals in Bangladesh.
Source: Human Dignity Trust
2026Same-Sex Relations Remain Illegal
Consensual same-sex sexual acts are still criminalised under Section 377 of the Penal Code. Punishments continue to include imprisonment and fines.Source: ILGA

Police have arrested gays, lesbians, transgender and and Hijra people in Bangladesh during rates calling them a threat to public order. Some were detained simply for being in public spaces. In other cases politicians and public figures have openly described LGBTQ+ people as mentally ill without consequences. There have also been raids in public gatherings and online harassment has increased.”

–Shaikh Md. Mominul Islam, Human Rights Educator 

Malaysia
YearWhat happened
1871British Introduce Penal Code (Straits Settlements)
The British introduced a Penal Code in colonial Malaya, including Section 377, which criminalised “carnal intercourse against the order of nature”.
 

Source: Malaysiakini
1936Penal Code Introduced to the Federated Malay States 
“Carnal intercourse against the order of nature” was criminalised under Section 377 of the Penal Code of the Federated Malay States.
Source: ICJ
1976Penalties Raised
Malaysia gained independence in 1957 and maintained the Federated Malay States (FMS) Penal Code. The application of the code was extended to the entire country in 1976. The same year, penalties under Section 377 were raised from 10 to 20 years in prison. Whipping was also introduced as an alternate form of penalty. 
 

Photo: Amendment
1989Federated Malay States Penal Code Amended (Sections 377A, 377B & 377D  clarified)
Section 377A clearly defined “carnal intercourse against the order of nature” as sexual “connection with another person by the introduction of the penis into the anus or mouth of the other person”.
Section 377B maintained the punishment at 20 years in prison. It removed the fine and added whipping as an additional (not alternative) penalty. Section 377D criminalised “gross indecency,” punishing public or private acts with up to two years in prison. Source: ILGA 
2021Federal Court Strikes Down Selangor Shariah Law
Malaysia’s Federal Court ruled that the Selangor state law criminalising “unnatural sex” was unconstitutional because criminal law falls under the jurisdiction of federal law. Source: Malaysiakini
2024Federal Court Struck Down 16 Shariah Provisions in Kelantan
The court ruled that states do not have the power to legislate on criminal matters that fall under federal jurisdiction, declaring the provisions “null and void”.
2026Same-Sex Relationships Continue to be Illegal in Malaysia

What does that mean for the queer community in Malaysia? 

“Many judges hesitate to engage with the substance of morality laws. Not because constitutional arguments are weak, but because the political consequences are heavy. To strike down such laws is to risk being accused of defying religion, of eroding faith. It is a moral mind field where judicial independence meets with political vulnerability.

It’s one of history’s cruel ironies that the very laws once imposed by the British Empire to control the colonised are now defended as “Asian” values. And what began as colonial control has been rebranded as cultural pride. And queer Malaysians, you know, live with this contradiction every day.” –Andi Suraidah, Legal Dignity.

Click here to watch the full video

Singapore
YearWhat happened
1938Section 377A Introduced Under British Rule
The British colonial government introduced Section 377A into the Penal Code, criminalising “acts of gross indecency” between men, whether in public or private.
Source: UNAIDS
1965Separation from Malaysia 
After separating from Malaysia, Singapore retained Section 377A in its Penal Code. It gained independence from the British in 1963. 
 

Photo: Wikimedia Commons
2007Government Reviews but Retains Section 377A
Parliament debated repeal of Section 377A but decided to retain the law. The government stated the law would not be “proactively enforced,” though it remained in force.PDF | Source: Law Gazette
2014–2019Legal Challenges Dismissed
Multiple constitutional challenges were filed against Section 377A.In 2020, Singapore’s High Court upheld the constitutionality of Section 377A.
Source: ILGA
2022-2023Section 377A Repealed
Singapore’s Parliament formally repealed Section 377A. At the same time, the Constitution was amended to protect Parliament’s authority over the definition of marriage.Official doc | Source: Singapore Parliament 
2026Same-Sex Relations Legal; Marriage Not Recognised
Singapore decriminalised homosexuality in 2022 by repealing Section 377A, but same-sex marriage remains legally unrecognised.

What does that mean for the queer community in Singapore?

“I came out to my parents when I was 18 and it was not very pleasant. But, however my mom actually sort of accepted over time and during that period of struggle I actually stayed outside and I would say that and I would say that I managed to survive. Right now, I’m so-called like reunited with my parents and of course things got better. There’s a change. That’s how I feel that together as a society we have progressed. At least in the people around me that I see. So I just feel that is slowly progressing.” –Briano Sim, Florist, Singapore

Sri Lanka
YearWhat happened
1841 (in force 1842)Vagrants Ordinance
The British introduced the Vagrants Ordinance, allowing police to arrest people for being “idle” or “disorderly.”

Source: SriLanka Law | ICJ | Photo: Colin Campbell, the head of government of Ceylon during 1841-1847
1883 (came into force 1885)Penal Code Sections 365 & 365A
British colonial authorities introduced Sections 365 and 365A criminalising same-sex relations.
Source: Penal Code 
1948Sri Lanka Gained Independence but Retained British-Era Criminal Laws
Continued arrests of LGBTQ+ people after 1948 under the colonial Penal Code provisions.
1995Penal Code Amendment
Section 365A was amended from acts between “men” to acts between “persons”.Criminalisation expanded to include lesbian relationships.
Source: ILGA 
2017Cabinet Rejects Move to End Discrimination Based on Sexual Orientation
Sri Lanka’s cabinet rejected a proposal to remove discrimination based on sexual orientation from the National Human Rights Action Plan, saying it would “legitimise homosexuality”.
Source: HT
2022Decriminalisation Bill Introduced
A Private Member’s Bill was introduced to repeal Sections 365 and 365A.
Source: IBA | Bill
2023Supreme Court Clears Path for Decriminalisation of Homosexuality
The Supreme Court ruled that decriminalising same-sex relations is constitutional.
Supreme Court Decision | Source: Reuters
2026Sections 365 & 365A remain in law with 10 years of imprisonment and fine.

What does that mean for the queer community in Sri Lanka? 

“It [Section 365 and 365A] is like a lingering ghost that has been there for the longest time and was introduced in Sri Lanka in 1883. It reformed into being gender neutral in 1995. These laws enable the law enforcement [agencies] to discriminate and also use violence against [the] community.

We have had cases [in Sri Lanka] where parents go to the police station and file a case against their very own children, saying ‘please, police officer, save my child. This person is trying to influence my kid to have a relationship with another person of the same sex’.”

 – Wathsala Herath, Human Rights Activist, Sri Lanka.

Click here to watch the full video

India
YearWhat happened
1860Section 377 Introduced Under British Rule
The British enacted the Indian Penal Code, including Section 377, criminalising “carnal intercourse against the order of nature”.Penal Code
2009Delhi High Court Decriminalises Same-Sex Relations
The Delhi High Court held that Section 377 was unconstitutional insofar as it criminalised consensual same-sex relations between adults. Official doc | Source: Amnesty

 

2013Supreme Court Reinstates Section 377
The Supreme Court overturned the 2009 ruling. Section 377 was reinstated, and same-sex relations became criminal again.Official Doc | Source: HDT
2014Transgender Rights Recognised
The Supreme Court recognised transgender persons as the “third gender” and affirmed the right to self-identify gender. However, Section 377 remained in force.Source: Amnesty
2018Section 377 Struck Down
The Supreme Court decriminalised consensual same-sex relations between adults. Section 377 now applies only to non-consensual acts, acts involving minors and bestiality. Source: Official Doc
2023Marriage Equality Petitions Rejected
The Supreme Court declined to legalise same-sex marriage, stating the issue falls within Parliament’s domain.Source: BBC
2026Same-Sex relations Between Adults Are Legal in India
However same-sex marriage is not legally recognised and adoption and family rights remain limited.

The landscape in Asia is deeply divided for the queer community. Even with homosexuality decriminalised in several countries, the LGBTQ+ community continues to fight for equal rights. Individuals that Asian Dispatch spoke to in countries such as Brunei, Bangladesh, Malaysia, and Sri Lanka, highlighted societal discrimination, harassment, and stigma. 

“Recently, police have arrested gays, lesbians, transgender, and hijra people in Bangladesh during raids calling them a threat to public order. Some were detained simply for being in public spaces. In other cases politicians and public figures have openly described LGBTQ+ people as ‘mentally ill’ without consequences,” Sheikh, a human rights educator and a non-binary queer person in Bangladesh, told us. 

Despite all this, the community is hopeful. Human rights groups say while reforms in some countries might be slow, with support from civil groups, legal aid, health providers and various other stakeholders, there is hope for change. 

This story was produced by Asian Dispatch and originally published on March 13, 2026. It has been republished by Center for Investigative Reporting with permission.

Credits:

Reporter: Shivansh Srivastava

Editor: Kritika Goel

Producer: Anoushka Dalmia

Hot this week

AI Tools & Social Norms are Making the Internet Unsafer For Women

As generative AI usage rises in India, image, video,...

Energy minister under fire as NPP confronts first no-confidence motion over corruption charges

COLOMBO – Sri Lanka’s ruling National People’s Power (NPP)...

Six extraordinary stories on intangible losses due to climate change

There are many climate change stories but those that...

From maritime tensions to economic recovery: Can Sri Lanka navigate the next decade?

Speed Read: Sri Lanka’s relationship with neighboring India remains central...

Holding the Power of Big Tech Accountable

by Sandrine Rigaud • March 24, 2026 Editor’s Note: This is the...

Topics

AI Tools & Social Norms are Making the Internet Unsafer For Women

As generative AI usage rises in India, image, video,...

Energy minister under fire as NPP confronts first no-confidence motion over corruption charges

COLOMBO – Sri Lanka’s ruling National People’s Power (NPP)...

Six extraordinary stories on intangible losses due to climate change

There are many climate change stories but those that...

From maritime tensions to economic recovery: Can Sri Lanka navigate the next decade?

Speed Read: Sri Lanka’s relationship with neighboring India remains central...

Holding the Power of Big Tech Accountable

by Sandrine Rigaud • March 24, 2026 Editor’s Note: This is the...

Counter narratives and tackling harmful content

Ove the past year, the Center for Investigative Reporting...

Sri Lanka’s missing tuberculosis patients: 5,000 cases annually go undetected

Speed Read: Up to 5,000 tuberculosis patients annually go undetected...

Iran ship crisis puts Sri Lanka in global spotlight: Risks, opportunities, and a diplomatic tightrope

Speed Read: Sri Lanka faces a diplomatic tightrope, balancing transparency...

Related Articles

Popular Categories