Mashallah (ma sha' Allah, ما شاء الله) is an Arabic phrase meaning "what God has willed" or "God has willed it." Muslims say it when they admire something good, such as a healthy baby, a new home or someone's success, to credit the blessing to God rather than to luck or human effort alone. It comes from Quran 18:39.

Mashallah is said with a smile, often as a compliment. Many Muslims also say it to avoid envy and the evil eye. This guide covers what the phrase means, how to write it, the Quranic story behind it, when to say it, how to reply, and how it differs from inshallah and tabarakallah.

Key takeaways

  • Mashallah means "what God has willed [has happened]," from ma (what), sha'a (willed) and Allah (God).
  • The phrase comes from a parable in Surah al-Kahf, where a believer asks a proud garden owner why he did not say "What Allah willed; there is no power except in Allah" (Quran 18:39).
  • The Prophet said "the evil eye is real" (Sahih Muslim 2188; Sahih al-Bukhari 5740), and told Muslims who admire something to pray for blessing on it (Sunan Ibn Majah 3509).
  • Mashallah refers to something that already exists; inshallah ("if God wills") refers to the future.
  • Tabarakallah means "blessed is God," an expression of praise used in the Quran itself (Quran 23:14 and 7:54).

What does mashallah mean?

The phrase has three parts. Ma means "what." Sha'a is the past tense of the verb "to will," so it means "has willed." Allah is the Arabic word for God. Literally, it reads "what God has willed."

In Arabic the phrase is a shortened sentence, and the full idea is "this is what God has willed" or "what God willed has come to be." That is why the Sahih International translation adds words in brackets when it renders the verse: "What Allah willed [has occurred]."

The point of saying it is to look at something impressive and immediately connect it to its source. The child is beautiful, the business is thriving, the exam went well: mashallah, this happened because God willed it. Our article on who Allah is explains how Muslims understand God as the giver of every blessing.

Mashallah in Arabic and how to spell it

In Arabic, mashallah is written ما شاء الله, three separate words. The longer form from the Quran adds a second sentence: ما شاء الله لا قوة إلا بالله (ma sha' Allah, la quwwata illa billah), "What God has willed; there is no power except with God."

SpellingNotes
MashallahThe most common English spelling
Masha'AllahMarks the glottal stop after sha
Ma sha AllahKeeps the three Arabic words separate
MashaAllahCommon on social media
MaşallahTurkish spelling, widely used in Turkey and the Balkans

All of these mean the same thing. Writing it as "ma sha Allah" simply reflects the three-word Arabic original.

Where does mashallah come from? Quran 18:39

The phrase comes from a parable in Surah al-Kahf, the same chapter that teaches inshallah. God tells the Prophet Muhammad (peace be upon him) to "present to them an example of two men" (18:32). One was given two rich gardens of grapevines and palms. He walked into his garden full of pride and said he did not think it would ever perish (18:35).

His poorer companion, a believer, answered him:

And why did you, when you entered your garden, not say, 'What Allah willed [has occurred]; there is no power except in Allah'? Although you see me less than you in wealth and children,

— Quran 18:39

The story ends with the garden destroyed and its owner turning his hands over in regret (18:42). The lesson is not that wealth is bad. It is that a blessing seen as one's own achievement becomes a source of arrogance, while a blessing credited to God becomes a reason for gratitude.

Notice that the verse tells the man to say it about his own garden. Mashallah is not only for other people's blessings. Ibn Kathir's commentary on this verse quotes one of the early Muslims as saying that whoever is pleased with something in his circumstances, wealth or children should say "What Allah wills, there is no power except with Allah," based on this verse.

"What God wills, then what you will"

A related teaching shows how carefully Muslims treat the phrase. The Prophet said: "Do not say: 'What Allah wills and so and so wills,' but say: 'What Allah wills and afterwards so and so wills'" (Sunan Abi Dawud 4980, graded authentic by al-Albani). God's will is never placed on the same level as anyone else's.

Mashallah and the evil eye

Much of the online interest in mashallah concerns the evil eye (al-'ayn, العين), the harm that can come from an envious or admiring look. The Prophet said, "The influence of an evil eye is a fact" (Sahih Muslim 2188), and a shorter version appears in Sahih al-Bukhari 5740. The Quran also teaches Muslims to seek refuge "from the evil of an envier when he envies" (113:5).

Sunan Ibn Majah 3509 records the story of Amir ibn Rabi'ah, who saw his companion Sahl ibn Hunayf bathing and praised his skin. Sahl collapsed. The Prophet asked, "Why would anyone of you kill his brother? If he sees something that he likes, then let him pray for blessing for him." Darussalam's editors grade this narration authentic.

This is the root of the custom. When Muslims see something impressive, they say mashallah, or pray for blessing with words like "barakallahu fik" (may God bless you), so that admiration turns into a prayer instead of envy. You may see online a hadith promising specific protection to anyone who says the full phrase, but it is not found in the major authentic collections, so the practice is better grounded in 18:39 and the hadith above.

Scholars also stress that mashallah is a remembrance of God, not a lucky charm. Its benefit comes from the sincere turning of the heart, which is why a pendant or sticker reading "mashallah" is not the same as saying it. Our guide to the evil eye in Islam covers protection in more detail, including the protective chapters explained in the four Quls.

When do Muslims say mashallah?

Muslims say mashallah in many everyday moments:

  • Compliments. "Your daughter is so clever, mashallah."
  • Good news. Someone shares a promotion, a wedding or a pregnancy.
  • Their own blessings. Looking at their home, children or harvest, as the verse teaches.
  • Admiring nature or skill. A beautiful view, a fine recitation, a strong performance.

In each case the phrase does two things at once. It praises the good thing, and it reminds both speaker and listener that God is its source.

How do you reply to mashallah?

There is no single required reply. Common responses include:

  1. "Barakallahu fik" (بارك الله فيك), "May God bless you." The Prophet used this kind of prayer himself, saying "May Allah bless you" to Abd al-Rahman ibn Awf when he heard of his marriage (Sahih al-Bukhari 5155).
  2. "Alhamdulillah," "All praise is for God," which returns the credit to God. See our guide to alhamdulillah meaning.
  3. "Jazakallahu khayran," "May God reward you with good," as a thank-you for the kind words.

Non-Muslims can simply say "thank you." No one expects an Arabic reply.

Mashallah vs inshallah

These two phrases sound alike, which is why they are easily confused. The difference is about time.

FeatureMashallahInshallah
Arabicما شاء اللهإن شاء الله
Literal meaningWhat God has willedIf God wills
TimeSomething that already exists or happenedSomething in the future
Typical usePraising a blessingStating a plan or hope
Quran source18:3918:23-24
Example"You passed? Mashallah!""I'll take the test tomorrow, inshallah."

A useful memory aid: ma ("what") looks at what is already here, while in ("if") looks ahead. Read more in our guide to inshallah meaning.

What does tabarakallah mean?

Tabarakallah (تبارك الله) means "Blessed is God" or "Blessed is Allah." It comes from the root b-r-k, the same root as barakah, meaning blessing, increase and lasting goodness. It is a statement of praise, declaring that God is the source of all blessing.

The Quran uses this exact phrase. After describing the stages of a baby's creation in the womb, it says:

Then We made the sperm-drop into a clinging clot, and We made the clot into a lump [of flesh], and We made [from] the lump, bones, and We covered the bones with flesh; then We developed him into another creation. So blessed is Allah, the best of creators.

— Quran 23:14

The same form opens Surah al-Mulk, "Blessed is He in whose hand is dominion," and appears in 7:54, "blessed is Allah, Lord of the worlds." Our article on Surah al-Mulk explores that opening.

Mashallah vs tabarakallah vs barakallah

PhraseMeaningWhat it does
MashallahWhat God has willedCredits a blessing to God's will
TabarakallahBlessed is GodPraises God as the source of blessing
Barakallahu fikMay God bless youA prayer for the person in front of you

In practice, many Muslims say "mashallah, tabarakallah" together when admiring something. The combination both credits the blessing to God and praises Him for it. Strictly speaking, "barakallahu fik" is the phrase that most directly matches the Prophet's instruction to pray for blessing.

Common mistakes with mashallah

  • Using it for the future. "Mashallah I'll get the job" mixes up the phrases. That sentence needs inshallah.
  • Using it as a charm. The words are remembrance and prayer, not a magic formula.
  • Saying it about something wrong. Mashallah praises God for a blessing. It does not fit things that displease God.
  • Saying it with envy. If the heart is jealous while the tongue says mashallah, the phrase loses its purpose. The cure is a sincere prayer for the other person.

Read the parable of the two gardens on Quran Universe

You can read the story of the two gardens in Surah al-Kahf on Quran Universe, with the Arabic text, word-by-word meaning, transliteration and Tafsir Ibn Kathir. Reading verses 32 to 44 together shows how a single sentence, "What Allah willed," separates gratitude from pride. Our guide to Surah al-Kahf benefits covers the rest of the chapter.

Frequently asked questions

What does mashallah mean in English?

Mashallah means "what God has willed" or "God has willed it." Muslims say it when admiring something good, to credit the blessing to God. The phrase comes from Quran 18:39, where a believer rebukes a proud man for not saying "What Allah willed; there is no power except in Allah" when he entered his garden.

What is the difference between mashallah and inshallah?

Mashallah ("what God has willed") is said about something that already exists or has happened, usually to praise it. Inshallah ("if God wills") is said about the future, such as plans and hopes. Mashallah comes from Quran 18:39 and inshallah from Quran 18:23-24, both in Surah al-Kahf.

What does tabarakallah mean?

Tabarakallah means "Blessed is God." It praises God as the source of every blessing and appears in the Quran, for example in 23:14: "So blessed is Allah, the best of creators." Muslims often say "mashallah, tabarakallah" together when they see something beautiful or impressive.

Does saying mashallah protect from the evil eye?

The Prophet confirmed that the evil eye is real (Sahih Muslim 2188) and told people who admire something to pray for blessing on it (Sunan Ibn Majah 3509). Saying mashallah or "barakallahu fik" follows this teaching by turning admiration into remembrance and prayer. Muslims see protection as coming from God, not from the words as a charm.

How do you write mashallah in Arabic?

Mashallah is written ما شاء الله in Arabic, as three separate words. The fuller form from Quran 18:39 is ما شاء الله لا قوة إلا بالله, meaning "What God has willed; there is no power except with God." English spellings include mashallah, masha'Allah and ma sha Allah.

How do you respond when someone says mashallah?

A common reply is "barakallahu fik," meaning "may God bless you." You can also say "alhamdulillah" to return the credit to God, or "jazakallahu khayran," meaning "may God reward you with good." A simple "thank you" is perfectly polite, especially from non-Muslims.