Skip to content
Pillars
20,000+5Reviews1,600,000 now praying with Pillars
Download App

What time is Tahajjud? (the last third of the night)

The window, the time many hold to be best, and how to work out the last third of the night for your city, with calculated UK and US times.
Updated
October 19, 2026
Summary
  • Many scholars say Tahajjud can be prayed any time after Isha until true dawn, with or without sleep.
  • The last third of the night is widely held to be the best part, based on Sahih al-Bukhari 1145.
  • To find it, divide Maghrib to Fajr by three and subtract one third from Fajr.
  • Counting to sunrise instead starts the last third 76 to 83 minutes later in London across the year, and more in June.
  • In a UK summer, the high-latitude rule in your app can move the start by over an hour.

Short answer. Many scholars say Tahajjud can be prayed any time after Isha until Fajr (true dawn). The last third of the night is widely held to be the best part, based on Sahih al-Bukhari 1145. To find it, divide Maghrib to Fajr by three and subtract one third from Fajr. Counting to sunrise instead starts it an hour or more later.1, 23

Tonight, where you are. Your mosque's timetable gives Maghrib and Fajr, which is all you need for the steps below. Pillars, our app, also shows the last third of the night as a Premium feature (see "How to set this in an app").4

[IMAGE: Night divided into thirds]

When can you pray Tahajjud?

Many scholars hold that night prayer can be offered any time after Isha (the night prayer) until true dawn, when Fajr begins. Ibn Baz, the Saudi Permanent Committee, al-Albani and the Kuwaiti Fiqh Encyclopedia take this view. The Encyclopedia adds that praying after sleep is better, but sleep is not required.2

A Hanafi answer on AskImam, a fatwa website, also says sleep is not a condition, though praying after sleep is better.5

The terms differ too. "Qiyam al-layl" (standing in the night) covers any voluntary prayer at night. Darul Iftaa Jordan (Shafi'i) uses "Tahajjud" specifically for prayer after waking from sleep.6

Why is the last third of the night special?

A well-known hadith says our Lord descends to the nearest heaven "when the last third of the night remains" (Sahih al-Bukhari 1145). Sahih Muslim 758a has the same meaning: "when one-third of the latter part of the night is left".1, 7

Another report says the Lord is closest to a worshipper "during the last part of the night" (Jami' at-Tirmidhi 3579).8

Sahih Muslim 755a allows flexibility: it advises someone who fears not waking to pray Witr early. It adds that prayer at the end of the night "is witnessed… and that is preferable."9

Is the last third the only "best" time?

No. Most sources point to the last third, but some scholars name a different segment. Here are the views and who holds them:

ViewWho holds itSource
Window: after Isha until true dawnIbn Baz; Permanent Committee; al-Albani; Kuwaiti Fiqh Encyclopedia; Hanafi (AskImam)2, 5
Window begins from MaghribImam Ahmad, as reported by Ibn Qasim (Hanbali)2
"Tahajjud" means prayer after sleepDarul Iftaa Jordan (Shafi'i)6
Best: the last thirdBukhari 1145, Muslim 758; Ayatollah Khamenei ("more recommended" in the last third)1, 7, 10
Best: after midnight until a sixth of the night remainsIbn Uthaymin, drawing on the Prayer of Dawud (Bukhari 1131)11, 2
Best, if dividing into thirds: the middle thirdal-Shirazi, al-Majmu' (Shafi'i)6
Night prayer from the middle of the night to the Fajr adhanAyatollah Khamenei10

The Prayer of Dawud explains the second "best" view. The Prophet Dawud would "sleep for half of the night and then pray for one third", then sleep the last sixth (Sahih al-Bukhari 1131).11

This article does not rule between these views. Ask your mosque or a scholar you trust which one they follow.

How do you work out the last third of the night?

Take the length of the night, divide it by three, and count back from the end. The result depends on which "night" you use. Maghrib to Fajr is the common basis in Tahajjud calculators and prayer apps.3, 123

Step by step.

  1. Find tonight's Maghrib (sunset) time.
  2. Find tomorrow morning's Fajr time.
  3. Work out the gap between them in hours and minutes. That is the night.
  4. Divide the night by three.
  5. Subtract that third from Fajr. The result is when the last third begins.

Worked example: London, night of 21 December 2026 (calculated)

These times are calculated with the Muslim World League method (Fajr at 18°), not taken from a mosque timetable.3

  • Maghrib (sunset), 21 December: 15:53
  • Fajr, next morning (22 December): 06:00
  • Night: 15:53 to 06:00 = 14 h 07 min (847 minutes)
  • One third: 847 ÷ 3 ≈ 282 minutes = 4 h 42 min
  • Last third begins: 06:00 − 4 h 42 min = 01:18

If you divide sunset to sunrise instead, the night runs 15:53 to 08:04, or 16 h 11 min. A third is about 5 h 24 min, so the last third begins at about 02:40. From unrounded times it is 02:41, which is 83 minutes later than the sunset → Fajr answer.3

The last third ends at Fajr. On this night, that gives a window of about 4 h 42 min.

What time does the last third start in my city?

It moves with the seasons, and it moves by over an hour depending on the night you divide. The tables below are calculated, not any mosque's official timetable.3

London, start of the last third by season (calculated, MWL 18°, middle-of-the-night rule)

Night ofNight = sunset → FajrNight = sunset → sunriseGap
21 Dec 202601:1802:4183 min
20 Mar 202700:5002:0576 min
21 Jun 202723:49*02:16147 min
22 Sep 202701:3602:5276 min

*Depends on the high-latitude rule; see the next section.

Winter, 21 December 2026, by city (calculated, MWL 18°)

CityNight = sunset → FajrNight = sunset → sunrise
London01:1802:41
Birmingham01:2402:49
Manchester01:2502:53
Glasgow01:3103:06
New York01:1602:22
Chicago01:1102:18
Toronto01:3702:47

All times are local, the morning after the date shown.3

What about the UK in summer?

In June the answer depends on your app's settings more than on the sky. Across much of Britain, the sun does not sink 18° below the horizon in June and July. So "Fajr at 18°" never happens, and apps use a high-latitude rule to place it.133

A high-latitude rule sets Fajr and Isha when twilight never fully ends, or when the angle would put them too deep into a short night. For London on 21 June 2027 (MWL), the rule alone moves the start of the last third:3

High-latitude ruleLast third starts (sunset → Fajr)
Middle of the night23:49
Twilight angle00:48
One-seventh of the night01:34

Twilight angle uses a fraction of the night set by the Fajr angle; one-seventh puts Fajr at the start of the night's last seventh.12

Summer nights are short, so the last third is short too.

Some settings give a result that looks impossible. With ISNA (15°) and the middle-of-the-night rule, London on 21 June 2026 (a year earlier than the table) shows Isha at 00:49. The last third then starts at 23:57, before that Isha. This is a quirk of the app settings, not a religious claim.3

If your app's summer times look strange, check which rule it uses, and compare with your mosque.

[IMAGE: High-latitude rule moves the last third]

Why do Tahajjud calculators disagree?

Mostly because they divide different nights. Many calculators divide "the night" by three without saying whether it ends at Fajr or sunrise. In UK cities that choice moves the answer by 76 to 94 minutes in winter and at the equinoxes, and more in June.3

The calculation method matters too. Methods place Fajr at different sun angles, from 12° to 20° below the horizon, so the night's end shifts.12

how prayer times are calculated

Common mistakes

  • Using one fixed clock time. "Tahajjud is at 2:30 am" can't be right everywhere. The time changes by city, season and method.
  • Getting the arithmetic wrong. With Maghrib at 6 pm and Fajr at 5 am, the night is 11 hours. A third is 3 h 40 min, so the last third starts at 1:20 am, not 2:30 am.
  • Calling Tahajjud "the last third". The last third is the time many hold to be best. The window itself, in the views above, runs from Isha (or Maghrib) to dawn.
  • Quoting a hadith that isn't one. "The best time for Tahajjud is the last third" is sometimes credited to Abu Hurairah. It is not a hadith wording. The source is Bukhari 1145 and Muslim 758.3
  • Unsourced cut-offs. A rule like "stop at least 15 minutes before Fajr" appears online without a source. The views above give true dawn as the end.

How to set this in an app

Two settings move the last third: your calculation method (it moves Fajr) and, in a UK summer, your high-latitude rule. Most prayer apps have both.

In Pillars, as a worked example:4

  • Choose from 23 calculation methods, or autopilot, which picks one from your country.
  • Pick one of 3 high-latitude rules: twilight angle, middle of the night or one-seventh of the night.
  • Adjust any prayer by up to 60 minutes, free.
  • On iPhone, follow your local mosque's timetable where it is available.
  • Premium adds the middle of the night and the last third of the night. Both are computed on night = Maghrib → Fajr.

If your mosque counts the night differently, use the steps above to check.

Pillars prayer times app

Keep reading

FAQ

Can I pray Tahajjud before sleeping?

Many scholars say yes. Ibn Baz, the Permanent Committee and the Kuwaiti Fiqh Encyclopedia hold that night prayer is valid any time after Isha. The Encyclopedia says this holds with or without sleep, and that after sleep is better. Darul Iftaa Jordan (Shafi'i) reserves the word "Tahajjud" for prayer after sleep.

Is Tahajjud the same as qiyam al-layl or Witr?

Not exactly. Qiyam al-layl covers any voluntary night prayer, while some scholars use "Tahajjud" only for prayer after sleep. Witr is a separate prayer. Sahih Muslim 755a mentions praying it early if you fear not waking. Ask your mosque how they treat the three.

What time does Tahajjud end?

In the views above, at Fajr, which begins at true dawn (Ayatollah Khamenei words it as the Fajr adhan).

Is the "middle of the night" the same as 12:00 midnight?

No. It usually means the midpoint between Maghrib and Fajr, not 00:00 on the clock. In London it can fall before or after 00:00.

Can I pray Tahajjud at 11 pm?

Under the view that the window opens after Isha, it falls within it once Isha has begun. Whether 11 pm falls in the last third depends on your city and season.
Written by
Apple App of the Day

The prayer app
you can trust

Ad-free, privacy focused and built by Muslims.

Download App

4.7 from 23,819 ratings

More From The Blog

All Posts