Skip to main content
Islamic Portal
Join freeJoin free
Islamic Portal
Explore everything
Theme

The question

What are the conditions for a prayer to be valid?

The short answer

Before a prayer begins, several conditions must be met: the prayer's time must have started, you must be in a state of ritual purity (wudu, or ghusl if needed), your body, clothes and place of prayer must be free of impurity, the required parts of the body (awrah) must be covered, you must face the qiblah, and you must intend the prayer. Without these, the prayer is not valid.

The detail

Scholars distinguish between the conditions (shurut) of prayer, which must be in place before and throughout the prayer, and its pillars (arkan), which are the essential actions inside it, such as standing, bowing and prostrating. This answer covers the conditions.

Who must pray. The five daily prayers are obligatory on every Muslim who is sane and has reached puberty. Women do not pray during menstruation or post-natal bleeding, and do not make those prayers up. Children are taught to pray from around seven so that it becomes a habit.

Conditions for a valid prayer:

  1. The time has begun. The Quran describes prayer as prescribed for believers at fixed times (4:103). A prayer offered before its time is not valid as that prayer.
  2. Purity from ritual impurity. The worshipper must have wudu, or ghusl if it is required, as the Quran instructs before prayer (5:6). Tayammum takes their place when water cannot be used.
  3. Purity from physical impurity. The body, clothing and place of prayer should be free of impurities such as urine, faeces and blood; the Quran tells the Prophet ﷺ to purify his garments (74:4).
  4. Covering the awrah. The parts of the body that must be covered in prayer differ for men and women, and the schools differ on the exact limits, as shown below.
  5. Facing the qiblah, the direction of the Ka'bah in Makkah (2:144). Someone who makes a genuine effort to find the direction and turns out to be slightly wrong still has a valid prayer, according to the majority.
  6. Intention. Knowing in your heart which prayer you are performing, such as the obligatory Asr. It does not need to be spoken aloud.

Scholars also recognise concessions. Someone unable to stand prays sitting; someone on a moving vehicle who cannot face the qiblah does what they can; someone who cannot find clean clothes prays in what they have. Islamic law does not ask a worshipper for more than they are able to do.

Primary references

The Quran and hadith this answer rests on, quoted from the stored texts with their references.

From the Quran

Quoted from the stored Quran text with the translation named below each verse.

فَإِذَا قَضَيْتُمُ ٱلصَّلَوٰةَ فَٱذْكُرُوا۟ ٱللَّهَ قِيَٰمًۭا وَقُعُودًۭا وَعَلَىٰ جُنُوبِكُمْ ۚ فَإِذَا ٱطْمَأْنَنتُمْ فَأَقِيمُوا۟ ٱلصَّلَوٰةَ ۚ إِنَّ ٱلصَّلَوٰةَ كَانَتْ عَلَى ٱلْمُؤْمِنِينَ كِتَٰبًۭا مَّوْقُوتًۭا

When ye have performed the act of worship, remember Allah, standing, sitting and reclining. And when ye are in safety, observe proper worship. Worship at fixed times hath been enjoined on the believers.

An-Nisa 4:103 · Marmaduke Pickthall (en.pickthall)
يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوٓا۟ إِذَا قُمْتُمْ إِلَى ٱلصَّلَوٰةِ فَٱغْسِلُوا۟ وُجُوهَكُمْ وَأَيْدِيَكُمْ إِلَى ٱلْمَرَافِقِ وَٱمْسَحُوا۟ بِرُءُوسِكُمْ وَأَرْجُلَكُمْ إِلَى ٱلْكَعْبَيْنِ ۚ وَإِن كُنتُمْ جُنُبًۭا فَٱطَّهَّرُوا۟ ۚ وَإِن كُنتُم مَّرْضَىٰٓ أَوْ عَلَىٰ سَفَرٍ أَوْ جَآءَ أَحَدٌۭ مِّنكُم مِّنَ ٱلْغَآئِطِ أَوْ لَٰمَسْتُمُ ٱلنِّسَآءَ فَلَمْ تَجِدُوا۟ مَآءًۭ فَتَيَمَّمُوا۟ صَعِيدًۭا طَيِّبًۭا فَٱمْسَحُوا۟ بِوُجُوهِكُمْ وَأَيْدِيكُم مِّنْهُ ۚ مَا يُرِيدُ ٱللَّهُ لِيَجْعَلَ عَلَيْكُم مِّنْ حَرَجٍۢ وَلَٰكِن يُرِيدُ لِيُطَهِّرَكُمْ وَلِيُتِمَّ نِعْمَتَهُۥ عَلَيْكُمْ لَعَلَّكُمْ تَشْكُرُونَ

O ye who believe! When ye rise up for prayer, wash your faces, and your hands up to the elbows, and lightly rub your heads and (wash) your feet up to the ankles. And if ye are unclean, purify yourselves. And if ye are sick or on a journey, or one of you cometh from the closet, or ye have had contact with women, and ye find not water, then go to clean, high ground and rub your faces and your hands with some of it. Allah would not place a burden on you, but He would purify you and would perfect His grace upon you, that ye may give thanks.

Al-Ma'idah 5:6 · Marmaduke Pickthall (en.pickthall)
وَثِيَابَكَ فَطَهِّرْ

Thy raiment purify,

Al-Muddaththir 74:4 · Marmaduke Pickthall (en.pickthall)
قَدْ نَرَىٰ تَقَلُّبَ وَجْهِكَ فِى ٱلسَّمَآءِ ۖ فَلَنُوَلِّيَنَّكَ قِبْلَةًۭ تَرْضَىٰهَا ۚ فَوَلِّ وَجْهَكَ شَطْرَ ٱلْمَسْجِدِ ٱلْحَرَامِ ۚ وَحَيْثُ مَا كُنتُمْ فَوَلُّوا۟ وُجُوهَكُمْ شَطْرَهُۥ ۗ وَإِنَّ ٱلَّذِينَ أُوتُوا۟ ٱلْكِتَٰبَ لَيَعْلَمُونَ أَنَّهُ ٱلْحَقُّ مِن رَّبِّهِمْ ۗ وَمَا ٱللَّهُ بِغَٰفِلٍ عَمَّا يَعْمَلُونَ

We have seen the turning of thy face to heaven (for guidance, O Muhammad). And now verily We shall make thee turn (in prayer) toward a qiblah which is dear to thee. So turn thy face toward the Inviolable Place of Worship, and ye (O Muslims), wheresoever ye may be, turn your faces (when ye pray) toward it. Lo! Those who have received the Scripture know that (this revelation) is the Truth from their Lord. And Allah is not unaware of what they do.

Al-Baqarah 2:144 · Marmaduke Pickthall (en.pickthall)

Further sources

Written for Islamic Portal from the Quran cited above; school positions as commonly taught in the standard manuals of each school.

What scholars say

Jurists use the distinction between conditions and pillars to decide what happens when something goes wrong. A missing condition usually means the prayer never validly began (for example, praying without wudu), so it must be repeated. Scholars also discuss what to do when a person discovers after praying that there was impurity on their clothing that they did not know about; the schools take different approaches, ranging from requiring the prayer to be repeated to considering it valid because of ignorance or forgetfulness.

Where the schools differ

The four Sunni schools of law. Follow the school you were taught, or ask a scholar you trust.

All four schools agree on the six conditions listed above. They differ on some details, especially the limits of the awrah and how much impurity is overlooked:

Hanafi
A man's awrah is from the navel to below the knee, with the knee itself included. A woman's awrah in prayer is her whole body except the face, the hands and the feet. A small amount of impurity, up to the classical measure of a dirham (by weight for solid impurity, and by area, roughly the hollow of the palm, for liquid), is overlooked for the validity of the prayer, though it is disliked to pray with it.
Shafi'i
A man's awrah is what lies between the navel and the knee. A woman's awrah in prayer is her whole body except the face and the hands. Impurity is generally not overlooked except very small amounts that are hard to avoid, such as tiny spots of blood.
Maliki
The school distinguishes between the most private parts, whose exposure invalidates the prayer, and the remainder of the awrah, whose exposure is blameworthy and may call for repeating the prayer within its time without invalidating it. For women, the awrah in prayer is the whole body except the face and hands. Removing impurity is obligatory when one remembers it and is able to remove it, according to the well-known position.
Hanbali
A man's awrah is from the navel to the knee, and in an obligatory prayer a man should also cover at least one shoulder. A woman's awrah in prayer is her whole body except the face. Impurity must be removed except for a very small, excused amount of certain impurities such as blood.

In practice

  • You pray Dhuhr and then realise you never renewed your wudu after using the toilet. The prayer must be repeated.
  • Travelling in a new city, you check the qiblah with a compass app and pray. Later you find it was a few degrees off. Your prayer is valid.
  • A man praying in shorts that end above the knee is not covering what the schools require, and should wear longer clothing for prayer.

Common misunderstandings

  • The intention must be spoken in Arabic. The intention is in the heart. Some scholars recommend saying it quietly to help focus, but it is not a condition.
  • If the prayer mat is slightly off the qiblah, the prayer is invalid. Facing the general direction after making a reasonable effort is sufficient according to the majority.
  • Women must pray in a special garment. Any clean, loose clothing that covers what is required is fine.
A short lesson

Suggested lessons

Courses, lessons and guides that teach this topic step by step.

Review and provenance

Written by
Islamic Portal editorial team
Added
10 November 2026

Corrections

No corrections have been needed.

Our editorial standards