← Muhasaba

Ibadah

Fasting in Islam: What Sawm Means, Its Rules, and Its Spiritual Purpose

Sawm is the fourth pillar of Islam — and the Quran names its purpose plainly: taqwa. A complete guide to what Islamic fasting requires, who is exempt, what types exist, and why it is described as a shield.

By Zaman Ishtiyaq · Updated July 2026

Definition

Sawm (Arabic: صوم) or siyam is the Islamic fast — abstaining from food, drink, smoking, and sexual intimacy from the break of Fajr until sunset (Maghrib). Ramadan fasting is the fourth pillar of Islam, obligatory for every adult Muslim who is able.

Fasting in Islam is not a wellness practice that happens to align with religious identity. The Quran names its purpose in a single phrase: so that you might attain taqwa. Allah commands in Surah al-Baqarah (2:183): “O you who believe, fasting is prescribed for you as it was prescribed for those before you, so that you might attain taqwa.” Taqwa — God-consciousness, the inner awareness of Allah that shapes every act — is not a byproduct of Islamic fasting. It is the stated goal.

Sawm and siyam are both Arabic terms for the fast. Sawm is the verbal noun (the act of fasting); siyam covers the broader practice and is used in the Quran when addressing the community. Ramadan, the ninth month of the Islamic lunar calendar, is when fasting becomes obligatory — and when the Quran was first revealed. The convergence of revelation and fasting in the same month is not incidental. Ramadan is the month of the Quran as much as it is the month of the fast.

What Breaks the Fast

Islamic fasting is precise about what invalidates it. The scholars established clear categories based on the Quran, the hadith, and their derivations. The fast is broken by:

One clarification matters here because it causes genuine confusion: forgetting. If a fasting Muslim eats or drinks out of genuine forgetfulness — not negligence, but actual unawareness that they were fasting — the fast is not broken. The Prophet ﷺ said: “Whoever forgets that he is fasting and eats or drinks, let him complete his fast, for it is Allah who fed him and gave him drink.” (Bukhari, Muslim). The mechanism is clear: the intention was not broken; only the body acted without the self’s awareness. The fast continues.

Who Is Exempt from Fasting

Islam does not obligate what a person cannot bear. The exemptions from Ramadan fasting are well-defined, and each carries its own ruling for what happens afterward:

01

Children

Fasting is not obligatory before puberty. Many families begin gradually introducing children to partial fasts, but no obligation exists until they reach maturity. There is no qada or fidyah for children's missed fasts.

02

Travellers

A Muslim travelling a journey of a qualifying distance may break the fast and make up the missed days (qada) after Ramadan. The Quran explicitly permits this (2:184). Some scholars recommend fasting if travel is not arduous.

03

The Ill

Sickness that would be worsened by fasting — or where fasting would significantly delay recovery — permits breaking the fast. The missed days are made up (qada) after recovery. Chronic conditions with no prospect of recovery move to the fidyah ruling.

04

Pregnant and Nursing Women

If a pregnant or nursing woman fears harm to herself or her child from fasting, she may break the fast. The ruling on whether she makes up the days (qada) or pays fidyah is a matter of scholarly difference; many contemporary scholars recommend qada for those who can manage it.

05

The Elderly

Those who are advanced in age and physically incapable of fasting — and for whom the hardship is permanent — pay fidyah in place of fasting: feeding one poor person for each missed day. Qada is not required since the incapacity is not expected to end.

Types of Islamic Fasting Beyond Ramadan

Ramadan is obligatory fasting — but the Islamic tradition contains an entire architecture of voluntary fasts, each with its own spiritual logic and reward. The Prophet ﷺ did not fast only in Ramadan, and the scholars consistently taught that voluntary fasting outside Ramadan extends the discipline of the nafs throughout the year.

Six Days of Shawwal

Fasting six days in the month immediately following Ramadan is equivalent, in reward, to fasting the entire year. The Prophet ﷺ said: 'Whoever fasts Ramadan and follows it with six days of Shawwal — it is as if he fasted the whole year.' (Muslim). The logic: Ramadan is thirty days, equivalent to ten months; six days of Shawwal are equivalent to two months. Together: twelve months.

Mondays and Thursdays

The Prophet ﷺ regularly fasted on Mondays and Thursdays. When asked about Mondays, he said: 'That is the day I was born, and the day revelation began.' (Muslim). Deeds are also presented to Allah on these days, and the Prophet preferred to be fasting when his deeds were presented.

The White Days (Ayyam al-Bid)

The 13th, 14th, and 15th of each Islamic month — the nights of the full moon, when the sky is brightest. The Prophet ﷺ said fasting these three days of every month is like fasting the whole year (Nasa'i). These are a monthly rhythm of optional fasting throughout the year.

The Day of Arafah (9th Dhul Hijjah)

For those not performing Hajj, fasting the Day of Arafah expiates sins of the previous year and the coming year. The Prophet ﷺ said: 'Fasting the Day of Arafah — I hope from Allah that it will expiate for the year before it and the year after it.' (Muslim). This is among the most recommended voluntary fasts in the Islamic calendar.

Ashura (10th Muharram, with 9th)

Fasting Ashura expiates sins of the previous year. The Prophet ﷺ added fasting the 9th (Tasu'a) alongside it to distinguish Islamic practice from the Jewish observance of Ashura alone. Ashura fasting is among the earliest fasts the Prophet ﷺ observed after arriving in Madinah.

Sha'ban

The Prophet ﷺ fasted more of Sha'ban than any other voluntary month. A'isha (RA) said she never saw him fast an entire month other than Ramadan, but she saw him fast most of Sha'ban (Bukhari, Muslim). Scholars have explained this as preparation for Ramadan — the nafs is brought into the rhythm of fasting before the obligation begins.

Fasting as a Shield

The Prophet ﷺ described fasting with one word that carries enormous weight in Islamic ethics: junnah — a shield. “Fasting is a shield,” he said. (Bukhari, Muslim). The word was used for a shield in battle, the object that stands between a warrior and the blow that would harm him. The scholars unpacked this metaphor carefully: the person who restrains themselves from halal food and drink — things that are permitted — purely out of obedience to Allah trains a faculty that makes restraining themselves from what is haram far more accessible.

The logic is not mysterious. If you can say no to eating when your body is hungry — for Allah, not for health, not for discipline — then saying no to the pull of a forbidden glance, or an unjust word, or a dishonest act becomes comparably available to you. The shield is not that fasting magically blocks sin; it is that the discipline of fasting builds the very faculty — restraint of impulse for the sake of Allah — that sin most directly requires you to deploy.

“When Ramadan enters, the gates of paradise are opened, the gates of hellfire are closed, and the devils are chained.”

— The Prophet ﷺ (Bukhari, Muslim)

Ramadan is not just a month of personal discipline. The hadith frames it as a change in the environment itself: the gates of paradise opened, the gates of hellfire closed, the devils chained. The classical scholars explained this not as metaphysical poetry but as a description of something structurally true: the conditions in Ramadan are uniquely weighted toward tawbah, worship, and transformation. The obstacles are lowered. The opportunity is elevated. What a person does with that opportunity is still their choice.

Fasting and the Nafs

Imam al-Ghazali, in Ihya Ulum al-Din (Book 7, Kitab al-Sawm), placed fasting as the primary discipline for controlling the nafs al-ammara — the self that commands toward evil. His argument was physiological and spiritual simultaneously: the nafs al-ammara is fuelled partly by satiation. A full stomach energises the body’s appetites, makes sleep heavier, makes heedlessness more comfortable, and gives the demanding self more raw material to work with.

Hunger weakens this grip. Not because starvation produces virtue, but because the specific restraint of eating — especially restraint that is motivated by Allah rather than by aesthetics or health — creates space for the nafs al-lawwama to operate. The reproaching soul — the conscience that recognises sin and drives honest self-examination — gets quieter room when the demanding nafs is not being constantly supplied. This is why the classical scholars consistently found that their most honest muhasaba happened during fasting: the signal-to-noise ratio of the inner life improves.

Fasting and Muhasaba — The Ramadan Connection

The connection between fasting and muhasaba is not incidental — it is structural. Ramadan is built around evening reflection. The fast breaks at Maghrib; iftar is taken; the window between Maghrib and Isha carries the accumulated weight of a day’s hunger and restraint. This is the natural muhasaba window: the body has been disciplined all day, the nafs al-lawwama has had space to operate, and the relief of iftar creates an openness that the classical scholars consistently used for review and tawbah.

After Isha comes tarawih — the extended nightly prayer unique to Ramadan. After tarawih, before sleep, is the second muhasaba window. The classical scholars used Ramadan specifically for intensive self-accounting: reviewing the year, identifying what needed to be corrected, making genuine tawbah, clearing moral and financial debts, and setting intention for what would come after. Ramadan was not just a month of extra worship — it was the annual reckoning.

The Muhasaba app’s journaling practice fits naturally into this rhythm. The Ramadan evening — after iftar, before or after tarawih — is the most natural journaling window in the Islamic year. The discipline of the day creates the honesty for the evening. The evening’s reflection gives the day’s discipline its full meaning.

Laylatul Qadr — The Night of Power

The Quran describes a single night in Ramadan as better than a thousand months: Laylatul Qadr, the Night of Power (97:1–5). Worship on this night — prayer, recitation, dua, remembrance — is equivalent in reward to over 83 years of continuous worship. The Prophet ﷺ did not announce the exact night, directing instead that it be sought in the odd nights of the last ten days of Ramadan.

This is the climax of Ramadan’s spiritual opportunity. Every odd night of the last ten — the 21st, 23rd, 25th, 27th, and 29th — carries the possibility that this is the night. The dua the Prophet ﷺ taught A'isha for this night is direct: Allahumma innaka ‘afuwwun tuhibb al-‘afwa fa‘fu ‘anni — “O Allah, You are the Pardoner, You love pardoning, so pardon me.” The petition is forgiveness — which is itself the primary fruit of Ramadan’s muhasaba and tawbah.

I'tikaf — Seclusion in the Last Ten Nights

The Prophet ﷺ never abandoned i'tikaf — seclusion in the mosque during the last ten nights of Ramadan — until he died. In the year he died, he performed it twice. I'tikaf is the most complete withdrawal from the distractions of ordinary life that the Islamic tradition prescribes: the person in i'tikaf does not leave the mosque except for necessities, restricts conversation, and dedicates their hours to Quran, prayer, dhikr, dua, and reflection.

For most Muslims today, formal i'tikaf is difficult to arrange. But the spirit of the last ten nights does not require a mosque seclusion to be present in one’s home. Reducing entertainment, restricting social time, intensifying Quran recitation, extending the night prayer, and deepening the evening muhasaba — these bring something of i'tikaf’s function into daily life. The last ten nights are not a quieter period of Ramadan; they are the intensification that the first twenty days have been building toward.

Frequently Asked Questions

What are the rules of fasting in Islam?

The fast begins at Fajr (true dawn) and ends at Maghrib (sunset). During this time, a fasting Muslim abstains from food, drink, smoking, and sexual relations. The intention (niyyah) for each day's fast should be made before Fajr. Breaking the fast (iftar) at Maghrib is Sunnah to hasten. The pre-dawn meal (suhoor) before Fajr is also recommended. Fasting is invalidated by intentional eating, drinking, smoking, sexual relations, or intentional vomiting.

Why do Muslims fast in Ramadan?

The Quran explicitly states the purpose: 'so that you might attain taqwa' (2:183) — God-consciousness. Beyond the Quranic command, the Prophet described fasting as a shield against sin, a purification of the nafs, and an opportunity for forgiveness. Muslims fast because Allah commanded it and because the month of Ramadan was when the Quran was first revealed, making it the most spiritually significant month of the year.

Can Muslims drink water while fasting?

No. The Islamic fast requires abstaining from all food and drink, including water, from Fajr until Maghrib. This distinguishes Islamic fasting from some other religious fasting traditions. Accidentally swallowing water while rinsing the mouth (wudu) does not break the fast, as the intention was not to drink. Medical necessity (for medication) is assessed by scholars individually.

What is fidyah in Islamic fasting?

Fidyah is a compensatory payment made by those who are permanently unable to fast (due to chronic illness, old age, or permanent disability) and cannot make up the missed days. It is the equivalent of feeding one poor person for each missed day. For those who miss fasts due to temporary illness or travel, they are required to make up the missed days (qada) rather than pay fidyah.

How does fasting connect to muhasaba?

The daily fast creates a rhythm that naturally supports muhasaba. The hunger of the day makes the evening reflection feel earned. After Maghrib, the iftar breaks the fast, and the window between iftar and Isha — before tarawih — is historically used by scholars for review and repentance. Ramadan concentrates a year's worth of tawbah and muhasaba into 29 or 30 days, which is why it changes people when engaged with seriously.

Ibadah

Bring the Ramadan evening rhythm home.

The Muhasaba app is built for the window between iftar and sleep — the time the scholars used for honest self-accounting and tawbah. Write or speak a short reflection, and the app responds with a relevant ayah, a gentle insight, and one small action for tomorrow. Free on the App Store.

Download on the App Store

New to muhasaba? Learn what muhasaba al-nafs means and how to begin →