Last updated:
A Prayer Times Countdown and the Islamic Midnight Calculator for Tahajjud
Assalamu alaikum wa rahmatullahi wa barakatuhu,
Have you ever been in the middle of a busy afternoon and thought, โWait, has Asr come in yet?โ And then you stop what youโre doing, open another tab or app, search your city, and finally find out you have twenty minutes left. Iโve done this more times than I can count, so I added something to the website to fix it. And while I was at it, I built a second tool that Iโm even more excited to share with you.
Free Printable PDF
2027 Islamic & Gregorian Calendar
Plan your year with Gregorian and Hijri dates side by side on one clean, printable sheet. Includes Ramadan, Eid, Arafah, and white fasting days clearly marked.
Download Free 2027 Calendar PDF โGrab your tea, because this one is a little long. I want to walk you through both of them properly.
First: Your Next Salah Countdown, Right at the Top

Look at the very top of any page on Islam Hashtag.ย Youโll see a small bar with a countdown, something like โMaghrib in 01:22:28.โ Tap it and a little card opens with your city, todayโs date in both Gregorian and Hijri, and the whole dayโs prayer times: Fajr, Sunrise, Jumuโah, Asr, Maghrib, Isha, and Islamic midnight.
All you have to do is choose your city once and press theย Savedย star. After that, the website remembers you. Wherever you are on the site, reading an article, using the Tasbih counter, or looking at the kidsโ tafsir classes, the time left for your next salah is right there, ticking down quietly.
I like to think of it as a gentle nudge. It doesnโt nag you or send a loud alert. Itโs just there, so when you glance up and see โAsr in 00:18:40,โ you know itโs time to wrap up and get your wudu ready. Thereโs also a small settings button in the card if youโd like to adjust your preferences.
Youโll also notice that the last item in that daily list isย Islamic midnight. Thatโs no accident, and it brings me to the second tool.
Second: The Islamic Midnight Calculator
Here is something that surprised me when I first learned it:ย Islamic midnight is not 12:00 AM.
In Islam, the night is counted fromย Maghrib to Fajr. It isnโt the hours between 6 PM and 6 AM, and it isnโt the stretch from one clock midnight to the next. Islamic midnight, calledย nisf al-layl, is the exact middle of that night.
Because the night is longer in winter and shorter in summer, and different in every city, the middle moves every single day. Today in Makkah, for example, Maghrib is at 5:50 PM and Fajr is at 5:03 AM. That makes the nightย 11 hours and 13 minutesย long, and its middle falls atย 11:27 PM. If I had set my Tahajjud alarm for โmidnightโ by the clock, I would have missed the real midpoint by more than half an hour.
Why This Matters: The Last Third of the Night
The reason I care so much about getting this time right is what comes after midnight. The Prophet ๏ทบ told us that in the last third of every night, our Lord descends to the lowest heaven and says,ย โWho is calling upon Me so that I may answer him? Who is asking of Me so that I may give him? Who is seeking My forgiveness so that I may forgive him?โย (Bukhari and Muslim)
When I read this, I donโt see it as a rule. I see it as a personal invitation, every single night. Itโs the time for Tahajjud, for the dua youโve been carrying in your heart, for crying quietly where only Allah can hear you, and for asking forgiveness.
But how do you aim for the last third if you donโt know when it starts? Most of us were guessing, and I certainly was. Thatโs what the calculator is for.
๐ย Try it here:ย Islamic Midnight Calculator
How to Use the Calculator, Step by Step
I wanted this to be simple, so hereโs how it works.
1. Choose your location.ย Pick your city from the list, or tapย Use my locationย and it will find you automatically. It works for cities all over the world, so you can also check times for family far away or for a trip youโre planning.
2. Pick your date.ย The night begins at Maghrib on the date you choose. So if you select todayโs date, youโll see tonightโs night, which ends at tomorrowโs Fajr.
3. Select your Fajr calculation method.ย This matters because communities calculate Fajr a little differently. In my example below I usedย Umm al-Qura, Makkah (18.5ยฐ), but you can choose the method your local mosque follows.
4. Decide when your night ends.ย By default it ends atย Fajr, true dawn, which is the majority view. If youโd like to adjust further, thereโs anย Advanced optionsย section.
5. Press Calculate.ย You can switch betweenย 12-hour and 24-hourย time, and thereโs aย Dark modeย button, which is lovely for checking at night without hurting your eyes.
What the Results Look Like
Here are the results for Makkah on the night of Friday, October 23, 2026:
- Maghrib (night begins):ย 5:50 PM
- First third ends:ย 9:35 PM
- Islamic midnight:ย 11:27 PM
- Last third begins:ย 1:19 AM, the next day
- Fajr (night ends):ย 5:03 AM
- Length of the night:ย 11 hours 13 minutes
- Each third lasts:ย 3 hours 44 minutes
The calculator also draws a little bar showing the whole night from Maghrib to Fajr, with the key moments marked along it. I find it helpful toย seeย the night this way, as one long stretch divided into three parts, with the best part saved for last.
And look at that last number. The last third gives youย 3 hours and 44 minutes, from 1:19 AM until Fajr. Thatโs a generous window. You donโt need a perfectly timed alarm or a night of no sleep. You only need the intention to rise.
How These Tools Can Actually Help You
Let me be practical, because I donโt want these to be just pretty features.
If youโve never prayed Tahajjud, you can look at tonightโs last-third time, set your alarm for it, and wake up knowing youโre in the right window. No more guessing, no more wondering whether youโre too early or too late.
If youโre a busy mom, a student, or someone who works long hours, the countdown at the top of the page keeps you aware of your next salah without any extra effort. Youโll see it every time you open the website.
If you canโt pray for long, thatโs okay. Even two rakahs and a sincere dua in the last third of the night are something Allah loves. The calculator isnโt there to put pressure on you. Itโs there to show you when the door is open.
If you travel or have family abroad, you can check the night for any city. Itโs a lovely way to plan a shared night of dua with someone far away.
If you follow a specific Fajr method, you can choose it, so the times match what your community prays by.
A Few Gentle Reminders
- The times are a guide.ย Please follow the prayer times and Fajr method used by your local mosque and your trusted scholars. Thatโs why the calculator lets you choose.
- Start small.ย You donโt have to jump into long nights of worship. A little consistency is better than a heavy start you canโt keep up.
- Intention comes first.ย Sleep early, make the intention before bed, and ask Allah to help you wake. Many of us have found that this helps more than any alarm.
Try It Tonight
Hereโs my little challenge for you. Set your city in the top bar and press theย Savedย star. Then open theย Islamic Midnight Calculator, find out when the last third of your night begins, and tell yourself, โTonight, Iโll try.โ
And please tell me how it goes! If youโd like another calculation method added, reminders for the last third of the night, or any other idea that would make these tools better, leave me a comment below. I read every one.
May Allah make it easy for all of us to wake in the last third of the night and fill it with sincere dua, and may He accept it from us. Ameen.
With love and duas,
Alimah Fahmina
Also read: quran auto scroll and continuous reading
Also read: allahumma barik in arabic
Discover more from Islam Hashtag
Subscribe to get the latest posts sent to your email.
