- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • DeenUp
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.

Quick answer
What is the dua for insomnia in Islam?
The primary Islamic remedy for insomnia is to recite Ayatul Kursi (Surah Al-Baqarah 2:255), then Surah Al-Ikhlas, Al-Falaq, and An-Nas — blowing lightly on the hands and wiping the body three times. This was the consistent practice of the Prophet Muhammad and is recorded in Sahih al-Bukhari.

It is 2 a.m. and your mind will not stop. You are exhausted, but rest does not come. If you are a Muslim struggling with insomnia, you may already sense that your sleeplessness has a spiritual dimension — that the quiet of the night is not just a problem to solve but a space that Islam speaks to directly.
The Quran and Sunnah are full of guidance for this exact experience. The Prophet Muhammad ﷺ faced restless nights, and he left us with both the practical steps and the precise words to say. Here is what Islam teaches about sleeplessness — and the duas that can genuinely help.
What Is the Dua for Insomnia in Islam?
The Prophet ﷺ addressed sleeplessness through a combination of Quranic recitation, dhikr, and prayer. The central practice is to recite Ayatul Kursi (Surah Al-Baqarah, 2:255), then the three Quls — Surah Al-Ikhlas, Surah Al-Falaq, and Surah An-Nas — blowing lightly on the hands and wiping over the face and body three times. This was the consistent bedtime practice of the Prophet ﷺ, recorded in Sahih al-Bukhari 5017. Allah promises that those who remember Him find tuma'ninah — a deep settling of the heart — which is, at its core, the antidote to insomnia.
What Does Islam Teach About Sleep?
Allah describes sleep as one of His signs of mercy. In Surah Ar-Rum 30:23, He says: "And of His signs is your sleep by night and by day and your seeking of His bounty." Sleep is not a biological inconvenience — it is a gift from Allah that He grants and takes back as He wills.
The most profound verse on this subject is Surah Az-Zumar 39:42: "Allah takes the souls at the time of their death, and those that do not die He takes during their sleep." Every night when you sleep, Allah holds your soul as a trust and returns it when you wake. Sleeplessness is a reminder that your life is fully in His hands — and often an invitation to turn back toward Him.
The tabi'in (the generation after the Companions) used to say that insomnia was sometimes a mercy: it pulled a person out of heedlessness and toward the unique intimacy of night worship.
The Main Duas and Sunnah Practices for Insomnia
Before You Lie Down
Begin your bedtime with wudu (ritual purification). The Prophet ﷺ said: "When you go to your bed, perform ablution as you do for prayer." (Sahih al-Bukhari 247) Wudu is not merely physical — it is a conscious act of preparing yourself as a servant before your Lord before you sleep.
Then recite the bedtime dua:
بِسْمِكَ اللّهُمَّ أَمُوتُ وَأَحْيَا
Bismika Allahumma amutu wa ahya
"In Your name, O Allah, I die and I live." — (Sahih al-Bukhari 6312)
This dua acknowledges that sleep is a minor death and reawakening is a mercy from Allah. It reorients your heart from anxiety toward surrender — the truest remedy for restlessness.
If You Still Cannot Sleep: Two Rakahs and Dua
The Prophet ﷺ gave a specific prescription when sleep refuses to come: perform wudu, then pray two voluntary rakahs, and make sincere dua to Allah for whatever is troubling you. This practice is narrated in Tirmidhi and is one of the most underused remedies for insomnia. The physical act of prayer — bowing, prostrating — calms the nervous system; the spiritual act of standing before Allah releases what the mind has been gripping.
This is also the window for tahajjud, the voluntary night prayer. See our detailed guide on how to pray tahajjud — even two light rakahs in the night can transform your relationship with sleeplessness entirely.
When You Wake at Night
When the Prophet ﷺ woke during the night, he would begin with the following:
لَا إِلَهَ إِلَّا اللهُ وَحْدَهُ لَا شَرِيكَ لَهُ، لَهُ الْمُلْكُ وَلَهُ الْحَمْدُ وَهُوَ عَلَى كُلِّ شَيْءٍ قَدِيرٌ
La ilaha ill-Allah wahdahu la sharika lahu, lahul-mulku wa lahul-hamdu wa huwa ala kulli shay'in Qadir
"There is no god but Allah alone, with no partner. To Him belongs the dominion and all praise, and He has power over all things." — (Sahih al-Bukhari 1154)
The Prophet ﷺ said that whoever says this upon waking will have their supplication answered and whoever performs wudu and prays will have their prayer accepted. (Sahih al-Bukhari 1154)
A Reference Table: Islamic Sleep Practices for Insomnia
| Practice | When to Do It | Source |
|---|---|---|
| Wudu before bed | Every night | Sahih al-Bukhari 247 |
| Ayatul Kursi | After lying down | Sahih al-Bukhari 5010 |
| Surah Al-Ikhlas, Al-Falaq, An-Nas | Blow on hands, wipe body × 3 | Sahih al-Bukhari 5017 |
| "Bismika Allahumma amutu wa ahya" | Just before sleep | Sahih al-Bukhari 6312 |
| Two optional rakahs + dua | If you cannot sleep | Tirmidhi |
| Dhikr upon waking at night | When you stir at night | Sahih al-Bukhari 1154 |
Why Anxiety and Insomnia Often Come Together
Most insomnia is anxiety insomnia — a mind replaying worries, regrets, and fears when the distractions of the day fall away. Islam has a direct answer to this. Allah says in the Quran: "Verily, in the remembrance of Allah do hearts find rest" (Surah Ar-Rad, 13:28). The Arabic word tuma'ninah describes a deep, settled stillness — the opposite of the racing heart of anxiety.
The evening adhkar — a structured set of Prophetic supplications recited at dusk — are specifically designed to fortify the heart against worry before night falls. Our guide to evening adhkar in Islam walks you through each one with Arabic text and transliteration. Read our morning adhkar guide as well — consistent daily remembrance changes how your mind approaches the night.
For deeper guidance on the Islamic approach to anxiety and worry, read how to deal with anxiety in Islam.
Do you feel your duas are unanswered?
Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.
Take the Dua Quiz
Making It Part of Your Daily Life
The single most effective strategy for Islamic sleep hygiene is building the pre-sleep routine consistently — not just on the nights you feel anxious.
One week practice plan:
- Wudu every night before bed — treat it as your transition from day to night.
- Ayatul Kursi — read from memory or your phone; the meaning matters more than the recitation speed.
- Three Quls — a brief, three-minute recitation that the Prophet made part of every bedtime.
- Bedtime dua — "Bismika Allahumma amutu wa ahya." Say it slowly, meaning every word.
- If you wake at night — make the dhikr above, then decide: more sleep or tahajjud. Both are rewarded.
These five steps take under ten minutes and are the exact practices the Prophet ﷺ maintained. Start tonight. See our companion article on the Sunnah of sleep for the complete pre-sleep dua routine.
Signs of Progress
You will know this practice is working when:
- You fall asleep with a verse or dhikr on your lips rather than a worry.
- Waking at night feels less like a malfunction and more like an invitation.
- The three Quls become so internalized you recite them without thinking.
- The anxiety that once came with darkness gradually quiets.
This does not happen overnight. But consistency in these practices — even imperfect, even short — reshapes how your soul meets the night.
Common Questions About Dua for Insomnia
Can I listen to Quran to fall asleep? Yes. Listening to Quranic recitation is beneficial, especially Surah Al-Baqarah, Surah Al-Mulk, and Surah Ar-Rahman. The Prophet is reported to have recited Quran regularly in the night. The key is attentiveness — even if you fall asleep while listening, the recitation continues to fill the space.
What if I am too tired to make wudu? Begin where you can. Even lying in bed and saying "La ilaha illa Allah" or "Subhanallah, Alhamdulillah, Allahu Akbar" thirty-three times each has Sunnah basis. The Prophet ﷺ taught Sayyidatina Fatimah RA this dhikr as a nightly practice — it is recorded in Sahih al-Bukhari and is light enough to do on the worst nights.
Is insomnia a sign of something spiritually wrong? Not necessarily. The Prophet ﷺ and the Companions experienced sleepless nights, and the Quran specifically honors those who rise at night in worship. Chronic insomnia linked to anxiety is a human experience, not a spiritual failing. If it persists, seek both spiritual remedies and professional support — Islam honors seeking treatment.
What is the best surah to recite for sleep? Ayatul Kursi, Surah Al-Mulk, and Surah Al-Baqarah's last two verses are the most commonly cited in hadith. Surah Al-Mulk read every night also has its own powerful narration. See our guide on what to read before sleeping for the full Sunnah sequence.
Do you feel your duas are unanswered?
Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.
Take the Dua Quiz
Sleep Is a Form of Trust in Allah
Insomnia most often comes when we are trying to control what we cannot. The Islamic answer is not to try harder — it is to surrender deeper. When you lay your head down with the name of Allah on your lips and place your soul in His keeping, you are practicing the deepest form of trust in Him.
Tawakkul — trusting Allah — is not passive resignation. It is the active decision to do what the Prophet ﷺ taught and then release the rest to Allah. He takes your soul each night. He will return it if He wills. That is enough to rest in.
Frequently Asked Questions
What is the dua for insomnia in Islam?
The primary Islamic remedy for insomnia is to recite Ayatul Kursi (Surah Al-Baqarah 2:255), then Surah Al-Ikhlas, Al-Falaq, and An-Nas — blowing lightly on the hands and wiping the body three times. This was the consistent practice of the Prophet Muhammad and is recorded in Sahih al-Bukhari.
What does Islam say about not being able to sleep?
Islam teaches that sleep is a sign of Allah and a mercy. Sleeplessness can be an invitation to night worship — the Quran notes that righteous servants sleep little at night and seek forgiveness at dawn (Surah Adh-Dhariyat 51:17-18). The Prophet advised making wudu and praying two rakahs when sleep does not come.
Is there a specific hadith about insomnia?
Yes. The Prophet Muhammad said that if anyone is troubled and cannot sleep, they should make wudu, pray two optional rakahs, and then make dua to Allah. This practice is recorded in Tirmidhi. Reciting specific adhkar and Quranic verses at bedtime is also the established Sunnah for peaceful sleep.
Does reciting Quran help with sleep?
Reciting the Quran before sleep is both Sunnah and spiritually calming. The Prophet regularly recited Surah Al-Ikhlas, Al-Falaq, and An-Nas before sleeping, blowing on his hands and wiping his body. Ayatul Kursi is also specifically mentioned in hadith as protection throughout the night until morning.
What should I do if I wake up in the middle of the night and cannot go back to sleep?
If you wake at night and cannot sleep, the Sunnah is to make dhikr and then pray tahajjud — the voluntary night prayer. This is the state the Prophet described as the best time to make dua. After prayer, you may find sleep comes naturally, or you receive the reward of worship instead.
Can anxiety cause sleeplessness in Islam?
Islam recognizes anxiety and worry as spiritual challenges that affect physical wellbeing including sleep. The Quran promises that in the remembrance of Allah hearts find rest (Surah Ar-Rad 13:28). Consistent adhkar — especially the evening adhkar — directly addresses the anxiety that most often keeps people awake.
Is it permissible to make dua in bed before sleeping?
Yes, absolutely. The Prophet Muhammad made dua and dhikr while lying down, and this is recorded in authentic hadith. You may recite duas quietly, move your lips, or make dua in your heart. Allah hears every supplication regardless of position. Making dua in bed is among the most intimate moments with your Lord.