Discover Islam
Relationships & Sexuality

What is the Islamic position on homosexuality?

Editorial reviewLast reviewed: 17 September 20263 min read

Short answer

Mainstream Islamic scholarship holds that same-sex sexual acts are not permitted, based on Qur'anic references to the story of Lut (Lot) and related texts. At the same time, mainstream Islamic teaching does not endorse vigilante violence, harassment, or hatred toward individuals — experiencing same-sex attraction is generally distinguished from acting on it, and how Muslims should personally treat gay people is a distinct question from the underlying theological position, one this page addresses directly.

Understanding the question

This is one of the more sensitive topics on this site, and we try to represent the mainstream Islamic position honestly, distinguish it clearly from questions of personal treatment and legal punishment, and avoid both softening and exaggerating it.

The mainstream theological position

Islamic scripture and mainstream classical and contemporary scholarship hold that sexual relations are religiously sanctioned only within marriage between a man and a woman, and that same-sex sexual acts fall outside what is religiously permitted — a position drawn primarily from the Qur’anic narrative concerning the Prophet Lut (Lot) and his people (7:80-84, and parallel passages), understood by the overwhelming majority of classical and contemporary Islamic scholarship as addressing same-sex conduct specifically, alongside broader themes of injustice described in the same narrative.

Attraction versus action

Mainstream contemporary Islamic scholarship, drawing on the broader Islamic legal principle that intention and uncontrolled inclination are treated differently from deliberate action, generally distinguishes between experiencing same-sex attraction (not itself treated as sinful, since it is not chosen) and acting on it. This distinction is increasingly emphasized in contemporary Muslim pastoral and counseling contexts specifically because many gay Muslims describe struggling with reconciling their faith and their experience of attraction — a genuine and difficult personal reality this site does not want to minimize.

How gay individuals should be treated

This is a distinct question from the theological position on the act itself, and mainstream Islamic teaching does not endorse harassment, violence, hatred, or vigilante punishment toward gay individuals. Classical Islamic criminal law did historically categorize same-sex acts under serious offenses with severe theoretical penalties, similar to other sexual offenses outside marriage — but, as discussed on our Hudud page, these classical criminal categories carried deliberately strict evidentiary requirements that made prosecution rare, and are not applied as state law in the overwhelming majority of Muslim-majority countries or communities today, including in Sweden, where Muslims are subject to Swedish law, which protects LGBT individuals from violence and discrimination.

Where this is genuinely difficult

We won’t pretend this is a comfortable topic, either for gay individuals navigating faith, or for the broader conversation between Islamic teaching and contemporary Western social attitudes toward sexuality. Muslim scholars and communities hold a range of pastoral approaches to supporting gay Muslims while maintaining the traditional theological position, and some contemporary Muslim voices argue for reinterpretation of the underlying texts — a minority position within mainstream scholarship, represented here for completeness rather than as the dominant view.

Common misunderstanding

Some assume the Islamic theological position on same-sex acts translates directly into support for violence or legal persecution of gay individuals in every context. As explained above, mainstream Islamic teaching separates the theological position from questions of personal treatment, and does not endorse vigilante violence or hatred — a distinction that matters and is often lost in public discussion of this topic.

Conclusion

Mainstream Islamic scholarship holds that same-sex acts are not religiously permitted, while distinguishing this from both the experience of attraction itself and questions of how individuals should be treated — a position this site presents honestly, without either softening the theological stance or endorsing hostility toward gay individuals, which mainstream Islamic teaching does not support.

This article explains Islamic teaching on a sensitive topic for educational purposes. It is not a personal fatwa, and is not intended to demean anyone on the basis of their experience or identity.

This article explains Islamic teachings for educational purposes. It is not a personal fatwa or legal advice. For guidance on your specific situation, consult a qualified local scholar.

Sources & Further Reading

Qur'an

  • Surah 7 7:80-81 — Part of the narrative of the Prophet Lut (Lot) and his people, cited as the primary Qur'anic textual basis for the position that same-sex acts are prohibited.

Still have a question?

No question is too difficult, and no name is required. Ask privately and get a thoughtful, sourced answer.