Quick facts about niyyat:
• Location: the heart (al-qalb), not the tongue
• Status: obligatory condition (shart) for every prayer
• Time: at the moment of takbiratul ihram, or just before
• Verbal niyyat: Hanafi and Maliki = not sunnah; some Shafi'i and Hanbali = permissible aid
• Daleel: Sahih al-Bukhari 1, "Actions are by intentions"
• Quran: "And they were not commanded except to worship Allah, being sincere to Him in religion." (98:5)
There is a moment, right before you say Allahu Akbar, that decides whether the next five minutes will count for anything. That moment is niyyat. Without it, every rakat that follows is just choreography. With it, every word and bow becomes worship. Yet most Muslims spend less time on niyyat than they spend opening their phone, and many have inherited confusing instructions about it, recite this formula in Arabic, say it three times, do it in your head while raising your hands. The reality, drawn from the Qur'an and the sunnah, is simpler than any of that.
Tip: FivePrayer reminds you of the start of each prayer with the adhan, and the few seconds between the adhan and your takbir are the natural window to settle the niyyat in your heart. Free, no ads.
What is niyyat?
Niyyat (Arabic: al-niyyah) literally means a settled purpose or resolve. In fiqh, it is the conscious determination, formed in the heart, that you are about to perform a specific act of worship for the sake of Allah. It is the act that distinguishes habit from ibadah. A person walking a few miles is exercise; the same walk made with the intention of seeing a sick relative for Allah's sake is sadaqah. Standing on a prayer mat is just standing; standing with the intention that you are praying Dhuhr is salah.
Imam al-Nawawi opens his famous Forty Hadith with this exact principle, because the entire structure of fiqh rests on it. Every act of worship in Islam, prayer, fasting, hajj, zakat, ghusl, wudu, has niyyat as a foundational condition. The Quran itself frames worship this way:
"And they were not commanded except to worship Allah, being sincere to Him in religion."
(Surah al-Bayyinah, 98:5)
Sincerity (ikhlas) is the inner state of niyyat. The two are linked. Niyyat answers the question "what am I doing?" while ikhlas answers "why?" A prayer needs both, but it is niyyat that makes the action a defined act of worship in the first place.
The hadith of intentions
No discussion of niyyat begins anywhere except the hadith of Umar ibn al-Khattab (RA), which Imam al-Bukhari placed as the very first hadith in his Sahih. He did this deliberately, signalling that everything in the book that follows must be measured against this principle.
إِنَّمَا الأَعْمَالُ بِالنِّيَّاتِ، وَإِنَّمَا لِكُلِّ امْرِئٍ مَا نَوَى
"Actions are only by intentions, and every person will have only what they intended."
(Sahih al-Bukhari 1, Sahih Muslim 1907, from Umar ibn al-Khattab RA)
The wording is exclusive: innama means "only", restricting the validity of all actions to whether they are accompanied by intention. The hadith continues with a famous example: whoever emigrated for the sake of Allah, his hijrah is to Allah; whoever emigrated for worldly gain or to marry a woman, his hijrah is only for what he emigrated for. The outward action is the same, the inner niyyat decides what it actually was.
For prayer, this means a person could stand, bow, prostrate, and recite all the right words, but if there was no settled intention to pray salah for the sake of Allah, none of it counts as salah. A rehearsal, a demonstration, a habit, all of these can look identical from the outside but are not prayer.
Heart or tongue? The four schools
All four Sunni schools agree on the core point: niyyat is an act of the heart. The disagreement is only on whether verbalising it with the tongue is recommended, permissible, or an innovation.
| School | Ruling on verbal niyyat | Position |
|---|---|---|
| Hanafi | Not sunnah, not recommended | Niyyat is the heart's act; verbalising adds nothing. |
| Maliki | Disliked (makruh) | The Prophet ﷺ never verbalised it; doing so is an innovation. |
| Shafi'i | Recommended (mustahabb) as an aid | Some later scholars permit it to help the heart focus. |
| Hanbali | Permissible, not required | If it helps concentration, do it silently; otherwise leave it. |
The position of Shaykh al-Islam Ibn Taymiyyah, often cited by scholars across schools, was unequivocal. In Majmu' al-Fatawa, he wrote that verbalising niyyat is neither required nor sunnah, and that the Prophet ﷺ never did it, nor did the companions, nor any of the tabi'in. Reciting a long Arabic formula before takbir, he said, has no basis in revelation, even if it is harmless when done quietly.
Practical conclusion: a quiet, settled intention in the heart, "I am about to pray Asr, fard, for Allah", is fully sufficient in every school. If you grew up reciting an Arabic formula and it helps you focus, doing so silently is permitted in Shafi'i and Hanbali fiqh. Reciting it loudly so others hear is universally disliked, and reciting it in any language other than Arabic out loud has no basis at all (since the formulas in Arabic themselves have no basis as ritual recitation).
Niyyat for each of the five prayers
The niyyat for each prayer needs to be specific enough to distinguish that prayer from any other. At minimum, the heart needs to be aware of three things: which prayer (Fajr, Dhuhr, Asr, Maghrib, or Isha), which type (fard, sunnah, or nafl), and that it is for Allah. The number of rakat is implicit once you have named the prayer.
| Prayer | Heart intention (sufficient in all schools) | Optional Arabic verbalisation |
|---|---|---|
| Fajr | "Fajr, 2 rakat fard, for Allah." | Nawaytu an usalliya fardha s-subhi rak'atayni lillahi ta'ala |
| Dhuhr | "Dhuhr, 4 rakat fard, for Allah." | Nawaytu an usalliya fardha dh-dhuhri arba'a rakatin lillahi ta'ala |
| Asr | "Asr, 4 rakat fard, for Allah." | Nawaytu an usalliya fardha l-asri arba'a rakatin lillahi ta'ala |
| Maghrib | "Maghrib, 3 rakat fard, for Allah." | Nawaytu an usalliya fardha l-maghribi thalatha rakatin lillahi ta'ala |
| Isha | "Isha, 4 rakat fard, for Allah." | Nawaytu an usalliya fardha l-isha'i arba'a rakatin lillahi ta'ala |
When praying behind an imam, the heart should also include "following this imam" (iqtida'an bi-hadha l-imam). When praying alone, no addition is needed. The wording is the same whether you say it inwardly or quietly to yourself.
Niyyat for sunnah prayers
Sunnah prayers also need niyyat, but the level of specificity is lower. For sunnah rawatib (the regular sunnahs attached to each fard), the heart should distinguish them as sunnah, not fard, and name them by the prayer they accompany. For example: "2 rakat sunnah before Fajr, for Allah." Or: "2 rakat sunnah after Maghrib, for Allah."
For general nafl prayers (Tahajjud, Duha, after-wudu, etc.), naming the specific prayer is preferred but not strictly required. A general "nafl, 2 rakat, for Allah" is valid, though "Tahajjud, 2 rakat, for Allah" is better since the heart is then clearly aimed at that specific worship.
Niyyat for qadha (missed prayers)
When making up a missed prayer, the niyyat needs an additional element: that it is qadha and not ada' (on-time). For example: "Dhuhr, 4 rakat fard, qadha, for Allah." The heart names the prayer being made up, classifies it as fard qadha, and dedicates it to Allah. If multiple days of qadha exist, scholars differ on whether each one must be tied to a specific date, the safer practice is to intend "the oldest unfulfilled Dhuhr I owe" or simply "a Dhuhr qadha", in either case the heart is clear that this rakah-count is being used to discharge a debt to Allah.
The four schools agree that qadha is owed for any deliberately missed prayer, with no time limit, and that the qadha must replicate the original prayer's fard structure (Dhuhr-qadha is 4 rakat, Maghrib-qadha is 3, etc.). The niyyat must reflect this exactly.
Niyyat for jamak (combining) and qasar (shortening)
Jamak combines two prayers into one time window, and qasar shortens 4-rakat prayers to 2 for travellers. Both require their own niyyat at the moment of takbiratul ihram. For jamak taqdim (combining Asr with Dhuhr at Dhuhr's time): "I intend to pray Dhuhr, 4 rakat, combined with Asr at Dhuhr's time, for Allah." For qasar alone (without combining): "I intend to pray Asr, 2 rakat, shortened as a traveller, for Allah."
The Shafi'i school requires the niyyat for jamak to be present from the very beginning of the first prayer, you cannot start praying Dhuhr normally and then halfway decide to combine. The Hanbali and Maliki schools allow more flexibility, accepting niyyat for jamak any time before the salam of the first prayer. For qasar, all schools require the niyyat at takbir, since otherwise you cannot end the prayer after the second rakat without invalidating it.
What invalidates niyyat
Once the prayer has begun, the niyyat must be preserved. The following invalidate it:
- Mid-prayer change of mind: if you start praying Dhuhr and then consciously decide partway through to be praying Asr instead, the original is broken and the new one is not validly started.
- Doubt mid-prayer: if you suddenly become unsure which prayer you intended, scholars generally require you to break the prayer and restart with a clear niyyat. Some Hanafis allow you to settle the doubt by continuing on the prayer you were "most likely" intending, then repeat afterward.
- Hesitation about whether to continue: if you mentally suspend the niyyat (e.g., "should I keep praying or stop?") and that hesitation lasts long enough that you delay a pillar of the prayer, the prayer is broken.
- Switching from fard to fard: not permitted. Each fard needs its own dedicated start.
- Switching from fard to nafl: permitted in one specific case, if you joined what you thought was a fard congregation and discovered the imam was actually finishing, you may complete it as nafl.
Common mistakes
- Rushing through niyyat. The single most common mistake. People raise their hands for takbir while still thinking about work, the kids, the to-do list. The takbir then becomes mechanical. The fix: take three seconds before lifting your hands. Acknowledge in your heart what you are about to do. Then begin.
- Treating the Arabic formula as the niyyat. Reciting "Nawaytu an usalliya..." in Arabic is not niyyat. It is a verbal reminder to the tongue. The niyyat itself is the heart's recognition of what you are doing. You can recite the formula and still have no niyyat if your heart is elsewhere; you can have a perfect niyyat without saying a word.
- Switching prayer mid-niyyat. You stand for Dhuhr, realise you didn't pray it earlier... but you also realise it might be Asr time already. People sometimes try to "convert" the niyyat during the takbir itself. The safer path: pause, leave the prayer mat for a moment, settle which prayer you are praying, then begin afresh.
- Verbalising niyyat in a non-Arabic language out loud. Some Muslims have been taught to recite the niyyat in Urdu, Indonesian, or English aloud. There is no basis for this in the sunnah. If you wish to verbalise as an aid, do so silently to yourself.
- Niyyat without specifying which prayer. "I intend to pray" is not enough. The heart must name Fajr, Dhuhr, Asr, Maghrib, or Isha. Without this, the prayer is unanchored.
- Worrying excessively about whether the niyyat was correct. Waswasa (whispered doubts from shaytan) often targets niyyat. People restart prayers three or four times because they keep questioning the intention. The cure, taught by Ibn Taymiyyah and Ibn al-Qayyim: ignore the doubt entirely, your first niyyat was valid, do not re-intend.
FAQ
Do I have to say the niyyat out loud?
No. The location of niyyat is the heart, not the tongue. The Prophet ﷺ never verbalised niyyat before any prayer. Saying it aloud is permissible as a focus aid in some Shafi'i and Hanbali opinions, but it is not required, not sunnah, and not a condition of validity. The Hanafi and Maliki schools, along with Ibn Taymiyyah, treat verbal niyyat as a later innovation. The heart's intention is what counts.
What is the niyyat for Fajr in Arabic?
If you choose to verbalise (silently to yourself), the common formula is: "Nawaytu an usalliya fardha s-subhi rak'atayni ada'an lillahi ta'ala." For Dhuhr/Asr/Isha replace with "fardha dh-dhuhri/al-asri/al-isha'i arba'a rakatin." For Maghrib: "fardha l-maghribi thalatha rakatin." None of this is required, you can simply intend in your heart: "Fajr, fard, for Allah."
Can I change the niyyat in the middle of prayer?
Generally no. If you switch niyyat mid-prayer, the original prayer is broken and the new one does not start validly. The one allowed exception is switching from a fard to a nafl, e.g., if you joined what you thought was a congregational fard and find the imam was already finishing. The safer rule: complete what you started, then make up anything missed afterward.
Is niyyat in English valid?
Yes, if you choose to verbalise. The niyyat is an act of the heart and the heart knows no language. Whatever language helps you focus on what you are about to do is acceptable for inner intention. The Arabic formulas exist as scholarly conventions, not as required ritual.
If I forget to make niyyat, is my prayer valid?
If you stood up knowing the prayer was Dhuhr and you were praying Dhuhr, you made niyyat, the conscious purpose of praying is itself the niyyat. What invalidates the prayer is starting with no clarity about which prayer you intend. As Ibn Taymiyyah said, the very act of rising to pray includes the niyyat.
FivePrayer: arrive at takbir with your heart already in place.
Accurate adhan times for your location, gentle on-screen reminders, and an optional pre-prayer pause that gives you a few seconds to settle the niyyat before you begin. Free on iOS, Android, and Chrome. No ads, no account.