Discover the Hanafi fiqh perspective on how many rakats to perform for Tahajjud (the late-night prayer). Learn the minimum, optimal, and unlimited rakats for Tahajjud in the Hanafi school, based on the Prophet’s practice and classical Hanafi sources.

How Many Rakats for Tahajjud (Hanafi)

IN THIS ARTICLE  🔗
SUMMARY 💡
  • In the Hanafi school, the minimum for Tahajjud prayer is 2 rakats.
  • However, the sunnah practice of the Prophet ﷺ is 8 rakats, therefore this is the optimal number for Tahajjud.
  • The Prophet PBUH would then follow this with 3 rakats of Witr.
  • There is no fixed maximum limit to the number of rakats for Tahajjud.
  • Hanafis emphasize devotion, reflection, and slow recitation over the number of rakats; sincerity and focus are more rewarding than length.
  • If you are just starting, start with 2 rakats, focus on quality (khushu') and over time build to 8 rakats inshaAllah.
  • It’s better to pray a small number regularly than many occasionally, as Allah loves consistent deeds even if small (Sahih Bukhari).
⭐ ⭐ ⭐ ⭐ ⭐
Download app button for Google and Apple
Learn All You Must
Know as a Muslim
TRY APP NOW 📱
Answer 5 fard ayn (obligatory) questions that every Muslim must know.
Explore Jibreel App 📱
Practice with certainty
LAST UPDATED:
10 October 2025

How Many Rakats in Tahajjud Prayer (Hanafi)

Tahajjud is a voluntary prayer offered after Isha and before Fajr.

It holds great spiritual significance. The Prophet Muhammad (peace be upon him) described it as:

“the best prayer after the obligatory prayers”
Sunan an-Nasa'i 1614

This late-night prayer is a means to draw closer to Allah and was a regular practice of the Prophet (peace be upon him) and the early Muslims.

In the Hanafi school, there is a minimum and an optimal recommended number of rakaats, but no strict maximum limit - emphasis is placed on consistency and devotion.

Minimum and Recommended Rakaats for Tahajjud (Hanafi)

According to Hanafi scholars, the minimum number of rakaats for Tahajjud is two rakaʿats. This means even praying just two units of Tahajjud fulfills the basic definition of observing the night prayer.

On the other hand, the optimal or sunnah practice - based on the habit of Prophet Muhammad (peace be upon him) - is to pray eight rakaats for Tahajjud.

Notable works in Hanafi fiqh report the Prophet (peace be upon him) usually performed eight rakaats in his Tahajjud prayer. These eight rakaats are then typically followed by the Witr prayer (three rakaats) to conclude the night vigil, as was the Prophet’s (peace be upon him)‎ practice.

In summary, Hanafi fiqh encourages a minimum of two rakaats and regards eight rakaats as the optimal sunnah for Tahajjud. The focus is not just on quantity but also on the quality of the prayer - maintaining concentration, humility, and unhurried recitation.

No Fixed Maximum: Quality Over Quantity in Tahajjud

One of the beauties of Tahajjud is that it has no strict maximum limit on the number of rakaats.

In the Hanafi view, a person may pray as many rakaats as they are able during the night, seeking Allah’s closeness.

Crucially, the emphasis is on quality over quantity. It is better to pray a moderate number of rakaats with deep focus and longer recitation than to pray a huge number of quick, short rakaats.

Hanafi scholars stated lengthier recitation is superior to a larger number of rakats prayed. In other words, one should aim for khushu (devotion) - reciting slowly, reflecting on the Quran - even if that means performing fewer rakaats.

Additional Hanafi Considerations for Tahajjud

The Hanafi madhab classifies Tahajjud as a highly encouraged nafl (supererogatory) prayer.

Hanafis also consider the Witr prayer to be wajib (obligatory), and it is performed after Tahajjud if one is planning to wake up for the night prayer.

Thus, a common Hanafi practice is to delay Witr until after completing Tahajjud in the latter part of the night. For instance, if you plan to pray eight rakaats of Tahajjud, you would then pray the three rakaats of Witr afterward to conclude your nightly worship

Consistency: One should try to pray Tahajjud consistently, even if just two rakaats, rather than occasionally doing many.

The Prophet (peace be upon him) advised us to take on spiritual deeds we can maintain, saying:

"Do good deeds properly, sincerely and moderately and know that your deeds will not make you enter Paradise, and that the most beloved deed to Allah is the most regular and constant even if it were little."

Sahih Bukhari

So, it’s better in Hanafi guidance to do a manageable amount nightly than to do a large number one night and nothing on other nights.

FAQs

How to pray Tahajjud according to Hanafi?

In the Hanafi school, Tahajjud is prayed between Isha and before Fajr (there are differences on whether it is after Middle of the Night or Last Third of the Night), starting with a minimum of 2 rakats. It is recommended to pray in sets of two rakats, focusing on devotion and slow recitation, and then conclude with Witr prayer.

How many rakat Tahajjud Hanafi?

The minimum number of rakats for Tahajjud in the Hanafi school is 2, while the optimal (and sunnah practice of the Prophet PBUH) is 8 rakats. There is no fixed maximum limit.

How to pray Tahajjud?

Tahajjud is performed between the Middle of the Night / Last Third of the Night (there are differences of opinion) and before Fajr in sets of two rakats, with a minimum of 2 rakats. Focus on sincerity, reflection, and slow recitation, and it is recommended to follow with 3 rakats of Witr.

Is Tahajjud nafl Hanafi?

Yes, Tahajjud is considered a nafl (voluntary) prayer in the Hanafi school.

Is 8 rakat Tahajjud sunnah?

Yes, 8 rakats is the sunnah practice of the Prophet Muhammad (peace be upon him) for Tahajjud, and is considered optimal in the Hanafi school.

How many rakats do I pray in Tahajjud?

You can pray a minimum of 2 rakats for Tahajjud, but the recommended number is 8 rakats. There is no maximum limit, so you may pray as many as you are able.

How to perform Tahajjud prayer Hanafi?

Begin after Middle of the Night / Last Third of the Night (there are differences of opinion) and before Fajr by praying at least 2 rakats in sets of two, focusing on devotion and slow recitation. You should follow the prayer with 3 rakats of Witr.

Conclusion

In summary, the Hanafi perspective on Tahajjud can be outlined as follows:

  • Minimum rakaats: 2 (two) rakaats - even this simple offering fulfills Tahajjud.
  • Optimal rakaats: 8 rakaats - following the Prophetic sunnah for night prayer.
  • Witr: 3 rakaats Witr to be prayed after Tahajjud (before Fajr) to complete the night’s worship.
  • Maximum rakaats: Unlimited - there is no fixed upper limit to Tahajjud in total. You may pray as many rakaats as you wish until the approach of Fajr.
  • Quality focus: It’s better to have fewer rakaats with sincere, unrushed recitation than many rakaats performed hastily. Engage in Tahajjud with a mindful heart - reciting Qur’an, making dua in sujood, and feeling the tranquility of the night.

By adhering to these guidelines, one can reap the full spiritual benefits of Tahajjud. The Hanafi madhab’s teachings encourage Muslims to establish this night prayer according to their capacity.

Even if it’s just two rakaats nightly, Tahajjud carries immense reward and brings one into the company of those beloved servants who "forsake their beds to pray to their Lord in fear and hope" (Qur’an 32:16).

May Allah Ta’ala grant us the ability to perform Tahajjud regularly and with sincerity. Indeed, the night prayer is a key to His mercy and an elevation in rank for the believer.

SOURCES & REFERENCES 🔗

Sources referenced in this article include key Hanafi legal texts such as Al-Fatawa al-Hindiyya (compiled under the supervision of scholars in the court of the Mughal Emperor Aurangzeb), Fath al-Qadir by Imam Ibn al-Humam, a seminal commentary on Al-Hidayah, and Durr al-Mukhtar by Imam al-Haskafi with its renowned supercommentary Radd al-Muhtar by Ibn ‘Abidin. These works collectively represent authoritative expositions of Hanafi jurisprudence and form the basis for the rulings discussed above regarding the number of rakaats in Tahajjud.

Cards showing examples of lessons inside the Jibreel app
Learn All You Need To Know in 5 mins a Day
Download app button for Google and ApplePractice with certainty

Our Scholars

Image of our scholar Sheikh Hilal Patel
Sheikh Hilal Patel
FIQH EXPERT & scholar

Sheikh Hilal Patel began his studies at Darul Ulum al-Arabiyyah al-Islamiyyah in Bury where he memorised the Qur'an & completed the Alimiyyah program.

He went on to complete the Ifta' Specialisation Program (the process of becoming a Mufti and have the ability to give fatwas) at the world-class Whitethread Institute.

Sheikh Hilal works for Whitethread's Fatwa Centre under Dr Mufti Abdur-Rahman Mangera, Founder & Dean of Whitethread Institute and listed as one of the 500 Most Influential Muslims in the world.

Image of our scholar Sheikh Zayd Mehtar
Sheikh Zayd Mehtar
FIQH EXPERT & scholar

Sheikh Zayd Mehtar memorised the Qur’an at a young age at Darul Uloom Bury and went on to master the ten modes of Qur’anic recitation (Qirā’āt).

He went on to complete advanced programmes in Islamic Theology and Jurisprudence at the world-class Whitethread Institute under Dr Mufti Abdur-Rahman Mangera.

Sheikh Zayd has served as an imam for many years and is an experienced teacher of Islamic theology (ʿAqīdah), Qur’an, and Hadith, guiding students and communities in their understanding and practice of Islam

Image of the logo of whitethread institute
Know Your Islamic BASICS? FIND OUT NOW 🧪
Point Phone
Camera Here
Know YOUR Basics?
Find Out In 60 Seconds
5 common questions EVERY Muslim should know.
I'LL RISK NOT KNOWING
CLOSE

Question 1 of 5Which of the following is a requirement for Ghusl to be valid?

Starting with Bismillah
Doing a complete wudu
Setting intention to do ghusl
Rinsing the nose
Wash the entire body 3x

Question 2 of 5Ahmed is from the UK and is visiting his family in Palestine for 3 weeks. How should he pray?

Shorten and combine prayers for the duration of the visit
Pray normally (not shorten or combine)
Shorten prayers up until 15 days then pray normally
Only shorten prayers during the journey. Pray normally upon arrival in Palestine.

Question 3 of 5What is the minimum distance a person must intend to travel to make them a traveller?

42 miles from their residence
42 miles outside their city boundary
48 miles from their residence
48 miles outside of their city boundary

Question 4 of 5You are a traveller according to Hanafi fiqh and are feeling energetic, how should you pray?

Pray the full four rakats
Shorten prayers to 2 rakats
Shorten prayers to 2 rakats and combine in one prayer time
Pray the full four rakats and sunnah prayers

Question 5 of 5You're praying salah at an airport and you lay your jacket with your wallet beside you. Your wallet only has £5 inside and you see someone taking your wallet. Can you break your salah to stop them?

Yes
No
Your Score: Urgent Attention ⚠️
0%

You're leaving your faith to guesswork. Don't risk your akhira.

Learn the essentials now - and worship with lifelong confidence.