Quick answer
Night-time overthinking is common, and it is not a sign of weak faith. Worry gets louder at night because there is nothing else to attend to and nothing can be acted on until morning. What helps is two-sided: a wind-down drawn from the Sunnah (wudu, lying on the right side, the bedtime supplication and the last two verses of Al-Baqarah), and practical steps such as writing worries down, postponing decisions until daylight, and getting up rather than lying awake for long stretches.
The lights are off and the house is quiet. That is when it starts: the conversation you replay, the email you have not answered, the test result that has not come, what you should have said, what might happen next month. Each thought brings another. An hour later you are more awake than when you lay down, and tomorrow already feels heavier.
If this is familiar, you are not alone, and it is not a verdict on your iman. It is what a mind tends to do when the day stops and the questions do not.
Why does overthinking get worse at night?
Three things come together after dark.
- Nothing else is competing for attention. During the day, tasks and people fill the mind. In bed, the worry has the stage to itself.
- Nothing can be done. A worry you could act on at noon becomes, at midnight, a problem you can only circle. Circling without acting is what makes it feel endless.
- A tired mind judges badly. Fatigue makes risks look larger and solutions look smaller. The same problem usually looks more manageable at breakfast.
Underneath the circling there is usually a silent argument: if I keep thinking about this, I will be prepared; if I stop, something bad will happen. In cognitive therapy that is a belief about worry itself: that it protects you. Test it honestly. Has any midnight hour of going over the same thing actually changed the outcome? Mostly it changes only how you feel the next day.
What does Islam say about worry at night?
The Qur’an describes sleep as a mercy: something Allah made for rest (An-Naba’ 78:9). Rest is not laziness or neglect of duty. It is part of how you were made.
And the Qur’an speaks directly to the burden worry tries to carry alone.
Meaning in brief
Whoever puts their trust in Allah, He is sufficient for them; Allah will accomplish what He intends, and He has set a measure for everything.
Tawakkul does not mean you stop caring or stop planning. It means you do your part in its proper time and leave the outcome with Allah. At night, “your part” is usually finished for the day. What remains is the outcome, and that was never yours to carry into bed. For more on that balance, see tawakkul and anxiety.
There is also Prophetic guidance for the replaying itself. The Prophet ﷺ taught that when something has happened, a person should not say “if only I had done this, it would have been different”, but “Allah decreed it, and what He willed He did”, because “if only” opens the way for Shaytan’s work. He paired this with striving for what benefits you and not giving in to helplessness (recorded by Muslim; Riyad as-Salihin 100). Learning from the day is useful. Re-living it with “if only” is the loop.
A wind-down routine from the Sunnah
The Sunnah gives the end of the day a shape, and a predictable shape is exactly what a racing mind lacks.
Meaning in brief
The Prophet ﷺ told al-Bara’ ibn ‘Azib that when he went to bed he should make wudu as for prayer, lie on his right side, and say a supplication handing his self, his affairs and his reliance over to Allah, in hope and in awe of Him. The supplication begins Allāhumma aslamtu wajhī ilayk.
Meaning in brief
Whoever recites the last two verses of Surat al-Baqarah at night, they will be sufficient for him.
Reported by Abu Mas‘ud, may Allah be pleased with him. Sahih al-Bukhari 5009
Notice what the bedtime supplication does psychologically as well as spiritually. It is an act of handing over: you name what you are carrying and you place it with Allah, deliberately, before sleep. It also follows a pattern the Prophet ﷺ kept: he disliked conversation after ‘Isha (Sahih al-Bukhari 568), so the night was not used to open new matters.
A modern routine that keeps that spirit might be:
- Close the day an hour before bed. Put the phone away from the bed. Messages, news and scrolling are the modern form of opening new matters at night.
- Write the “tomorrow list”. Two minutes on paper: what is on your mind, and for each item, the first step and when you will take it. If there is no step, write “not mine to solve tonight”. The point is to move it out of your head and onto a page that will still be there in the morning.
- Make wudu. It marks the change from day to night.
- Recite the last two verses of Al-Baqarah and the bedtime supplication, lying on your right side.
- If a worry returns, point to the list. “It is written down. I will deal with it at the time I chose.” You are not suppressing the thought, which tends to backfire. You are postponing it.
What should I do if I am lying awake overthinking?
Lying in bed fighting your thoughts teaches the body that bed is a place for fighting. Sleep specialists commonly advise against staying in bed for long stretches awake.
- If you have been awake for what feels like twenty minutes or so, get up. Go somewhere dim and quiet and do something calm: read, recite, sit. Return to bed when you feel sleepy. Do not watch the clock.
- If the time allows, pray. The Prophet ﷺ described the last third of the night as a time when Allah calls out: who will call on Me, that I may answer; who will ask, that I may give; who will seek forgiveness, that I may forgive (Sahih al-Bukhari 1145). If you are awake anyway, two quiet rak‘ahs and a du‘a turn the same hour from circling into speaking to the One who can actually act.
- Do not decide anything big at night. Write the decision on the list for daylight. Night is a poor time to judge risk, and the tradition’s own rhythm keeps decisions for the day.
- Notice catastrophising and fortune-telling. Ask: what do I actually know, as opposed to what I am predicting? The fact is usually small. The prediction is usually what keeps you awake. For a structured way to do this in daylight, see how to use an Islamic thought record.
Two directions from here
If you keep the belief that worrying is a form of preparation, every night becomes a shift you have to work. The thinking does not solve the problems, but it takes the sleep you need to face them.
If you replace it, the night gets its proper job back. You do your part in daylight, write down what is left, hand it over before sleep in words the Prophet ﷺ taught, and let the night be for rest, or for prayer if you are awake.
Tonight, inside: when a worry arrives in bed, say “written down, handed over”. Tonight, outside: write the tomorrow list before you make wudu.
The worry will still be there in the morning. So will your strength to deal with it.
Where to go next
For the wider picture of worry, and a daytime “worry period” to give it a container, see overthinking and worry in Islam. For a sourced selection of supplications for anxiety and sadness, see du’a for anxiety and sadness.
Frequently asked questions
Why do I overthink at night?
At night there is nothing else competing for attention, nothing can be acted on until morning, and a tired mind makes problems look bigger and solutions smaller. Many people also hold an unspoken belief that worrying prepares them or keeps them safe, which keeps the thinking going even when it changes nothing.
Is overthinking at night a sign of weak iman?
No. Night-time worry is a common human experience and is not a measure of faith. Islam offers ways to meet it, such as the bedtime supplication, reliance on Allah (At-Talaq 65:3) and treating sleep as a mercy (An-Naba’ 78:9), but struggling with it is not a verdict on your faith.
What should I recite before sleeping to stop overthinking?
Authentic bedtime practices include making wudu, lying on the right side and saying the supplication beginning “Allahumma aslamtu wajhi ilayk” (Sahih al-Bukhari 247), and reciting the last two verses of Surat al-Baqarah, which the Prophet ﷺ said suffice the one who recites them at night (Sahih al-Bukhari 5009). These are acts of worship and handing over, not techniques guaranteed to stop thoughts.
What do I do if I cannot sleep because of overthinking?
If you have been lying awake for what feels like about twenty minutes, get up, go somewhere dim and quiet, and do something calm until you feel sleepy. If it is the last third of the night, you might pray two rak‘ahs and make du‘a. Write worries down for the morning and avoid making big decisions at night. If sleep problems go on for weeks, speak to a doctor.
How do I stop replaying conversations at night?
Separate learning from re-living. If there is something to learn or repair, write one line: what you will do and when. Then stop. The Prophet ﷺ taught people not to dwell on “if only I had done this” but to accept what Allah decreed and strive for what benefits them (recorded by Muslim). Replaying the same scene without a new step is the loop, not reflection.
Written: October 30, 2026 by Ibnu Nahid. MuslimCBT’s review process is described in our methodology. No external clinical or scholarly review has been completed for this page.
