Skip to main content
Published on

Is Swearing Haram in Islam? What the Quran and Hadith Say

Authors
  • Sih C.
    Name
    Sih C.
    Role
    Founder & Islamic Content Researcher โ€ข Islamful

The Ruling

Swearing โ€” meaning the use of profanity, vulgar language, and obscene speech โ€” is haram in Islam. The evidence from the Quran and the Sunnah is direct and the scholars of all four major schools of Islamic jurisprudence are unanimous on this point. Islam places enormous weight on the tongue, considering it one of the primary gateways to sin and one of the most powerful tools for good.

Quick Answer: Using profanity and foul language is haram (forbidden). A believer is expected to guard their tongue and speak only what is good or stay silent. Swearing oaths by Allah is a separate matter governed by different rules.

Want to check the ruling on something specific? Use our Halal or Haram Checker below:

Free Tool

Islamic Ruling Checker

Check the ruling on anything โ€” food, activities, lifestyle, and more

What Does "Swearing" Mean in This Context?

Before diving into the evidence, it helps to distinguish between two very different meanings of the word "swearing":

  1. Profanity and foul language โ€” using obscene, vulgar, or indecent words in everyday speech. This is what most people mean by "swearing" in modern usage. This is haram.
  2. Swearing an oath โ€” making a solemn vow, often in the name of Allah, to affirm the truth of something. This is a separate topic governed by the rules of halaf (oaths) in Islamic jurisprudence. A truthful oath by Allah is permissible, though swearing falsely or excessively is forbidden.

This article addresses profanity and vulgar language. For the Islamic ruling on cursing specific people, see our article on is cursing haram.

The Evidence from the Quran

Surah Al-Hujurat 49:11

Allah says:

ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ูŽู‘ุฐููŠู†ูŽ ุขู…ูŽู†ููˆุง ู„ูŽุง ูŠูŽุณู’ุฎูŽุฑู’ ู‚ูŽูˆู’ู…ูŒ ู…ูู‘ู† ู‚ูŽูˆู’ู…ู

Ya ayyuha alladhina amanu la yaskhar qawmun min qawm

"O you who have believed, let not a people ridicule another people..."

Quran 49:11

This verse prohibits mocking, insulting, and demeaning others. Using foul or degrading language toward another person falls squarely within this prohibition.

Surah An-Nisa 4:148

Allah says:

ู„ูŽู‘ุง ูŠูุญูุจูู‘ ุงู„ู„ูŽู‘ู‡ู ุงู„ู’ุฌูŽู‡ู’ุฑูŽ ุจูุงู„ุณูู‘ูˆุกู ู…ูู†ูŽ ุงู„ู’ู‚ูŽูˆู’ู„ู ุฅูู„ูŽู‘ุง ู…ูŽู† ุธูู„ูู…ูŽ

La yuhibbu Allahu al-jahra bis-su'i minal-qawli illa man zulim

"Allah does not like the public mention of evil in speech, except by one who has been wronged."

Quran 4:148

This verse is profound. Allah explicitly states He does not like evil and indecent speech being made public. Profanity and vulgar language are the very definition of evil speech. The only narrow exception acknowledged is for a person voicing a grievance about being wronged โ€” and even then, patience and forgiveness are praised as higher virtues.

Surah Al-Qalam 68:10-11

Allah says:

ูˆูŽู„ูŽุง ุชูุทูุนู’ ูƒูู„ูŽู‘ ุญูŽู„ูŽู‘ุงูู ู…ูŽู‘ู‡ููŠู†ู ู‡ูŽู…ูŽู‘ุงุฒู ู…ูŽู‘ุดูŽู‘ุงุกู ุจูู†ูŽู…ููŠู…ู

Wa la tuti' kulla hallafin mahin, hammazin mashsha'in binamim

"And do not obey every worthless habitual swearer, scorner, going about with malicious gossip."

Quran 68:10-11

Allah describes the habitual swearer as mahin โ€” contemptible and worthless. This is not a neutral description; it is a condemnation of foul-mouthed character as incompatible with the standards of a believer.

The Evidence from the Hadith

The Character of a Believer

The Prophet Muhammad (peace be upon him) said:

ู„ูŽูŠู’ุณูŽ ุงู„ู’ู…ูุคู’ู…ูู†ู ุจูุงู„ุทูŽู‘ุนูŽู‘ุงู†ู ูˆูŽู„ูŽุง ุงู„ู„ูŽู‘ุนูŽู‘ุงู†ู ูˆูŽู„ูŽุง ุงู„ู’ููŽุงุญูุดู ูˆูŽู„ูŽุง ุงู„ู’ุจูŽุฐููŠุกู

Laysa al-mu'minu bit-ta'ani wa la al-la'ani wa la al-fahishi wa la al-badhi'

"The believer is not a slanderer, nor does he curse others, nor is he immoral or shameless."

Narrated by Al-Tirmidhi, 1977

This single hadith covers the full spectrum: slander, cursing, immorality, and shamelessness โ€” all negated from the character of a true believer. Profanity and foul language fall under being fahish (obscene) and badhi' (vulgar/shameless).

The Definition of a Muslim

The Prophet (peace be upon him) also said:

ุงู„ู’ู…ูุณู’ู„ูู…ู ู…ูŽู†ู’ ุณูŽู„ูู…ูŽ ุงู„ู’ู…ูุณู’ู„ูู…ููˆู†ูŽ ู…ูู†ู’ ู„ูุณูŽุงู†ูู‡ู ูˆูŽูŠูŽุฏูู‡ู

Al-Muslimu man salima al-Muslimuna min lisanihi wa yadihi

"A Muslim is one from whose tongue and hand other Muslims are safe."

Narrated by Al-Bukhari, 10

The tongue is placed alongside the hand โ€” the two primary instruments of harm. A Muslim whose speech injures others through profanity or insults has failed one of the most fundamental definitions of what it means to be Muslim.

Speak Good or Stay Silent

The Prophet (peace be upon him) said:

"Whoever believes in Allah and the Last Day, let him speak good or remain silent."

Narrated by Al-Bukhari, 6018

This hadith sets the standard for all speech. Words should either be good โ€” beneficial, kind, truthful โ€” or they should not be spoken at all. Profanity fails this test on every count.

Scholar Opinions

The scholars across all four madhabs are in full agreement that foul language and profanity are haram. There is no credible scholarly position that permits it.

Imam Al-Nawawi (Shafi'i) wrote extensively on the obligations of the tongue in Riyad al-Salihin, dedicating multiple chapters to prohibited speech. He explicitly listed obscene and vulgar language among the major sins of the tongue.

Ibn Taymiyyah (Hanbali) held that indecent speech corrupts both the speaker and those who hear it, and that guarding the tongue is among the most important acts of worship a Muslim can perform outside of the obligatory rituals.

Ibn Al-Qayyim (Hanbali) in Al-Jawab al-Kafi wrote at length about the diseases of the tongue, placing obscene speech among the most destructive. He noted that a person's words reflect the state of their heart, and a heart filled with foul language is a heart far from Allah.

Imam Al-Ghazali (Shafi'i) in Ihya Ulum al-Din identified the tongue as one of the most dangerous parts of the human body โ€” capable of destroying a person's spiritual standing more swiftly than many physical sins.

SchoolRuling on Profanity/Foul LanguageNotes
HanafiHaramFalls under prohibited harmful speech
MalikiHaramTongue is a major source of sin
Shafi'iHaramListed among major prohibitions of the tongue
HanbaliHaramCorrupts speaker and listener alike

Types of Swearing and Their Rulings

Not all "swearing" carries the same ruling. Here is a clear breakdown:

Profanity and vulgar language (e.g. obscene words in everyday speech): Haram. No scholarly opinion permits this. The evidence from Quran and Sunnah is direct and clear.

Cursing a specific person (invoking harm or damnation upon them): Haram, and more severe than general profanity. Directing a curse at a believer is compared in some hadith to killing them. For a full discussion, see our article on is cursing haram.

Swearing an oath by Allah (making a truthful vow): Permissible, subject to conditions. The oath must be truthful, it must be by Allah or one of His names, and it must not be made excessively or carelessly.

Swearing a false oath: Haram and a major sin โ€” this is called al-yamin al-ghamoos (the immersing oath) and it is one of the gravest sins in Islam.

Swearing by something other than Allah (e.g. "I swear on my mother"): Prohibited. The Prophet (peace be upon him) said: "Whoever swears, let him swear by Allah or remain silent." (Narrated by Al-Bukhari, 6108)

Severity: Context Matters

While the general ruling is clear, Islamic jurisprudence acknowledges that not every instance is identical in severity.

Habitual vs. occasional. A person who swears constantly is in a graver spiritual state than someone who slips once out of sudden pain or shock. However, even a single instance of profanity is sinful and warrants repentance. The Quran's condemnation of the habitual swearer (68:10) does not mean a single instance is fine โ€” it means habitual swearing is a sign of deep moral corruption.

Exclaiming in frustration vs. directing insults at someone. Uttering a profanity as an involuntary exclamation after being hurt is different in degree from deliberately insulting someone with vulgar speech. Both are wrong, but the latter involves an additional sin against another person.

Public vs. private. Surah An-Nisa 4:148 specifically mentions the "public mention" of evil speech as something Allah dislikes. Using foul language publicly, especially where it may corrupt others โ€” children, for instance โ€” amplifies the sin.

Intention. Speech accompanied by the intention to demean, harm, or humiliate another person is treated more seriously than careless speech said out of habit. This is why Islam's approach to prohibitions considers both action and intention. For a related discussion, see is lying haram.

How to Break the Habit

For a Muslim who has grown up in an environment where swearing is normalised, changing this habit is a practical challenge. Islam offers guidance:

  1. Replace, do not just suppress. The Prophet (peace be upon him) encouraged filling the tongue with dhikr โ€” SubhanAllah, Alhamdulillah, Allahu Akbar. When the urge to swear arises, these words replace the bad reflex with a good one.

  2. Pause before speaking. The habit of taking a breath before responding โ€” especially in moments of anger โ€” breaks the automatic pattern of profanity.

  3. Choose your environment. The Prophet (peace be upon him) warned against companions who lead you to sin. An environment saturated with foul language makes it harder to maintain clean speech.

  4. Seek forgiveness and keep going. If you slip, do not despair. Repent sincerely, resolve not to repeat it, and continue. Allah's mercy is vast, and the effort to reform the tongue is itself an act of worship.

Summary

Swearing โ€” in the sense of using profanity, vulgar language, and obscene speech โ€” is haram in Islam. The Quran explicitly states that Allah does not like evil public speech. The Prophet (peace be upon him) defined the believer as one who is not obscene or shameless, and defined a Muslim as one from whose tongue others are safe. Scholars across all four schools of jurisprudence agree without exception.

The severity varies: habitual swearing is worse than an isolated slip, and directing insults at a person is worse than a careless exclamation. But in all cases, the standard for a Muslim is clear โ€” speak good or remain silent.

Swearing oaths is a separate matter: truthful oaths by Allah are permitted; false oaths and oaths by other than Allah are forbidden.

Guard your tongue. It is lighter than any limb, yet heavier on the scales than almost anything else.

And Allah knows best (ูˆุงู„ู„ู‡ ุฃุนู„ู…).

Frequently Asked Questions

Is swearing haram in Islam?

Yes, swearing and using profane or vulgar language is haram in Islam. The Prophet Muhammad (peace be upon him) said the believer is not one who is obscene, vulgar, or uses foul speech. Scholars across all four schools of thought agree on this prohibition.

Is it haram to swear in anger?

Yes, swearing out of anger is still haram. However, Islam recognises the weakness of human nature โ€” if someone slips and uses foul language, they should repent sincerely and make a conscious effort not to repeat it. Habitual swearing is considered more serious than an isolated slip.

Is swearing an oath in Islam haram?

Swearing an oath (taking a solemn vow in the name of Allah) is a separate topic from profanity. Swearing a truthful oath by Allah is permissible. However, swearing by something other than Allah, swearing a false oath, or swearing excessively are all prohibited.

What should I do if I swear accidentally?

You should repent sincerely to Allah, seek forgiveness from any person you may have harmed with your words, and make a practical effort to replace the habit with good speech. The Prophet (peace be upon him) encouraged saying SubhanAllah or Alhamdulillah as a replacement.