Ramadan is presented, reasonably enough, as a month of peace and closeness. For a significant number of Muslims it is also the hardest month of the year for their mental health, and almost nobody says so out loud.

If that is your experience, you are not failing at Ramadan. There are specific and quite ordinary reasons why fasting makes anxiety harder to manage, and knowing them makes the month considerably more navigable.

Why anxiety often worsens while fasting

Four things change at once, and each of them independently raises anxiety.

Sleep becomes shorter and broken. You are waking for suhoor, often praying taraweeh late, and rarely getting an unbroken night. Sleep loss is one of the most reliable amplifiers of anxiety that exists. This factor alone accounts for a great deal of what people experience.

Blood sugar swings more than usual. Long gaps without food followed by a large meal produce fluctuations that can feel remarkably like anxiety, including shakiness, a racing heart and irritability. Your body is producing the physical sensations, and your mind then looks around for something to attach them to.

Caffeine stops abruptly. If you normally drink coffee or tea during the day, the first several days of Ramadan involve withdrawal. Headaches, irritability and low mood are expected effects, and they are frequently mistaken for a spiritual problem.

Your routine disappears. Anxiety is stabilised by predictable structure, and Ramadan replaces almost all of it at once. Meals, sleep, work rhythm and social life all shift within a single day.

The useful reframe

Most of what you are feeling in the first two weeks is physiological rather than spiritual. Your body is adjusting to a substantial change. Reading those sensations as evidence about the state of your heart is a category error, and a painful one.

The second week

There is a pattern that many people recognise immediately once it is described.

The first days of Ramadan carry momentum. There is novelty, resolve, and the collective energy of everyone beginning together. By around day eight to twelve, the novelty has gone, the sleep debt has accumulated, and the initial resolve has thinned. That is where a lot of people hit their lowest point.

What makes this stretch worse than it needs to be is the interpretation people place on it. They conclude that they have wasted the month, or that their intention was never sincere, or that everyone else is managing while they are not. In reality a large proportion of the people around them are having the same week and drawing the same private conclusion.

The practical response is to lower the target rather than abandon it. A shortened taraweeh, a smaller daily Qur'an portion and an earlier night are not concessions to weakness. They are what allows you to still be standing in the last ten nights, which is where you most want to be.

Fasting with anxiety medication

This section needs to be direct, because getting it wrong carries real risk.

Speak to your doctor before Ramadan begins

Do not stop or alter prescribed medication in order to fast without medical advice. Some medications can have their timing moved to suhoor and iftar without difficulty. Others cannot, and stopping certain psychiatric medications abruptly can cause severe withdrawal effects or a relapse. This conversation is much easier to have several weeks before Ramadan than in the middle of it.

It is worth knowing that Islamic law makes explicit provision here. Those whose health would be harmed by fasting are exempt, and this is not a grudging allowance but part of the law itself. The Qur'an states plainly that Allah intends ease for you and does not intend hardship.

People carrying a mental health condition often feel that the exemption is meant for others, for people with visible or physical illness rather than for them. If your doctor advises that fasting would put your health at risk, that advice applies to you in the same way it would apply to anyone else. Where you are uncertain how to act on it, discuss it with a knowledgeable person of religion who is willing to take the medical advice seriously.

When you feel distant from Allah in the month you expected closeness

This is the part that hurts most, and it is worth separating into two claims that often get merged.

The first claim is that you feel flat and disconnected. That is a description of a feeling, and it is probably accurate.

The second claim is that this means Allah has turned away from you, or that your worship is not being accepted. That is a conclusion, and it does not follow from the first claim at all.

Feeling in worship fluctuates for reasons including sleep, blood sugar, stress and simple exhaustion. The scholars of the tradition wrote extensively about periods of spiritual dryness precisely because they are a normal part of a religious life rather than a sign of abandonment. The fact that you are troubled by the distance is itself an indication that the connection matters to you, which is not what indifference looks like.

There is a further consideration specific to Ramadan. Fasting while anxious and exhausted, and continuing to pray when you feel nothing, is a harder act of worship than fasting while everything feels wonderful. There is no reason to assume it is worth less. If the guilt around this has become its own problem, our guide on anxiety and weak iman deals with it in more depth.

Practical adjustments that help

  1. Protect sleep before you protect anything else

    If you have to choose between an extra hour of worship and an extra hour of sleep, the sleep will usually produce a better month overall. A rested person prays better on day twenty than an exhausted one does on day five.

  2. Taper caffeine before Ramadan starts

    Reducing gradually in the week or two beforehand removes a large and entirely avoidable source of misery from the opening days.

  3. Eat at iftar in a way that does not spike you

    Breaking the fast with dates and water as the sunnah describes, then pausing for maghrib before the main meal, moderates the blood sugar swing that follows a large and rapid meal.

  4. Keep one fixed point in the day

    A short walk, a fixed dhikr slot, a set bedtime. When the rest of the routine has been rearranged, one reliable anchor gives your nervous system something predictable to hold.

  5. Decide your minimum in advance

    Choose now what you will still do on your worst day, and make it small enough that you will genuinely manage it. Having a floor prevents the collapse that follows a missed ambitious target.

Shukr Practice

Three specific things a day, which takes under two minutes. In a month where the effort is high and the feeling is often low, a short accurate accounting does more than an ambitious plan you abandon by the second week.

Try it free

Social pressure, and the questions

Ramadan is intensely communal, which is one of its great strengths and, for an anxious person, one of its pressures. There are gatherings most evenings, expectations about attendance, and a quantity of conversation about how much everyone is reading and praying.

Two permissions are worth granting yourself here. You are allowed to decline some invitations, and doing so is not a failure of community. You are also not obliged to explain your mental health to anyone who asks why you are not fasting, if that is your situation. "I have been advised not to" is a complete answer, and you owe nobody the details.

After Ramadan

A dip after Eid is common and worth anticipating. The structure that held the month together is removed abruptly, the collective energy disperses, and the contrast can feel bleak. If you have felt genuinely better during the month, it is worth noticing which parts produced that, whether the earlier nights, the daily Qur'an or the sense of shared purpose, and keeping one of them.

If your low mood or anxiety persists well beyond Eid, that is worth taking to your GP rather than waiting for it to lift on its own.

Planning ahead

Ramadan 1448 is expected to begin in early February 2027, subject to moon sighting in your locality. If you take medication, or if you struggled last year, the conversation with your doctor is best had in December or early January rather than in the final week before it starts.