Tahajjud, the night prayer, is one of the most beloved and rewarding acts in Islam — yet many long to pray it but do not know how to begin. Learning how to pray tahajjud, and how to actually make it a habit, opens the door to a practice the righteous have treasured for centuries.
This piece builds on our earlier one: Tahajjud: Islam’s Most Underrated Practice — here we go deeper and more practical.
Tahajjud — the voluntary night prayer, prayed in the depth of the night after sleep — is one of the most beloved, rewarding, and treasured acts of worship in Islam. Allah ﷻ praised those who pray it, describing the righteous as those who “used to sleep but little of the night, and in the hours before dawn they would seek forgiveness” (Quran 51:17-18); and the Prophet ﷺ said, “the best prayer after the obligatory prayers is the night prayer” (Muslim 1163). Yet many believers who long to pray tahajjud do not know how to begin — how it is prayed, how many rak‘ahs, when, and, most of all, how to actually manage to wake and make it a habit. Learning how to pray tahajjud, and how to make it a lasting practice, opens the door to this treasured act of the righteous — a time of special nearness to Allah ﷻ, answered du‘a, and quiet, private worship in the stillness of the night. To reflect on how to start praying tahajjud, then, is to reflect on how to begin one of the most beautiful practices in Islam — the mechanics of the prayer itself, and the practical means of actually waking for it and keeping it — so that the longing to pray in the night becomes a living reality. Let us reflect on how tahajjud is prayed, and how to make it a habit.
How Tahajjud Is Prayed
Before making it a habit, it helps to know simply how tahajjud is prayed, for it is easier than many imagine. First, its time is the depth of the night, after sleep: tahajjud is prayed in the night after one has slept — any time from after Isha until just before Fajr — and the most virtuous time is the last third of the night, in which Allah ﷻ descends (in the manner befitting His Majesty) and calls, “who is calling upon Me that I may answer him? Who is asking of Me that I may give him? Who is seeking My forgiveness that I may forgive him?” (Bukhari 1145). Second, it is prayed in pairs of two rak‘ahs: tahajjud (like other voluntary night prayer) is prayed in units of two rak‘ahs — praying two, then two, and so on — for the Prophet ﷺ said, “the night prayer is two by two” (Bukhari 990). Third, there is no fixed maximum, but quality over quantity: there is no fixed obligatory number; one may pray as few as two rak‘ahs or more. The Prophet ﷺ would often pray a number of rak‘ahs, but he taught that quality — length, presence of heart, and consistency — matters more than mere number, and that the most beloved deeds to Allah ﷻ are the most constant, even if few (Bukhari 6464). So even two rak‘ahs of tahajjud, prayed regularly with presence of heart, is a beautiful and sufficient beginning. Fourth, it is followed by witr: it is Sunnah to end the night prayer with witr — an odd number of rak‘ahs (one, three, or more) — for the Prophet ﷺ said, “make the last of your night prayer witr” (Bukhari 998); if one prays witr earlier after Isha and then wakes for tahajjud, one prays tahajjud without repeating witr. Fifth, recite what you can, and make du‘a: in tahajjud, recite from the Quran what you are able (it is a time to recite a little more slowly and reflectively if you can), and make du‘a — for the night, especially its last third, is one of the most beloved times for answered supplication (Bukhari 1145); pour out your needs to Allah ﷻ. Sixth, it can be simple and short: tahajjud need not be long or elaborate; two rak‘ahs with whatever you can recite, followed by sincere du‘a and witr, is a complete and beloved night prayer — the door is open to all, however much or little they can manage. So how tahajjud is prayed — in the night after sleep, ideally the last third (Bukhari 1145), in pairs of two rak‘ahs (Bukhari 990), with no fixed maximum but quality and consistency valued (Bukhari 6464), ended with witr (Bukhari 998), with recitation and du‘a, and able to be simple and short — is within the reach of every believer who longs to pray in the night.
How to Actually Make It a Habit
Knowing how tahajjud is prayed, the real challenge for most is waking for it and keeping it — so here are the practical means, drawn from the Sunnah and the wisdom of the righteous. First, start small and consistent: begin with just two rak‘ahs, and aim for consistency over quantity, for the Prophet ﷺ taught that the most beloved deeds are the most constant, even if few (Bukhari 6464); a regular two rak‘ahs is far better than an occasional many. Second, sleep early and with intention: the key to waking for tahajjud is often sleeping earlier; follow the Sunnah of sleeping soon after Isha, and go to sleep with the sincere intention to wake for the night prayer — for the Prophet ﷺ taught that whoever intends to wake and pray but is overcome by sleep is written the reward of their intention (an-Nasa’i 1787). Third, use practical means to wake: take the practical means — set an alarm (for the last third of the night, or however much before Fajr you can manage), ask a family member to wake you, and sleep in a way that helps you rise; taking the means is part of the effort, not against reliance on Allah ﷻ. Fourth, make sincere du‘a to be helped to wake: ask Allah ﷻ to help you wake and pray, for He is the one who grants success; the sincere longing and du‘a to pray tahajjud is itself beloved to Him and a means of His help. Fifth, begin even a little before Fajr: if waking in the last third is hard at first, begin with even a short time before Fajr — waking just fifteen or twenty minutes before your Fajr alarm to pray two rak‘ahs and make du‘a — and build from there; any tahajjud is a beginning. Sixth, do not despair if you miss it: if you intend to wake but sleep through, do not despair or give up — you have the reward of your intention (an-Nasa’i 1787), and the Prophet ﷺ taught that one who misses their night prayer may make it up in the day (Muslim 747); keep trying, for consistency is built through persistence, not perfection. Seventh, seek the help of the last third and its du‘a: draw motivation from the immense reward of the last third of the night — the descent of Allah ﷻ, the answered du‘a, the nearness — letting the longing for that special time pull you from your bed. And eighth, keep it a private, sincere act: keep your tahajjud between you and Allah ﷻ, a private and sincere act of the night, for its beauty is partly in its hiddenness — worship offered when no one sees but Allah ﷻ, which purifies the intention and deepens the nearness. So making tahajjud a habit — starting small and consistent (Bukhari 6464), sleeping early and with intention (an-Nasa’i 1787), using practical means to wake, making du‘a for help, beginning even a little before Fajr, not despairing if you miss it (Muslim 747), drawing motivation from the last third, and keeping it private and sincere — turns the longing to pray in the night into a living, lasting practice, and opens the door to one of the most treasured acts of the righteous.
Know that tahajjud is simpler than you think. Let go of the idea that tahajjud must be long or elaborate. It is prayed in the night after sleep — any time from after Isha until just before Fajr, and best in the last third of the night, when Allah ﷻ descends and calls, “who is asking of Me that I may give him? Who is seeking My forgiveness that I may forgive him?” (Bukhari 1145). It is prayed in pairs of two rak‘ahs (Bukhari 990), with no fixed maximum — even two rak‘ahs, prayed regularly with a present heart, is a beautiful beginning, for the most beloved deeds to Allah ﷻ are the most constant, even if few (Bukhari 6464). Recite what you can, make sincere du‘a — for the night is a most beloved time for answered supplication — and end your night prayer with witr (Bukhari 998). Simple, short, and sincere is a complete and beloved tahajjud.
Take the practical means to wake — starting small. The real challenge is waking, so take the means the Sunnah and the righteous teach. Start small: aim for just two rak‘ahs, and value consistency over quantity (Bukhari 6464). Sleep earlier — follow the Sunnah of sleeping soon after Isha — and go to sleep with the sincere intention to wake for the night prayer, for whoever intends to pray but is overcome by sleep is written the reward of their intention (an-Nasa’i 1787). Set an alarm, ask someone to wake you, and make sincere du‘a to Allah ﷻ to help you rise. If the last third is hard at first, begin with even fifteen or twenty minutes before your Fajr alarm — two rak‘ahs and some du‘a — and build from there. Taking these means is part of the effort, not against reliance on Allah ﷻ — and the sincere longing to pray in the night is itself beloved to Him.
Don’t despair if you miss it — keep coming back. Do not let missing tahajjud discourage you. If you intend to wake but sleep through, you already have the reward of your intention (an-Nasa’i 1787), and the Prophet ﷺ taught that one who misses their night prayer may make it up in the day (Muslim 747) — so pray two rak‘ahs in the morning if you missed the night. Keep trying, for a lasting habit is built through persistence, not perfection. Draw motivation from the immense reward of the last third of the night — the descent of Allah ﷻ, the answered du‘a, the nearness — and let the longing for that special time pull you from your bed. And keep your tahajjud a private, sincere act between you and Allah ﷻ, for its beauty is partly in its hiddenness. Keep coming back to it, and, by Allah’s ﷻ leave, the longing to pray in the night will become a treasured, living habit.
Tahajjud, the night prayer, is one of the most beloved and rewarding acts in Islam — “the best prayer after the obligatory prayers is the night prayer” (Muslim 1163) — yet many who long to pray it do not know how to begin. Now you do. Know how it is prayed: in the night after sleep, best in the last third when Allah ﷻ descends and answers (Bukhari 1145); in pairs of two rak‘ahs (Bukhari 990); with no fixed maximum, quality and consistency valued over number (Bukhari 6464); ended with witr (Bukhari 998); with recitation and sincere du‘a; and able to be simple and short. And know how to make it a habit: start small and consistent, sleep early and with the intention to wake (an-Nasa’i 1787), take the practical means to wake, make du‘a for Allah’s ﷻ help, begin even a little before Fajr, do not despair if you miss it (Muslim 747), draw motivation from the last third, and keep it private and sincere. Even two rak‘ahs in the depth of the night, prayed regularly with a present heart, opens the door to this treasured practice of the righteous — a time of special nearness to Allah ﷻ, answered du‘a, and quiet worship offered when none sees but Him. So begin, however small; take the means and make the du‘a; keep coming back without despair — and turn your longing to pray in the night into one of the most beautiful and rewarding habits of your life.
Frequently Asked Questions
How do you pray tahajjud?
Tahajjud is prayed in the night, after you have slept, any time from after Isha until just before Fajr — with the most virtuous time being the last third of the night. It is prayed in units of two rak‘ahs, for the Prophet ﷺ said, “the night prayer is two by two” (Bukhari 990) — so you pray two rak‘ahs, then may pray two more, and so on. There is no fixed obligatory number; you may pray as few as two rak‘ahs or more, and consistency with presence of heart matters more than quantity (Bukhari 6464). In each rak‘ah, recite al-Fatihah and whatever you can of the Quran, and make sincere du‘a — for the night, especially its last third, is one of the most beloved times for answered supplication (Bukhari 1145). It is Sunnah to end your night prayer with witr (an odd number of rak‘ahs). So in practice: wake in the night, make wudu, pray two (or more) rak‘ahs with recitation and du‘a, and end with witr. It can be simple and short — even two rak‘ahs and sincere du‘a is a complete and beloved tahajjud.
What time is best for tahajjud?
Tahajjud can be prayed any time in the night after you have slept, from after the Isha prayer until just before the Fajr prayer. However, the best and most virtuous time for it is the last third of the night — the portion just before the pre-dawn (before Fajr). This is because of the special blessing of that time: the Prophet ﷺ taught that Allah ﷻ descends (in the manner befitting His Majesty) to the lowest heaven in the last third of every night and says, “who is calling upon Me that I may answer him? Who is asking of Me that I may give him? Who is seeking My forgiveness that I may forgive him?” (Bukhari 1145). So the last third of the night is a time of special nearness to Allah ﷻ and answered du‘a, making it the most virtuous time for tahajjud. To find the last third roughly, divide the time between Isha (or Maghrib, by some reckonings) and Fajr into three; the final portion is the last third. That said, if praying in the last third is difficult, tahajjud prayed at any time in the night after sleep is still valid and rewarded — so pray whenever in the night you are able, and aim for the last third when you can.
How many rak’ahs is tahajjud?
There is no fixed, obligatory number of rak‘ahs for tahajjud — it is a voluntary prayer, prayed in units of two rak‘ahs, and you may pray as few or as many as you are able. The Prophet ﷺ said, “the night prayer is two by two” (Bukhari 990), meaning you pray two rak‘ahs at a time. As for the total, the Prophet ﷺ himself would often pray a number of rak‘ahs in the night (reports mention his night prayer being around eight rak‘ahs followed by witr, among other descriptions), but he did not make any fixed number obligatory, and he taught that consistency and quality matter more than quantity: “the most beloved deeds to Allah ﷻ are the most constant, even if few” (Bukhari 6464). So do not feel you must pray a large number. Even two rak‘ahs of tahajjud, prayed regularly with presence of heart and followed by sincere du‘a and witr, is a beautiful, complete, and sufficient night prayer — and a far better beginning than an occasional large number. Start with two, be consistent, and increase gradually if you are able and wish to.
How can I wake up for tahajjud?
Waking for tahajjud is the main challenge for most people, and there are practical means that help. First, sleep earlier — follow the Sunnah of sleeping soon after Isha, for the key to waking in the night is usually getting enough sleep by sleeping early. Second, sleep with the sincere intention to wake and pray, for the Prophet ﷺ taught that whoever intends to pray in the night but is overcome by sleep is written the reward of their intention (an-Nasa’i 1787) — and the sincere intention itself helps you wake. Third, take practical means: set an alarm (for the last third of the night, or as much before Fajr as you can manage), place it away from your bed, and ask a family member to wake you. Fourth, make sincere du‘a to Allah ﷻ to help you wake and pray, for He grants success. Fifth, start small — even waking fifteen or twenty minutes before your Fajr alarm to pray two rak‘ahs is a beginning you can build on. Sixth, avoid heavy eating and excessive screen time late at night, which make waking harder. And seventh, do not despair if you miss it — keep trying, for consistency is built through persistence. Taking these means, combined with sincere longing and du‘a, is how the righteous have kept the night prayer.
What if I keep sleeping through tahajjud?
Do not despair or give up — this happens to many who sincerely wish to pray tahajjud, and Islam offers real reassurance here. First, if you genuinely intended to wake and pray but were overcome by sleep, you are not sinful, and in fact you are written the reward of your intention: the Prophet ﷺ taught that for one who intends to pray in the night but sleep overcomes them, “the reward of their prayer is written for them, and their sleep is a charity from their Lord” (an-Nasa’i 1787). So your sincere longing and intention are themselves rewarded. Second, you can make up the night prayer during the day: the Prophet ﷺ, when he missed his night prayer due to sleep or illness, would pray it in the day — and taught that whoever prays what they intended of the night prayer during the day (before Dhuhr) is written the reward as though they prayed it in the night (Muslim 747). So if you sleep through, pray two (or more) rak‘ahs in the morning. Third, keep taking the means and trying — sleep earlier, adjust your alarm, make du‘a — for a lasting habit is built through persistence, not perfection. Every sincere attempt is beloved to Allah ﷻ and rewarded. So keep your intention alive, make up what you miss in the day, and keep coming back — and by Allah’s ﷻ leave, the habit will take root.