QuranHubOnline Quran Academy

QuranHub · Online Quran Academy

Dua for Anxiety: What the Quran and Sunnah Teach

By Nazeer AhmadFounder, QuranHub Online Quran AcademyM.A. Arabic & IslamiyatDars-e-Nizami (Tanzeem-ul-Madaris)10+ years teaching Quran and Islamic studies

Anxiety is not a modern invention, and it is not a sign of weak faith. The Prophet himself taught his companions words to say when worry pressed on them, and the Quran gives us the cry of a prophet trapped in darkness inside a whale. These duas do not pretend worry does not exist — they name it, hand it to Allah, and ask for refuge from it.

This guide gives you the authentic duas for anxiety with their Arabic, transliteration, translation, source, and grading. It also says plainly where duas end and other help begins: if worry is constant, stops you sleeping or working, or comes with thoughts of harming yourself, speak to a doctor or a mental health professional as well. Dua and treatment are not in competition — the Prophet said to seek medical treatment, and caring for your mind is part of caring for the trust Allah gave you.

  • Free 3-day trial · no credit card
  • Live 1-on-1 online classes
  • Qualified male & female tutors
  • In every timezone

The refuge dua: Allahumma inni a'udhu bika minal-hammi wal-hazan

This is the most complete prophetic dua for worry. Anas ibn Malik reported that the Prophet used to say it regularly. It asks for refuge from eight things in four pairs: worry and grief, incapacity and laziness, cowardice and miserliness, and the burden of debt and being overpowered by people. Scholars explain that hamm is worry about what may come, and hazan is sadness over what has already happened — so the dua covers both directions of anxiety at once.

Say it in the morning and evening as part of your adhkar, and again whenever worry rises during the day. There is no fixed number given in the narration, so say it once slowly, or repeat it until your breathing steadies.

  • Arabic: اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْهَمِّ وَالْحَزَنِ، وَالْعَجْزِ وَالْكَسَلِ، وَالْجُبْنِ وَالْبُخْلِ، وَضَلَعِ الدَّيْنِ وَغَلَبَةِ الرِّجَالِ
  • Transliteration: Allahumma inni a'udhu bika minal-hammi wal-hazan, wal-'ajzi wal-kasal, wal-jubni wal-bukhl, wa dala'id-dayni wa ghalabatir-rijal
  • Translation: O Allah, I seek refuge in You from worry and grief, from incapacity and laziness, from cowardice and miserliness, from the burden of debt and from being overpowered by people
  • Source: Sahih al-Bukhari 6369 — graded sahih (authentic)
  • When: morning and evening, and whenever worry rises

The dua of Yunus: La ilaha illa anta subhanaka

When anxiety tips into feeling trapped — no way out, no one to call — the Quran gives us the supplication of Prophet Yunus, called out from inside the belly of the whale, in darkness upon darkness. He did not argue his case or list his good deeds. He declared Allah's oneness, declared Him free of all imperfection, and admitted his own wrong. Allah answered him, and the verse that follows says: We responded to him and saved him from distress.

The Prophet said that no Muslim makes this supplication about any matter except that Allah responds to him. Say it slowly, especially in the last part of the night or in sujood, when the heart is softest.

  • Arabic: لَا إِلَهَ إِلَّا أَنْتَ سُبْحَانَكَ إِنِّي كُنْتُ مِنَ الظَّالِمِينَ
  • Transliteration: La ilaha illa anta subhanaka inni kuntu minaz-zalimin
  • Translation: There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers
  • Source: Quran 21:87 — and Jami' at-Tirmidhi 3505, in which the Prophet says no Muslim supplicates with it for any matter except that Allah responds to him; graded hasan sahih
  • When: in deep distress, in sujood, or in the last third of the night

Ya Hayyu Ya Qayyum: when a matter distresses you

Anas ibn Malik said that whenever a matter distressed the Prophet, he would say these few words: Ya Hayyu Ya Qayyum, bi-rahmatika astaghith. It is the shortest dua on this page, and that is its strength — when panic hits, long words are hard, but two names of Allah and one request are always within reach.

The names matter: Al-Hayy, the Ever-Living who never dies, and Al-Qayyum, the Sustainer by whom all things stand. You are asking the One who never sleeps and holds everything together to set your matter right by His mercy.

  • Arabic: يَا حَيُّ يَا قَيُّومُ بِرَحْمَتِكَ أَسْتَغِيثُ
  • Transliteration: Ya Hayyu ya Qayyum, bi-rahmatika astaghith
  • Translation: O Ever-Living, O Sustainer of all that exists, by Your mercy I seek relief
  • Source: Jami' at-Tirmidhi 3524 — graded hasan (good) by al-Albani and in the Darussalam edition
  • When: the moment a matter distresses you — say it a few times, slowly, until you feel steadier

The long dua of Ibn Mas'ud: when grief will not lift

Abdullah ibn Mas'ud reported that the Prophet taught a longer dua for the one whose grief and worry will not lift. It begins with complete submission — I am Your servant, son of Your servant — then asks by every name of Allah, known and unknown, to make the Quran the spring of the heart, the light of the chest, the remover of sorrow, and the lifter of worry.

The grading of this narration is one scholars differ on, and we state that openly: al-Albani graded it sahih in Al-Silsilah al-Sahihah (199) and Ahmad Shakir graded its chain sahih, while Shu'ayb al-Arna'ut graded its chain weak. Because of that difference, learn it and say it as a dua, without claiming certainty about its chain.

  • Arabic: اللَّهُمَّ إِنِّي عَبْدُكَ، ابْنُ عَبْدِكَ، ابْنُ أَمَتِكَ، نَاصِيَتِي بِيَدِكَ، مَاضٍ فِيَّ حُكْمُكَ، عَدْلٌ فِيَّ قَضَاؤُكَ، أَسْأَلُكَ بِكُلِّ اسْمٍ هُوَ لَكَ، سَمَّيْتَ بِهِ نَفْسَكَ، أَوْ أَنْزَلْتَهُ فِي كِتَابِكَ، أَوْ عَلَّمْتَهُ أَحَدًا مِنْ خَلْقِكَ، أَوِ اسْتَأْثَرْتَ بِهِ فِي عِلْمِ الْغَيْبِ عِنْدَكَ، أَنْ تَجْعَلَ الْقُرْآنَ رَبِيعَ قَلْبِي، وَنُورَ صَدْرِي، وَجَلَاءَ حُزْنِي، وَذَهَابَ هَمِّي
  • Transliteration: Allahumma inni 'abduka, ibnu 'abdika, ibnu amatika, nasiyati bi-yadika, madin fiyya hukmuka, 'adlun fiyya qada'uka, as'aluka bi-kulli ismin huwa laka, sammayta bihi nafsaka, aw anzaltahu fi kitabika, aw 'allamtahu ahadan min khalqika, aw ista'tharta bihi fi 'ilmil-ghaybi 'indaka, an taj'alal-Qur'ana rabi'a qalbi, wa nura sadri, wa jala'a huzni, wa dhahaba hammi
  • Translation: O Allah, I am Your servant, son of Your servant, son of Your maidservant. My forelock is in Your hand, Your command over me is carried out, Your decree over me is just. I ask You by every name of Yours by which You have named Yourself, or revealed in Your Book, or taught to any of Your creation, or kept with You in the knowledge of the unseen, to make the Quran the spring of my heart, the light of my chest, the remover of my sorrow, and the lifter of my worry
  • Source: Musnad Ahmad 3712 — grading disputed: al-Albani graded it sahih; Shu'ayb al-Arna'ut graded its chain weak
  • When: when grief is heavy and will not lift — learn it line by line over a week

Hasbunallahu wa ni'mal-wakil: Allah is enough for us

This short phrase from the Quran is what the believers said when they were told that a great army had gathered against them — and their faith only increased. It is not a denial of the problem; it is a refusal to carry it alone. Say it when the worry is about other people, about money, about a decision you cannot control.

The full verse continues: and He is the best Disposer of affairs. When you say it, you are handing the outcome to the One who disposes all affairs, and keeping only your own effort in your hands.

  • Arabic: حَسْبُنَا اللَّهُ وَنِعْمَ الْوَكِيلُ
  • Transliteration: Hasbunallahu wa ni'mal-wakil
  • Translation: Allah is sufficient for us, and He is the best Disposer of affairs
  • Source: Quran 3:173
  • When: when the worry is about people, money, or an outcome you cannot control

What these duas mean: worry is handed over, not hidden

Notice what none of these duas do: none of them asks Allah to pretend the problem does not exist, and none of them blames you for feeling worried. The refuge dua names worry directly. The dua of Yunus admits wrongdoing without despair. Ya Hayyu Ya Qayyum asks for help by Allah's mercy, not by your own strength.

That is the pattern of dua for anxiety: you name the feeling honestly, you turn to the One who can change it, and you keep doing the practical things that help — sleeping properly, talking to someone you trust, and getting professional help when worry will not lift. The duas work alongside those steps, not instead of them.

  • Name the worry honestly in dua — hiding it from Allah is impossible and unhelpful
  • Pair dua with practical steps: sleep, honest conversation, and professional help when needed
  • A dua said slowly, understanding the words, calms more than a hundred said in a rush
  • The Quran's promise: Verily, in the remembrance of Allah do hearts find rest (Quran 13:28)

Practical tips: building a calm routine around the duas

Anxiety rarely disappears from one dua said once. It loosens when the duas become part of a daily rhythm. Anchor them to moments that already exist: the refuge dua after Fajr and after Asr, Ya Hayyu Ya Qayyum when a worrying thought arrives, the dua of Yunus in sujood at night.

Keep the duas where you can reach them — a card by your bed, a note in your phone — until they are memorised. And if you are a parent, say the refuge dua aloud where your children can hear it sometimes: children who see a parent turn to Allah when worried learn more from that than from any lecture.

  • Morning and evening: the refuge dua (Bukhari 6369) after Fajr and after Asr
  • In the moment: Ya Hayyu Ya Qayyum, a few times, slowly
  • At night: the dua of Yunus in sujood or before sleep
  • Keep the Arabic on a card by your bed until it is memorised
  • If worry is constant or stops you functioning, speak to a doctor as well — dua and treatment work together

Frequently asked questions

Is anxiety a sign of weak faith?+

No. The Prophet taught duas for worry and grief to his companions, and the Quran records prophets in distress — Yunus in the whale, Musa fearing Pharaoh, Yaqub grieving for Yusuf. Feeling anxiety says nothing about the strength of your faith; what matters is where you turn with it.

Which dua should I say first when I feel anxious?+

Start with the shortest: Ya Hayyu Ya Qayyum, bi-rahmatika astaghith (Tirmidhi 3524). Say it a few times slowly. When you are calmer, say the refuge dua from Sahih al-Bukhari 6369. In deep distress, say the dua of Yunus from Quran 21:87.

Can duas replace therapy or medication for anxiety?+

No — and they are not meant to. Dua is worship and a source of calm, and medical treatment is also from Allah's provision. The Prophet said to seek medical treatment. If anxiety is constant, stops you sleeping or working, or comes with thoughts of harming yourself, speak to a doctor or mental health professional as well as making dua.

How many times should I repeat the dua for anxiety?+

Where the narration gives no number — as with the refuge dua and Ya Hayyu Ya Qayyum — there is no fixed count. Say it once with full attention, or repeat it until your heart settles. Repetition with understanding helps more than a large number said in a rush.

Can I say these duas in English if I do not know Arabic yet?+

Yes. Allah understands every language, and a sincere dua in your own words is accepted. Learn the Arabic gradually — one dua at a time — and use the translation while you learn, so you know what you are asking for.