Is it illegal to be gay in China?
The myth · False
「Is homosexuality against the law in China? Can you be arrested for it?」
The facts
No. Since the 1997 criminal law revision, consensual same-sex conduct between adults is not a crime in mainland China — but the flip side matters too: same-sex marriage has no legal recognition there.
The word “illegal” hides two very different questions, and prying them apart is the only way to answer honestly:
- Is it a crime? No. In mainland China, consensual same-sex conduct between adults is not a criminal offense.
- Is there marriage or partnership recognition? Also no. The mainland recognizes neither same-sex marriage nor civil unions.
The first answer dispels fear; the second dispels false comfort. You need both to see clearly.
Decriminalization: 1997 is the dividing line
The PRC’s criminal law never named homosexuality as an offense. What it had was “hooliganism” (liumang zui) — a catch-all offense in the 1979 criminal code that was, in practice, sometimes applied to same-sex conduct. The 1997 revision of the Criminal Law abolished hooliganism, and since then consensual, private same-sex activity between adults has not been a crime. Four years later, in 2001, China’s psychiatric diagnostic standard CCMD-3 depathologized homosexuality. So the accurate summary is: not a crime, and not a disease.
In the law’s eyes, strangers by default
- Mainland law does not recognize same-sex marriage. A couple together for decades are, in the law’s eyes, strangers by default — no automatic rights to hospital decision-making, inheritance, or joint property.
- The most practical tool currently available is voluntary guardianship (yiding jianhu, Article 33 of the Civil Code): an adult with full legal capacity can designate, in a written and usually notarized agreement, a trusted person — including a same-sex partner — to act as their guardian if they lose capacity. Combined with wills and property agreements, it lets couples assemble partial protections piece by piece.
Three jurisdictions, three answers
“China” in headlines often blurs three very different legal realities:
- Mainland China: decriminalized since 1997; no marriage or partnership recognition.
- Taiwan: full marriage equality since 2019, when a dedicated statute implemented the Constitutional Court’s Interpretation No. 748.
- Hong Kong: no same-sex marriage, but a line of court rulings has forced piecemeal recognition of overseas same-sex marriages in specific areas — dependant visas, civil-service spousal benefits, taxation — and in 2023 the Court of Final Appeal went further, ordering the government to establish an alternative framework for recognizing same-sex partnerships.
When “that’s illegal” is used as a threat
“What you’re doing is illegal” is a threat that gets used against people in China — sometimes by frightened parents repeating a misconception, sometimes by scammers running extortion schemes. The facts are your armor: you are not breaking the law. If someone demands money under threat of “reporting” you, the crime being committed is theirs — extortion — not yours. Preserve evidence, put your physical safety first, and see our safety guide. Knowing the legal reality you actually live in is itself a form of protection.
Sources
- Criminal Law of the People's Republic of China, 1997 revision — removal of the "hooliganism" offense
- Chinese Society of Psychiatry (2001), Chinese Classification of Mental Disorders, 3rd edition (CCMD-3)
- Civil Code of the People's Republic of China, Article 33 — voluntary guardianship (in force 2021)
- Taiwan, Act for Implementation of Judicial Yuan Interpretation No. 748 (2019)
- Hong Kong Court of Final Appeal, Sham Tsz-kit case (2023) — government ordered to create an alternative framework recognizing same-sex partnerships
Last verified: 2026-07-20 ·Community review in progress