Iran LGBTQ Laws: Penalties, Gender Transition, and Asylum

LGBTQ laws in Iran run on two tracks that contradict each other. The Islamic Penal Code criminalizes every form of same-sex sexual conduct, with penalties that climb to execution, while a separate legal pathway, grounded in a 1987 fatwa, permits and formally supervises gender reassignment surgery. The result is a system in which transgender identity gets limited legal recognition, same-sex attraction is a capital matter, and the space between the two creates its own harms.

Penalties for Sex Between Men

Same-sex offenses sit in Book Two of the Islamic Penal Code under “hudud,” a category of crimes whose penalties are treated as divinely fixed and leave judges almost no discretion.1Refworld. Iran: Islamic Penal Code The code splits offenses by the physical nature of the act and by each person’s role.

Articles 233 and 234 cover penetrative sex between men, called “liwat.” The receiving partner faces execution regardless of marital status or consent. The insertive partner faces 100 lashes if unmarried, and execution if married or if force was involved. Death sentences are carried out by hanging after judicial review.

Non-penetrative sexual contact between men, called “tafkhiz,” carries 100 lashes for each person under Article 236. The code’s general repeat-offense rule applies: three convictions with the punishment carried out each time, and the fourth conviction brings a death sentence.2Iran Human Rights Documentation Center. Islamic Penal Code of the Islamic Republic of Iran – Article 136

Penalties for Sex Between Women

Article 238 handles sexual contact between women, called “musaheqeh,” with a penalty of 100 lashes for each person. There is no distinction between active and passive partners, no distinction between Muslim and non-Muslim, and marital status does not change the sentence.3Refworld. Iran: Islamic Penal Code – Article 240 The same repeat-offense escalation applies, so a fourth conviction after three completed punishments becomes a death sentence.2Iran Human Rights Documentation Center. Islamic Penal Code of the Islamic Republic of Iran – Article 136

How Cases Are Proved

On paper, the evidence threshold is high. Article 232 requires a confession repeated four times before a judge, given voluntarily by someone of sound mind and legal age. Without a confession, the alternative is testimony from four adult male witnesses who all observed the same act and can describe it in detail.1Refworld. Iran: Islamic Penal Code

Article 211 largely dissolves that protection. Under the doctrine of “Knowledge of the Judge” (Elm-e Qazi), a judge may convict on circumstantial evidence that produces personal certainty of guilt, provided the judge documents what produced that certainty. The permitted sources include expert opinions, site inspections, local inquiries, statements from informed persons, and law enforcement reports.4Refworld. Iran: Islamic Penal Code – Article 211 Digital records, forensic reports, and behavioral assessments can all form the basis for conviction. For most defendants, this is where the four-witness safeguard disappears.

How the Laws Are Enforced

Enforcement reaches well past traditional policing. The morality police, known as the Guidance Patrol, operate under national law enforcement command with broad authority over public conduct. Their main work involves dress codes and public behavior, but encounters escalate quickly for anyone whose gender expression or behavior draws attention.

The more targeted work happens online. Iran’s cyber police infiltrate dating apps and social media spaces used by LGBTQ people, creating fake profiles, starting conversations, and arranging in-person meetings that end in arrest. Chat logs, photos, and app activity gathered through these operations become the evidence used at trial. Both the regular police and the Islamic Revolutionary Guards Corps participate in this surveillance.

Online advocacy carries its own exposure. Authorities have prosecuted LGBTQ activists under the separate charge of “corruption on earth,” which sits in a different chapter of the penal code from the sex-offense provisions and carries its own death sentence. That makes public speech about LGBTQ issues legally dangerous on its own terms, independent of any sexual conduct.

The Legal Pathway for Gender Transition

Alongside this criminal framework, Iran recognizes gender transition through a formal, state-supervised process. The foundation is a 1987 fatwa by Ayatollah Khomeini permitting gender reassignment surgery for transgender individuals, and the resulting system has no parallel elsewhere in the region.

An applicant must first obtain a formal diagnosis of gender identity disorder from a state-approved psychiatrist. That evaluation typically includes an observation period and counseling that runs from six months to two years. The Legal Medicine Organization then conducts its own physical and psychological evaluations. If those confirm the diagnosis, the applicant petitions the Family Court, which reviews the records and holds a hearing. A favorable order authorizes both the surgery and the later update of legal documents, which the National Organization for Civil Registration issues after surgery is complete. Start to finish, the process typically takes six months to over a year.

The State Welfare Organization (Behzisti) has at times announced subsidies for transition-related surgery, with figures of around 4 to 5 million toomans mentioned by officials, but disbursements vary widely, some recipients have reported receiving under one million toomans, and in parts of the country the program has been suspended. Where it operates, it pays hospitals directly and covers only a fraction of surgical costs.

When Surgery Becomes Coercion

The existence of a legal transition pathway alongside criminalized homosexuality produces a specific harm. Because changing one’s legal sex is lawful but same-sex attraction is not, gay and lesbian Iranians face pressure to undergo gender reassignment surgery as a way to make a same-sex relationship appear heterosexual on paper.

Reports describe pressure arriving from several directions. Mental health professionals at state-run clinics have told gay patients they are “sick” and directed them toward surgery. Families, on learning of a relative’s homosexuality, have offered surgery as the alternative to disownment or violence. Law enforcement officers who encounter someone whose appearance does not match their documents have told them to “go and change your gender.” One estimate cited in reporting on the issue suggests roughly 45 percent of people who have undergone gender reassignment surgery in Iran are not transgender but gay. No law requires this, and it is not stated government policy. The pressure comes from the shape of the system rather than from any single rule inside it.

Life After Legal Recognition

Legal recognition after surgery does not resolve the social and economic consequences. Employment is one of the sharpest problems. Iran’s public sector hiring system, known as “gozinesh,” screens applicants for ideological loyalty and religious adherence, examining beliefs, political affiliations, and personal history. It does not name LGBTQ people, but it effectively excludes anyone whose background raises questions about conformity with state-approved moral standards.

Family rejection is common, and surgeons performing these procedures have reported receiving threats from patients’ relatives. People who cannot afford a full course of surgery, or who complete only part of it, can find that the government refuses to update their legal documents, leaving them without either legal recognition or social acceptance. Reports also describe significant rates of post-surgical regret and, without adequate psychological support, elevated suicide risk.

Asylum Outside Iran

For those who leave, asylum is the main legal route to protection. The United Nations High Commissioner for Refugees recognizes persecution based on sexual orientation or gender identity as a basis for refugee status. UNHCR guidance states that applicants cannot be denied refugee status on the theory that they could avoid persecution by hiding their identity, and that forced gender reassignment surgery can amount to torture or inhuman treatment. Detention based solely on sexual orientation or gender identity is treated as arbitrary and, ordinarily, as persecution.5UNHCR. Guidelines on International Protection No. 9 – Claims to Refugee Status Based on Sexual Orientation and/or Gender Identity

In the United States, immigration courts have treated sexual orientation as a basis for asylum since 1990, when the Board of Immigration Appeals held that a gay man persecuted in Cuba qualified as a member of a “particular social group,” one of the protected grounds for asylum. Federal courts have since affirmed that LGBTQ individuals constitute a recognized social group, including in cases involving perceived homosexuality where the applicant was not actually gay.6USCIS. Nexus – Particular Social Group (PSG) RAIO Training Module An applicant must show membership in a group whose shared characteristic is immutable or that members cannot be required to change, with defined boundaries, viewed by the surrounding society as distinct. Iran’s penal code and its documented enforcement supply the evidence of well-founded fear.

Credibility assessments in these cases can be invasive, and UNHCR guidance advises decision-makers to focus on an applicant’s personal experience of difference and stigma rather than detailed questions about sexual activity. Organizations such as 6Rang, the Iranian Lesbian and Transgender Network, work specifically with LGBTQ Iranians and are a useful starting point for guidance on the asylum process and on safety resources along the way.