Ramadan 2027

I'tikaf: Rules for Retreating in the Mosque

Updated · Based on IslamQA

Short answer

I'tikaf means staying in a mosque to worship Allah. It is a Sunnah, not an obligation, unless you vowed it. It is best in the last ten days of Ramadan. For the full ten, enter before sunset on the night of the 21st, expected on Saturday 27 February 2027, and leave at sunset on the last day of Ramadan. Leave the mosque only for unavoidable needs. Women's i'tikaf is also in the mosque.

Get suhoor and iftar alerts for your city and track your fasts in the free Tasleem app. Get the app →

Is i'tikaf obligatory?

No. Ibn al-Mundhir reported consensus that it is Sunnah, unless a person makes a vow to do it. A vow makes it obligatory. Allah mentions it in the Quran: "And do not have relations with them as long as you are staying for worship in the mosques" (Quran 2:187).

'A'ishah said the Prophet ﷺ "used to observe i'tikaf in the last ten days of Ramadan until Allah took him, then his wives observed i'tikaf after him" (Bukhari 2026, Muslim 1172).

It is valid at any time of year, but best in Ramadan, and best of all in its last ten days.

Why do i'tikaf?

The main aim of the Prophet's ﷺ i'tikaf was to seek Laylat al-Qadr and be ready to spend it in worship. It is also time alone with Allah: prayer, Quran, dhikr and du'a, away from distractions. See Laylat al-Qadr 2027.

A note on popular virtue hadiths. Narrations promising, for example, the reward of "two Hajjs and two 'Umrahs" for i'tikaf in Ramadan are weak or fabricated. Imam Ahmad said he knew of nothing on its virtue except something weak. I'tikaf's value comes from the Prophet's ﷺ own practice.

When does i'tikaf start and end in 2027?

Start. The majority of scholars, including the four imams, say that someone doing i'tikaf for the last ten nights enters the mosque before sunset on the night of the 21st, because the ten are counted by nights and the 21st is the first of them. In 2027 that is expected to be before Maghrib on Saturday 27 February, subject to moon sighting.

Some scholars, including Ibn Baz and the Standing Committee, held that one enters after Fajr, based on a hadith of 'A'ishah. The majority understood that hadith differently.

End. I'tikaf ends at sunset on the last day of Ramadan, which is expected on 8 or 9 March 2027, depending on whether the month has 29 or 30 days. If you choose to stay the night and go straight from the mosque to the Eid prayer, that is fine, and some scholars recommended it. See Eid al-Fitr.

How long does i'tikaf have to be?

The scholars differ. The majority, including Abu Hanifah and Ahmad, hold that there is no minimum: even a short stay with the intention of i'tikaf counts. Some held the minimum is one day. Ibn Baz's view is that no fixed length is set, for men and women alike.

If you can't do all ten days, doing some of the days or nights is fine. 'Umar said: "During the Jahiliyyah I vowed to observe i'tikaf for one night in al-Masjid al-Haram." The Prophet ﷺ said: "Fulfil your vow" (Bukhari 2042, Muslim 1656).

Where can i'tikaf be done?

In a mosque where the congregational prayers are held. If your i'tikaf includes a Friday and you are someone for whom Jumu'ah is obligatory, a mosque that holds Jumu'ah is better. Fasting is not a condition of i'tikaf.

Can a woman do i'tikaf at home?

The view we follow, which is that of the majority, is that a woman's i'tikaf, like a man's, is only valid in a mosque. A prayer corner at home is not a mosque in the legal sense. The Prophet's ﷺ wives asked his permission and did i'tikaf in the mosque. Some scholars held that a woman may do it in her home prayer place. We do not follow that view.

Ibn 'Uthaymin added that a woman should do i'tikaf in the mosque only where it involves nothing forbidden.

When can I leave the mosque during i'tikaf?

Going out without need invalidates i'tikaf, because i'tikaf means staying. 'A'ishah said the Prophet ﷺ "would not enter the house except for a need" while in i'tikaf (Bukhari 2029, Muslim 297).

Allowed, briefly:

  • going to the toilet;
  • wudu or ghusl;
  • fetching food or drink if no one can bring it.

Not allowed: going out to work. This invalidates i'tikaf. The Sunnah, as the Standing Committee explains, is also not to visit the sick, attend funerals, accept invitations or run family errands during i'tikaf.

Intimacy with one's spouse is forbidden during i'tikaf (Quran 2:187).

What should I do in i'tikaf?

Fill the time with prayer, Quran, dhikr and du'a, and cut down on talk and worldly matters. See The last ten nights and Completing the Quran in Ramadan.

Frequently asked questions

Can I do i'tikaf and still go to work?

No. Leaving the mosque for work invalidates i'tikaf. You could do i'tikaf in the hours or nights you are free, since there is no minimum length.

Can I do i'tikaf on the odd nights only?

Yes. The full ten is best, but some nights are fine.

Do I have to fast during i'tikaf?

Fasting is not a condition of i'tikaf. In Ramadan you will be fasting anyway.

Can I do i'tikaf in any masjid?

It should be a mosque where the daily prayers are held in congregation.

When exactly do I enter for the last ten in 2027?

Before sunset on Saturday 27 February 2027, if Ramadan begins on 8 February as expected. Check your local start date.

In Tasleem

Tasleem's prayer schedule shows the expected Maghrib time on 27 February so you can reach the mosque before sunset, and its prayer alerts keep you on time throughout i'tikaf.

Sources