Homosexuality in Afghanistan is a criminal offense punishable by flogging, imprisonment, and, in some cases, death. Under the Taliban’s Penal Code for Courts, a single homosexual act carries two years in prison, and repeated offenses can be punished by execution with the Supreme Leader’s approval. The 2024 Propagation of Virtue and Prevention of Vice Law also empowers morality police to detain, fine, or flog people for same-sex conduct without a court proceeding. For LGBTQ Afghans who escape the country, asylum under the 1951 Refugee Convention and national asylum systems like the United States’ is available, and the principle of non-refoulement bars return to Afghanistan.
What the Law Says
Afghanistan’s legal system now rests on a strict interpretation of Sharia administered by judges appointed by and answerable to the Supreme Leader, Hibatullah Akhundzada. The 2004 Constitution was suspended when the Taliban retook Kabul in August 2021, and there is no independent judiciary, no separation of powers, and no mechanism for challenging a conviction.1Afghanistan Analysts Network. Inside the Islamic Emirate’s Penal Code: Crime, Punishment and Authority in Afghanistan
The 2024 Virtue and Vice Law
In August 2024, the Taliban enacted the Propagation of Virtue and Prevention of Vice Law, which explicitly lists homosexuality and lesbianism among the acts state enforcers must prevent.2Afghanistan Justice Organization. Translated Taliban Law Vice and Virtue Enforcers, called muhtasibin, can impose verbal warnings, financial penalties, and up to three days of detention without going through a court. The law also criminalizes “creating conditions or means” for homosexuality, so anyone who facilitates a meeting or provides a gathering space can be punished as well. The UN Special Rapporteur on human rights in Afghanistan noted a significant escalation in corporal punishments for “sodomy” beginning in September 2024, directly after the law took effect.3European Union Agency for Asylum. 4.5. LGBTIQ+ Persons
The Penal Code for Courts
The Taliban’s Penal Code for Courts, signed by the Supreme Leader in early 2026, sets the formal criminal penalties. A “homosexual act” carries two years in prison. If the conduct is classified as habitual, the Code authorizes the death penalty, but only with the Imam’s personal approval.1Afghanistan Analysts Network. Inside the Islamic Emirate’s Penal Code: Crime, Punishment and Authority in Afghanistan The Code lists people who “repeatedly commit homosexual acts” and those who have “intercourse other than through the frontal channel” among eleven categories eligible for discretionary execution “if the interests of the general public would be served.” The word “habitual” is undefined and left entirely to judicial interpretation.
How Punishments Are Imposed in Practice
Most punishments for same-sex conduct fall under ta’zir, meaning discretionary penalties not fixed by the Quran or Hadith. This classification reflects the Hanafi position that sodomy does not rise to the level of a hudud offense, but it gives judges broad latitude to impose flogging, imprisonment, fines, or any combination.
Flogging is the most commonly documented penalty. Data from LGBTQ advocacy organizations indicates that at least 98 LGBTQ individuals were subjected to public punishment between 2022 and 2024, with flogging typically ranging from 25 to 39 lashes and often combined with imprisonment.3European Union Agency for Asylum. 4.5. LGBTIQ+ Persons UN experts have confirmed that 39 lashes is a frequently imposed sentence for moral offenses and that corporal punishment is “frequently combined with sentences of imprisonment.”4OHCHR. Afghanistan: UN Experts Condemn Taliban’s Surging Use of Corporal Punishment The Taliban publicly flogged more than 1,030 people during 2025 for various offenses described as contrary to Islamic law.
The most extreme reported punishment is “burial under a wall,” a method in which a structure is collapsed onto the condemned person. The UN Special Rapporteur has documented individuals in same-sex relationships being sentenced to this form of execution.3European Union Agency for Asylum. 4.5. LGBTIQ+ Persons Death sentences require review by an appellate court, the Supreme Court, and final approval from the Supreme Leader.5OHCHR. UN Expert Condemns Latest Execution in Afghanistan
Although Hanafi jurisprudence traditionally requires either four adult male eyewitnesses or a confession repeated four times to impose a hudud sentence, those standards do not bind judges applying ta’zir. A conviction can rest on a single witness, circumstantial evidence, digital communications found on a phone, or a single coerced confession. Detainees are routinely held without access to legal counsel, and interrogation methods remain opaque and largely unmonitored.4OHCHR. Afghanistan: UN Experts Condemn Taliban’s Surging Use of Corporal Punishment
How People Are Identified and Caught
The Ministry for the Propagation of Virtue and the Prevention of Vice is the primary enforcement body. Officers conduct regular patrols and checkpoints in both urban and rural areas.6Afghanistan Analysts Network. The Propagation of Virtue and Prevention of Vice Law, Translated Into English
Phone inspections are one of the most feared tools. Taliban fighters and morality police routinely stop citizens in the street and demand their phones, checking photo galleries, contact lists, messages, and social media. UNAMA has documented these warrantless phone inspections in multiple reports. A single photograph, chat log, or saved contact can trigger immediate arrest.
Community surveillance reinforces formal enforcement. Neighbors and family members are encouraged to report suspicious conduct, and once a report is filed, morality police can enter private homes. The 2024 law technically instructs enforcers not to “pry into people’s private sins” or enter homes unnecessarily, but the breadth of the mandate and the absence of oversight make that limit meaningless in practice.6Afghanistan Analysts Network. The Propagation of Virtue and Prevention of Vice Law, Translated Into English Relatives of LGBTQ individuals who have already fled the country have faced reprisals, including detention, beatings, and harassment.3European Union Agency for Asylum. 4.5. LGBTIQ+ Persons
Documented Scale of Persecution
More than 50 LGBTQ individuals have been detained since August 2021, according to monitoring by the Afghan LGBT Organization. At least 98 LGBTQ people were publicly punished across 14 Afghan provinces between 2022 and 2024, including stoning, flogging, and wall-collapse executions, with additional cases reported in at least ten other provinces.3European Union Agency for Asylum. 4.5. LGBTIQ+ Persons
Transgender individuals face especially brutal treatment. Reports from organizations working with Afghan LGBTQ communities document genital mutilation, electric shock administered as a form of “therapy,” and gang rape of transgender persons in detention. Between October and December 2025 alone, UNAMA documented corporal punishment against at least 287 individuals for various offenses.7United Nations Assistance Mission in Afghanistan. Update on the Human Rights Situation in Afghanistan Oct-Dec 2025 These numbers almost certainly undercount reality. Many punishments occur in rural areas with no independent observers, and victims rarely come forward given the risk of additional punishment or social ostracism.
Asylum Options for LGBTQ Afghans
For LGBTQ Afghans who manage to leave the country, international law provides a framework for protection. The 1951 Refugee Convention, as expanded by the 1967 Protocol, defines a refugee as someone with a well-founded fear of persecution on account of race, religion, nationality, membership in a particular social group, or political opinion.8OHCHR. Convention Relating to the Status of Refugees International courts and immigration tribunals broadly recognize LGBTQ status as defining a “particular social group” under this framework.
“Well-founded fear” does not require certainty of harm. Under U.S. asylum regulations, an applicant establishes it by showing they face persecution in their country of nationality based on a protected ground, that there is a reasonable possibility of suffering that persecution upon return, and that they are unable or unwilling to return because of that fear.9eCFR. 8 CFR 1208.13 – Establishing Asylum Eligibility Given Afghanistan’s documented pattern of punishment for same-sex conduct, this element is more straightforward to establish than in many asylum cases, though applicants still need credible personal testimony and supporting country-conditions evidence.
The principle of non-refoulement prohibits governments from returning any person to a country where they would face torture, cruel or degrading treatment, or other irreparable harm. It applies regardless of immigration status and is recognized as a binding norm of international law.10OHCHR. The Principle of Non-Refoulement Under International Human Rights Law Internal relocation within Afghanistan is generally not considered a viable alternative, because the Taliban controls the country and the Virtue and Vice Law applies in every province.
Filing in the United States
The United States has recognized sexual orientation as a basis for asylum since the Board of Immigration Appeals designated its 1990 decision in Matter of Toboso-Alfonso as precedent in 1994, establishing that sexual orientation can constitute membership in a particular social group. Later rulings extended this protection to gender identity, to persecution based on perceived sexual orientation even if the applicant is not LGBTQ, and to situations where the persecutor’s specific intent was not to cause harm but the victim experienced the treatment as harmful.
Afghan nationals may also access the U.S. Refugee Admissions Program through Priority 1 referrals, which allow UNHCR, embassies, and designated nongovernmental organizations to refer individuals with compelling protection needs for resettlement processing. The P-2 designation for Afghan nationals has primarily targeted those with ties to U.S. government operations, media, or nongovernmental organizations and does not include a specific LGBTQ category.11USCIS. The United States Refugee Admissions Program (USRAP) Consultation and Worldwide Processing Priorities Refugees must generally be outside Afghanistan to be processed, and fulfilling a processing priority does not guarantee admission. There is no filing fee for an asylum application, and legal aid organizations and pro bono attorneys handle many LGBTQ asylum cases. The far bigger obstacle for most Afghan LGBTQ individuals is getting out of the country safely in the first place.