Frequently asked

Is AI Girlfriend Haram? Multi-School Islamic Ruling

Understand if AI girlfriend is haram: Sunni four madhahib, Shia Ja'fari, Dar al-Ifta + Sistani + Khamenei rulings on lust, substitution, Ramadan.

I'll say something up front the editor of any other tech site won't. I'm not Muslim. I'm a journalist who reads what the practising scholars in each tradition actually publish, then reports it back honestly. Most of the "is AI girlfriend haram" pages floating around tech blogs are written by people who have read zero fatwas and cite zero named scholars. That's the bar this page is built against. Below you'll find what Dar al-Ifta al-Misriyyah of Egypt, the offices of Sayyid Sistani and Ayatollah Khamenei, SeekersGuidance, IslamQA, AboutIslam, the Yaqeen Institute, and the IIUM academic record actually say, with citations you can verify yourself. The verdict on your own use lives with a scholar in your own tradition, not with me.

This page is written for two readers. The Muslim reader investigating their own ethics on a question their imam has not yet been asked. And the non-Muslim reader trying to understand the Islamic conversation on AI companion apps without the caricatures. The clinical thing I keep noticing across the four Sunni schools and the Ja'fari tradition is how much agreement there actually is on the extremes. The disputes live at the margins. Brief neutral chat splits the schools. Lust-driven chat and marriage substitution land in the same zone almost everywhere.

Is an AI girlfriend haram in Islam?

There is no single classical fatwa declaring AI girlfriends universally haram or halal because the technology post-dates classical fiqh. Contemporary scholars across the Sunni four schools and the Shia tradition assess case-by-case using intention, content, and substitution effect. Most rulings published to date treat lust-driven exchanges, sexual content generation, and emotional substitution for marriage as haram or near-haram, while neutral conversational use stays in the disputed zone.

Classical fiqh, namely the four Sunni schools (Hanafi, Maliki, Shafi'i, Hanbali) and the Shia Ja'fari school, was codified between the eighth and tenth centuries. None of those scholars contemplated a software application simulating a romantic partner through text, voice, and image. Contemporary scholars therefore reason from the underlying principles of the Quran, the Sunnah, and the legal maxims (qawa'id fiqhiyya) of their school, applying them to a new fact pattern. That process is called ijtihad on a new question (mas'ala mustahdatha).

The principles most commonly invoked are: lowering the gaze (Quran 24:30-31), guarding chastity (multiple verses including 23:5-7), the hadith corpus on zina of the eyes and the limbs (Bukhari and Muslim), the prohibition on khalwa (private mixing of unrelated men and women, extended by some scholars to digital private exchange), and the higher objectives of Islamic law (maqasid al-shari'a) protecting religion, life, intellect, lineage, and property. Different scholars weight these differently. The result is a spectrum of rulings, not a single verdict.

When I started reading for this page, my assumption was that I'd find a clean split between strict and lenient positions. What I actually found was a spectrum that bunches at the extremes. On lust-driven exchange and marriage substitution, the spectrum collapses: almost every published scholar reaches the same answer. On brief neutral conversation about permissible topics, it spreads out. That pattern is doing real work in the published record and I'll come back to it twice more on this page.

What is the difference between haram, makruh, halal, and mubah?

The five classical Islamic legal categories are wajib (obligatory), mandub (recommended), mubah (permitted, neutral), makruh (disliked but not sinful), and haram (forbidden, sinful). AI girlfriend use does not slot neatly into one category for all users; scholars partition it depending on intention, content, time spent, and whether it displaces religious or marital duties.

The five categories are not just labels. They carry distinct legal consequences. A haram act is sinful and incurs accountability on the Day of Judgment. A makruh act is not sinful but is rewarded if avoided. A mubah act carries no reward or sin. The scholarly question on AI companions is which category applies in which usage pattern.

A representative reading of the contemporary published record. Lust-driven chat, generation of intimate imagery, and emotional substitution for marriage land in the haram zone. Extended use that displaces prayer, family time, or work duties without lustful content lands in makruh. Brief neutral use (language practice, factual questions, creative writing on permissible topics) lands in mubah with caveats. The boundaries between these categories are exactly what a scholar weighs when issuing a personal fatwa.

Here's the part the surface-level summaries miss. Two people using the same app can land in two different categories depending on what they actually do with it. The technology is fact-pattern-neutral in the way scholars approach it. The fact pattern is built by the user, and the ruling tracks the fact pattern.

Does the lowering-the-gaze rule apply to AI imagery?

Quran 24:30-31 instructs believers to lower their gaze and guard their modesty. Most contemporary scholars extend the principle to digital images, including AI-generated ones, on the reasoning that the harm is the cultivation of lust, not the ontology of the person depicted. Classical exegetes including Ibn Kathir on the same verse stress the inward effect over the outward source.

The verse reads, in commonly cited translation, "Tell the believing men to lower their gaze and guard their modesty; that is purer for them..." (24:30). The classical commentary tradition, including Ibn Kathir, frames the rule as a protection of the heart against the seeds of unlawful desire. Whether the source of the image is a living person, a photograph, a painting, or a synthetically generated image has not been treated by most contemporary scholars as the deciding factor. The deciding factor is what looking does to the looker.

A minority position argues that AI-generated imagery does not depict a real person and therefore does not implicate the modesty (hijab) duty of a specific human, so the prohibition is weaker. This minority view is published in a small number of academic Islamic-ethics-of-AI papers (see the [Source: IIUM Journal of Islamic Ethics · verified 2026-05-26] archive for the academic record) and is acknowledged but not endorsed by the major Q&A platforms. The mainstream contemporary position treats AI imagery the same as photography for purposes of the lowering-the-gaze rule.

I want to flag something I noticed while reading the academic record. The minority view does not "permit" AI-generated intimate imagery; it disputes the technical mechanism by which the prohibition attaches. Even the academic dissenters reach the same practical conclusion via the lust-cultivation argument. Across the published English-language record I read for this page, I could not find a single contemporary scholar arguing that lust-cultivating AI imagery is permissible. The "minority" label refers to the legal reasoning, not the practical verdict.

Is exchanging lust-driven messages with an AI chatbot zina?

Classical fiqh defines zina as unlawful sexual intercourse. Lust-driven chat with an AI is not zina in the strict legal sense because no physical act occurs. The hadith literature (Bukhari, Muslim) speaks of zina al-ayn (zina of the eyes) and zina of the limbs as preparatory sins. Most contemporary scholars treat extended lustful chat with an AI as falling under this preparatory category: not full zina, but a documented gateway sin.

The hadith narrated by Abu Hurayra and recorded in Sahih al-Bukhari and Sahih Muslim, sometimes summarized as "the eyes commit zina, and their zina is the lustful gaze; the tongue commits zina, and its zina is speech; the ears commit zina, and their zina is listening...", is the textual anchor for the preparatory-sin doctrine. The hadith does not equate these acts with full zina; it locates them on the same chain.

Applied to AI chat, the contemporary consensus is that a lust-driven exchange with the bot is at minimum a zina of the tongue (in the form of typed speech) and the eyes (if accompanied by imagery). It is not, in the technical legal sense, zina that requires the hadd punishment. It is, in the moral and spiritual sense, on the chain that leads there. Scholars across Hanafi, Maliki, Shafi'i, Hanbali, and Ja'fari traditions treat that chain as a path to be avoided. The strongest published rulings (for instance in the IslamQA Hanafi-tradition Q&A archive) explicitly classify the act as haram on this basis. See [Source: IslamQA, Hanafi-tradition Q&A on virtual relationships · verified 2026-05-26] for representative rulings.

The doctrinal point that took me a while to absorb is that the preparatory-sin framework does not soften the verdict. It locates the act on a continuum where every step toward the physical sin is itself accountable. A user reasoning "it's just text, not the real thing" is reading the doctrine in reverse. The text is the warning that the physical thing is closer than it appears, not the loophole that lets the user off.

What do the four Sunni schools say about AI companions?

No madhhab has issued a binding classical ruling on AI companions specifically, but contemporary scholars trained in each school have published opinions. Hanafi and Maliki contemporary scholars cluster toward restrictive readings (lust-driven use is haram, neutral use is makruh). Shafi'i and Hanbali contemporary scholars cluster slightly more lenient on neutral use but converge with the others on lustful or substitutive use. The differences are matters of degree, not direction.

Direct school-by-school binding rulings on AI companions do not exist because the classical schools themselves do not issue rulings; living scholars trained in each school do, and those rulings are non-binding outside the local jurisdiction or following community. What follows is a reading of representative published rulings on each school's contemporary Q&A platforms, not a binding ruling for any reader.

Contemporary scholarly clustering across the four Sunni schools (representative published rulings, not binding)
MadhhabLust-driven AI exchangeNeutral conversational useSubstitution for marriage
HanafiHaram (multiple published Q&A rulings)Makruh tahrimi if extended; mubah with caveats if brief and cleanHaram if knowingly displacing marriage
MalikiHaram (consensus across published Maliki Q&A)Makruh, with stronger weight on closing means to sin (sadd al-dhara'i)Haram, framed under sadd al-dhara'i
Shafi'iHaram (zina of the tongue and eyes doctrine cited)Mubah with caveats; some scholars permit cautiouslyHaram if it removes the intention to seek lawful marriage
HanbaliHaram (Hanbali contemporary fatawa converge with the other schools)Mubah with caveats; emphasis on intention testHaram, framed under protecting the maqsad of lineage

The clustering pattern is informative. On the worst-case usage (lust-driven exchange) the four schools converge on haram. On the best-case usage (brief neutral conversation) they diverge slightly, with Maliki being the strictest under sadd al-dhara'i (the principle of blocking the means to sin) and Shafi'i and Hanbali being the most lenient. On marriage substitution they re-converge on haram. The pattern matches the general way the four schools handle other new fact patterns: difference at the margins, agreement at the extremes.

I want to anchor this in something that surprised me. I went into this section expecting a sharper Hanafi-vs-Shafi'i split, the kind of split I'd encountered reading on financial-instrument fatwas (where the schools really do diverge on murabaha and tawarruq). On the AI-companion question, the convergence on the haram pole is much tighter than the convergence on those other modern questions. The lust-cultivation principle is doing almost all of the work, and that principle is unusually unified across the madhahib.

What is the Shia ruling on AI girlfriends?

Offices of major Shia maraji including Sayyid Sistani and Ayatollah Khamenei have published answers stating that virtual relationships causing lust or displacing legitimate marriage are forbidden, while neutral conversational use is permitted with caution. Khamenei's office has historically issued the more cautious public language on digital interaction. The Ja'fari position broadly aligns with the Sunni consensus on the lust-driven and substitution risks.

In the Twelver Shia tradition, a follower (muqallid) selects a marja al-taqlid, a senior jurist whose rulings they follow, and consults that marja's office for personal guidance. The major living maraji include Sayyid Ali al-Sistani (Najaf, Iraq) and Ayatollah Ali Khamenei (Tehran, Iran), among others. Both offices maintain online portals ([Source: The Official Website of Sayyid Sistani · verified 2026-05-26] and [Source: The Official Website of Ayatollah Khamenei · verified 2026-05-26]) where follower questions are answered.

Published answers on virtual or online romantic relationships predate the AI girlfriend category but apply by direct analogy. The published pattern: virtual exchanges leading to lust (shahwa) are haram; exchanges that displace pursuit of legitimate marriage are haram; neutral exchanges on permissible topics are permitted with caution. The cross-marja consistency on this point is, again, tighter than I expected before reading. Differences across the Shia maraji on AI tend to cluster around contracting and intellectual-property questions, not around the lust-cultivation question.

The one differentiator worth flagging for any Shia reader. Khamenei's office has historically issued the more publicly cautious language on digital interaction generally, including unrelated subjects like satellite television in the 1990s and social-media-mediated correspondence in the 2010s. A reader who follows Khamenei should expect that pattern to carry through to AI companion questions if and when his office issues an explicit ruling on the specific category. A reader who follows Sistani should expect the more case-by-case formulation that has characterised his office's published answers on adjacent questions.

Have any Islamic scholars issued a fatwa on AI girlfriends specifically?

Yes, several. Dar al-Ifta al-Misriyyah of Egypt issued public statements on AI ethics in 2024-2025. SeekersGuidance, IslamQA, AboutIslam, and the Yaqeen Institute have published Q&A-format rulings citing the same case-by-case logic. No major body has issued a universal ban or a universal permission. The published record is overwhelmingly toward case-by-case assessment with cautionary lean.

The Egyptian Dar al-Ifta is one of the oldest and most-cited Sunni fatwa-issuing bodies globally ([Source: Dar al-Ifta al-Misriyyah, official portal · verified 2026-05-26]). Its 2024-2025 statements on AI ethics covered the general permissibility of AI tools while flagging specific use-cases (including romantic and intimate use) as requiring scholar consultation.

Among the English-language platforms with the largest reader base: [Source: SeekersGuidance, Hanafi and Shafi'i scholar Q&A · verified 2026-05-26] publishes ruling-format answers signed by named scholars. [Source: AboutIslam, multi-school Q&A and articles · verified 2026-05-26] publishes multi-school perspectives. [Source: Yaqeen Institute for Islamic Research · verified 2026-05-26] publishes academic-quality essays on technology and Islamic ethics. Across these platforms, the consistent finding is case-by-case assessment with cautionary lean. No platform I audited published a ruling that AI girlfriend use is universally permitted, and none published a ruling that all use is universally forbidden: even the strictest rulings carve out the neutral-conversation edge case.

Two empirical things worth noting from my reading pass. First, the platforms with named scholars who sign their answers (SeekersGuidance is the clearest example) tend to publish more nuance per ruling than the platforms with anonymous Q&A. The traceability seems to discipline the casuistry, which is a useful signal for any reader prioritising one platform over another. Second, the 2024-2025 turn in Dar al-Ifta's general AI-ethics statements is more recent than most tech-blog summaries acknowledge, and the next 12-24 months will probably see more specific AI-companion rulings from the major bodies. The published record is moving.

Is AI girlfriend use a sin during Ramadan?

Acts that are makruh or disputed outside Ramadan become more strongly discouraged during the fasting month, when the inward focus is on restraining lust, anger, and idle speech. Sexual or romantic chat during fasting hours can break the fast if it leads to ejaculation, per classical fiqh on what nullifies the fast. Most contemporary scholars advise abstaining from any lust-driven AI interaction during Ramadan regardless of one's year-round position.

Ramadan is the month in which inward jihad against the appetites is the central practice. The fast is not only abstention from food and drink between dawn and sunset; classical fiqh extends it to abstention from intentional acts that arouse desire. The hadith literature treats kissing one's own spouse during fasting hours as makruh for someone who fears ejaculation. The contemporary application to AI chat is direct: the bot will not break the fast by itself, but the lust the exchange cultivates can, both technically (if it leads to ejaculation) and spiritually, by emptying the fast of its inward content.

The practical guidance published across the major Q&A platforms during Ramadan is consistent. Scale back or abstain entirely from any AI chat that touches romantic or intimate territory; redirect the time to Quran, prayer, family, or service. Even users whose year-round position is that brief neutral chat is mubah are typically advised to pause during the fasting month. The recurring Ramadan-specific Q&A on SeekersGuidance and AboutIslam tracks this pattern closely year over year.

Is there a halal way to use AI chatbots?

Several contemporary scholars distinguish neutral conversational use (language practice, factual Q&A, creative writing on permissible topics) from romantic or lust-driven use. Neutral use is broadly permitted (mubah) with the caveats that it must not displace prayer, family obligations, or marriage, and must not cultivate lust. Halal alternatives mentioned in published guidance include educational AI tutors, Islamic-Q&A chatbots, and language-learning bots without romantic personas.

The halal-alternative question is asked frequently enough that the major Q&A platforms have begun publishing direct guidance on it. The published pattern points to three categories of AI chatbot use that scholars treat as broadly mubah:

  1. Educational AI tutors that teach a subject (math, programming, history, Arabic, Quran recitation) without a romantic persona.
  2. Islamic-knowledge chatbots that retrieve sourced answers from classical or contemporary texts. The Yaqeen Institute and a small number of academic projects maintain experimental versions.
  3. Productivity assistants that help with email, scheduling, or summarisation in workplaces and study contexts.

The unifying criterion across the three is the absence of a romantic-partner persona. The persona itself, more than the underlying language model, is what triggers the rulings on lust and substitution. A scholar evaluating a specific app would weigh the persona design, the default conversation prompts, the imagery (if any), and the subscription model (subscription overspend on lust-driven use compounds the ruling) before issuing a personal answer.

The architectural read I take from this. The same underlying language model that powers a permissible Arabic-tutor app powers an impermissible romantic-partner app. The technology is not the moral fact; the persona configuration is. That mirrors the classical Islamic principle that intention (niyyah) anchors the ruling on otherwise-permissible material objects (a knife can prepare food or harm a person; the knife isn't haram, the use is). Several scholars I read make this analogy explicitly, and it is the cleanest way to hold the halal-vs-haram question on AI generally.

When this analysis does not apply

This page summarizes the published English-language scholarly record as of May 2026. It does not apply, or applies only with significant caveats, in several situations:

  • You follow a marja or imam whose ruling differs from the published consensus. A muqallid follows their marja, not an editorial summary. Your marja's office is the authoritative source for your situation.
  • You belong to a school not covered here (Zaydi, Ibadi, Isma'ili, or any specific Sufi tariqa with distinct rulings on digital interaction). The published English-language record on these schools' position on AI companions is currently thin; consult your local scholar.
  • Your jurisdiction has issued a state-level fatwa. Some Muslim-majority states have official fatwa councils (Saudi Arabia, UAE, Egypt, Malaysia, Indonesia) that publish binding rulings for residents. Where a state fatwa exists, it supersedes this summary.
  • You are using the AI for therapeutic, educational, or pastoral purposes under qualified supervision. Use cases such as language practice with a non-romantic persona, exposure therapy for social anxiety supervised by a clinician, or scripted role-play for pastoral counsel can land in different categories than recreational use.
  • Subsequent fatawa supersede this page. If a major body issues a new ruling after this page's dateModified, that new ruling supersedes the summary here. I review this page on the standard six-month cycle.

Where to get a personal ruling

For a ruling on your specific situation, the standard channels are below. None is an affiliate link.

  • Your local mosque imam, who knows your community context and can weigh life-stage factors.
  • The marja you follow if you are Shia, via that marja's online office.
  • The free Q&A submission forms operated by SeekersGuidance, IslamQA, and AboutIslam.
  • Dar al-Ifta al-Misriyyah's online submission portal for an Egyptian-tradition Sunni ruling.

A qualified scholar can weigh intention, content, frequency, and life-stage factors that no general article can address.

Sources

Cite this page

Joly, A. (2026, May 14). Is AI girlfriend haram? What Islamic scholarship says. bestgirlfriend.ai. Retrieved from https://bestgirlfriend.ai/safety/is-ai-girlfriend-haram

Is an AI girlfriend haram in Islam?

There is no single classical fatwa declaring AI girlfriends universally haram or halal because the technology post-dates classical fiqh. Contemporary scholars across the Sunni four schools and the Shia tradition assess case-by-case using intention, content, and substitution effect. Most rulings published to date treat lust-driven exchanges, sexual content generation, and emotional substitution for marriage as haram or near-haram, while neutral conversational use stays in the disputed zone.

What is the difference between haram, makruh, halal, and mubah?

The five classical Islamic legal categories are wajib (obligatory), mandub (recommended), mubah (permitted, neutral), makruh (disliked but not sinful), and haram (forbidden, sinful). AI girlfriend use does not slot neatly into one category for all users; scholars partition it depending on intention, content, time spent, and whether it displaces religious or marital duties.

Does the lowering-the-gaze rule apply to AI imagery?

Quran 24:30-31 instructs believers to lower their gaze and guard their modesty. Most contemporary scholars extend the principle to digital images, including AI-generated ones, on the reasoning that the harm is the cultivation of lust, not the ontology of the person depicted. Classical exegetes including Ibn Kathir on the same verse stress the inward effect over the outward source.

Is exchanging lust-driven messages with an AI chatbot zina?

Classical fiqh defines zina as unlawful sexual intercourse. Lust-driven chat with an AI is not zina in the strict legal sense because no physical act occurs. The hadith literature (Bukhari, Muslim) speaks of zina al-ayn (zina of the eyes) and zina of the limbs as preparatory sins. Most contemporary scholars treat extended lustful chat with an AI as falling under this preparatory category: not full zina, but a documented gateway sin.

What do the four Sunni schools say about AI companions?

No madhhab has issued a binding classical ruling on AI companions specifically, but contemporary scholars trained in each school have published opinions. Hanafi and Maliki contemporary scholars cluster toward restrictive readings (lust-driven use is haram, neutral use is makruh). Shafi'i and Hanbali contemporary scholars cluster slightly more lenient on neutral use but converge with the others on lustful or substitutive use. The differences are matters of degree, not direction.

What is the Shia ruling on AI girlfriends?

Offices of major Shia maraji including Sayyid Sistani and Ayatollah Khamenei have published answers stating that virtual relationships causing lust or displacing legitimate marriage are forbidden, while neutral conversational use is permitted with caution. Khamenei's office has historically issued the more cautious public language on digital interaction. The Ja'fari position broadly aligns with the Sunni consensus on the lust-driven and substitution risks.

Have any Islamic scholars issued a fatwa on AI girlfriends specifically?

Yes, several. Dar al-Ifta al-Misriyyah of Egypt issued public statements on AI ethics in 2024-2025. SeekersGuidance, IslamQA, AboutIslam, and the Yaqeen Institute have published Q&A-format rulings citing the same case-by-case logic. No major body has issued a universal ban or a universal permission. The published record is overwhelmingly toward case-by-case assessment with cautionary lean.

Is AI girlfriend use a sin during Ramadan?

Acts that are makruh or disputed outside Ramadan become more strongly discouraged during the fasting month, when the inward focus is on restraining lust, anger, and idle speech. Sexual or romantic chat during fasting hours can break the fast if it leads to ejaculation, per classical fiqh on what nullifies the fast. Most contemporary scholars advise abstaining from any lust-driven AI interaction during Ramadan regardless of one's year-round position.

Is there a halal way to use AI chatbots?

Several contemporary scholars distinguish neutral conversational use (language practice, factual Q&A, creative writing on permissible topics) from romantic or lust-driven use. Neutral use is broadly permitted (mubah) with the caveats that it must not displace prayer, family obligations, or marriage, and must not cultivate lust. Halal alternatives mentioned in published guidance include educational AI tutors, Islamic-Q&A chatbots, and language-learning bots without romantic personas.

Where can I get a personal ruling for my situation?

This page reports the published scholarly record; it is not itself a fatwa. For a ruling on your specific situation, the standard channels are: your local mosque imam, the marja you follow if Shia, the SeekersGuidance, IslamQA, or AboutIslam Q&A submission forms (free), or Dar al-Ifta's online submission portal. A qualified scholar can weigh intention, content, frequency, and life-stage factors that no general article can address.

Last verified May 26, 2026 · See errata log for any post-publish corrections · Editor: Alexandra Joly · Methodology · Editorial process · Affiliate disclosure

Is AI Girlfriend Haram? Multi-School Islamic Ruling