Published on

How to Deal with Anxiety in Islam: Practical Guide

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education โ€ข DeenUp

ุจูุณู’ู…ู ุงู„ู„ู‡ู ุงู„ุฑูŽู‘ุญู’ู…ูฐู†ู ุงู„ุฑูŽู‘ุญููŠู’ู…ู

In the name of God, the Most Gracious, the Most Merciful.

A Muslim in peaceful prayer at dawn, finding calm and relief from anxiety through connection with Allah

Anxiety Has a Name in the Quran

The Arabic words hamm (ู‡ูŽู…ู‘) and huzn (ุญูุฒู’ู†) โ€” worry and grief โ€” appear throughout the Quran and hadith. Allah does not dismiss these experiences as weakness. The Prophet ๏ทบ taught specific supplications for relief from them, which means he acknowledged them as real, present, and worth addressing directly.

If you are dealing with anxiety, you are not alone, and you are not failing your faith. Islam has a detailed, practical framework for how to deal with anxiety โ€” one that combines spiritual practice, trust in Allah, and concrete daily habits. This guide walks through that framework step by step.

What Islam Teaches About Worry and Hardship

Before the steps, the foundation matters. The Quran frames hardship โ€” including the internal kind โ€” as part of the design:

ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ูŽู‘ุฐููŠู†ูŽ ุขู…ูŽู†ููˆุง ุงุณู’ุชูŽุนููŠู†ููˆุง ุจูุงู„ุตูŽู‘ุจู’ุฑู ูˆูŽุงู„ุตูŽู‘ู„ูŽุงุฉู

"O you who believe, seek help through patience and prayer." โ€” (Surah Al-Baqarah, 2:153)

This verse is direct: when difficulty arrives, the prescribed response is not to suppress it or push through alone. It is to bring it to Allah through two specific channels โ€” sabr (patient endurance) and salah (prayer). Both are active practices, not passive states.

Allah also makes a promise that is not conditional on circumstances changing:

ููŽุฅูู†ูŽู‘ ู…ูŽุนูŽ ุงู„ู’ุนูุณู’ุฑู ูŠูุณู’ุฑู‹ุง

"Indeed, with hardship comes ease." โ€” (Surah Ash-Sharh, 94:5)

Notably, the verse says with hardship โ€” not after it. Ease is concurrent with the difficulty, not only waiting on the other side of it. This shift in perspective is itself a tool for reducing anxiety.

The Prophet ๏ทบ also said:

"Amazing is the affair of the believer โ€” if something good comes to him, he is thankful and that is good for him. If something difficult comes to him, he is patient and that is also good for him." โ€” (Sahih Muslim 2999)

This is not a command to feel fine about difficult things. It is a description of what becomes possible when your relationship with Allah is functional โ€” you have somewhere to take the difficulty, and that changes what it does to you.

Step-by-Step: How to Deal with Anxiety in Islam

Step 1: Name What You Are Feeling

Do not try to immediately suppress the anxiety or spiritualize it away. Acknowledge that you are worried, that something feels heavy, that your mind is running. The Quran acknowledges these states โ€” you can too.

Sit with it briefly and ask: what is this anxiety about, specifically? A concrete worry (health, finances, a relationship) can be addressed differently than generalized anxiety with no clear trigger. Naming it is not dwelling on it โ€” it is the first step toward bringing it to Allah with intention.

Step 2: Make the Prophetic Dua for Anxiety

The Prophet ๏ทบ taught a comprehensive dua specifically for worry and grief. It was narrated by Anas ibn Malik:

ุงู„ู„ูŽู‘ู‡ูู…ูŽู‘ ุฅูู†ูู‘ูŠ ุฃูŽุนููˆุฐู ุจููƒูŽ ู…ูู†ูŽ ุงู„ู’ู‡ูŽู…ูู‘ ูˆูŽุงู„ู’ุญูุฒู’ู†ูุŒ ูˆูŽุงู„ู’ุนูŽุฌู’ุฒู ูˆูŽุงู„ู’ูƒูŽุณูŽู„ูุŒ ูˆูŽุงู„ู’ุจูุฎู’ู„ู ูˆูŽุงู„ู’ุฌูุจู’ู†ูุŒ ูˆูŽุถูŽู„ูŽุนู ุงู„ุฏูŽู‘ูŠู’ู†ูุŒ ูˆูŽุบูŽู„ูŽุจูŽุฉู ุงู„ุฑูู‘ุฌูŽุงู„ู

"O Allah, I seek refuge in You from anxiety and grief, from weakness and laziness, from miserliness and cowardice, from the burden of debts and from being overpowered by others." โ€” (Sahih Bukhari 6369)

This dua covers a striking range of internal states. The Prophet knew anxiety is rarely just one thing โ€” it combines fear of the future (hamm) with regret about the past (huzn), with feelings of inadequacy, with social pressure. Memorize this dua. Make it part of your morning and return to it whenever the heaviness arrives during the day.

Step 3: Use the Dua of Yunus

When anxiety is acute โ€” when the weight feels suffocating โ€” there is another dua with a specific guarantee attached:

ู„ูŽุง ุฅูู„ูŽูฐู‡ูŽ ุฅูู„ูŽู‘ุง ุฃูŽู†ุชูŽ ุณูุจู’ุญูŽุงู†ูŽูƒูŽ ุฅูู†ูู‘ูŠ ูƒูู†ุชู ู…ูู†ูŽ ุงู„ุธูŽู‘ุงู„ูู…ููŠู†ูŽ

"There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers." โ€” (Surah Al-Anbiya, 21:87)

Yunus ๏ทบ said this from inside a whale in total darkness. The Prophet ๏ทบ said that no Muslim supplicates with it for anything except that Allah responds. (Sunan at-Tirmidhi 3505). It is a dua of absolute acknowledgment โ€” of Allah's sovereignty and your own need. That combination, held sincerely, has a way of shifting the internal state.

Step 4: Build Sabr as a Skill, Not a Feeling

Sabr is often translated as patience, but what is sabr in Islam clarifies that it is better understood as disciplined endurance โ€” active, not passive. It is the practice of continuing to act rightly and trust Allah even when the outcome is unclear and the feeling is difficult.

You build sabr the same way you build any skill: through practice under mild pressure, consistently, over time. Do not wait until the anxiety is manageable to start practicing. The practice is what makes it manageable.

Concretely: when anxious thoughts spiral, stop them physically โ€” stand up, make wudu, and perform two rakaat. This is not avoiding the problem; it is the prescribed Islamic intervention that reorients the heart toward the One who actually controls outcomes.

Step 5: Practice Tawakkul Through Action

What is tawakkul is genuine reliance on Allah โ€” but it does not mean inaction. The Prophet ๏ทบ told the man who asked whether he should tie his camel or rely on Allah: "Tie it, then put your trust in Allah." (Sunan at-Tirmidhi 2517).

Anxiety often persists because of the gap between what you can do and what you cannot control. Tawakkul is how you close that gap spiritually: take every action available to you, then release the outcome. Write the application. Make the appointment. Have the conversation. Then, having done your part, genuinely leave the result with Allah.

This is not a one-time decision. It is a practice repeated every time the worry returns.

Step 6: Protect the Morning Hours

The period after Fajr sets the tone for the entire day. Anxiety is most vulnerable to disruption in the first hour of waking โ€” before the mind has loaded its concerns. Using that window for dhikr, Quran, and the morning adhkar changes how you move into the rest of the day.

The importance of dhikr in managing anxiety is not metaphorical โ€” it is the mechanism the Quran explicitly identifies for bringing the heart to rest. Build the morning before you build the to-do list.

Building the Daily Habit

For anxiety, consistency matters more than intensity. One robust morning routine is worth more than ten emergency duas when the panic is already high. Build the foundations during calmer periods so they are available when you need them most.

The habit loop looks like this:

  • After waking: Morning adhkar before checking your phone
  • After Fajr: Five minutes of Quran recitation with attention to meaning
  • Mid-morning or mid-afternoon: A brief pause for dhikr or the dua from Sahih Bukhari 6369
  • Before difficult events: The dua of Yunus, said slowly and with presence

Duas for difficult times has a collection of supplications for specific situations โ€” it is worth bookmarking for the moments when anxiety is triggered by a particular circumstance.

Many Muslims find it helpful to have these duas prompted at the right moment rather than remembered from scratch. DeenUp delivers structured daily adhkar and dua reminders timed for morning and evening, so the habit is scaffolded rather than dependent on willpower alone.

Build the spiritual habits that calm anxiety

DeenUp sends you daily adhkar, Quranic verses, and duas for every situation โ€” helping you stay connected to Allah through the difficult moments, not just the easy ones.

Download DeenUp โ€” Free on iOS

The Demi Manifest piece on patience through hardship approaches this from a slightly different angle โ€” how building a consistent relationship with difficulty (through sabr) gradually changes your baseline anxiety level. Worth reading as a companion to these steps.

For a deeper look at how maintaining your spiritual routines during illness and other stressors works in practice, DeenBack's guide to spiritual care during illness is directly relevant โ€” much of what it says about physical illness applies equally to anxiety and mental difficulty.

The Yaqeen Institute's research on Islamic approaches to mental health provides scholarly depth on these topics for those who want to go further.

Common Mistakes When Dealing with Anxiety Islamically

Treating dua as a substitute for professional help when necessary. Islamic practice addresses the spiritual dimension of anxiety. When anxiety is severe, persistent, or interfering with daily functioning, professional support is not contrary to Islam โ€” seeking treatment for illness is a Sunnah.

Waiting to feel better before resuming worship. Anxiety often creates a loop where you step back from salah because you cannot focus, which makes the anxiety worse, which makes it harder to return. Break the loop by showing up to the prayer even imperfectly.

Using dhikr mechanically without presence. Saying the words while your mind is elsewhere misses the point. Start with fewer repetitions said with attention rather than many said on autopilot. Presence is the mechanism.

Expecting anxiety to disappear after one dua. Islamic practice builds resilience over time โ€” it is not a bypass. The transformation is real, but it is gradual. Trust the process.

Common Questions

Can anxiety be a form of spiritual illness? Islamic theology distinguishes between the natural human experience of worry and the spiritual dimension of a heart disconnected from Allah. Anxiety that is rooted in forgetting that outcomes are in Allah's hands can be addressed spiritually. Anxiety with physiological roots may need additional support. Both can coexist, and addressing one often helps the other.

Is it allowed to seek therapy or medication as a Muslim? Yes. Seeking treatment for illness is not only permitted โ€” it is recommended in Islam. The Prophet ๏ทบ said: "Make use of medical treatment, for Allah has not made a disease without appointing a remedy for it." (Abu Dawud 3855). Combining spiritual practice with professional support is not a lack of faith; it is taking the full range of means available.

What if I cannot concentrate during salah because of anxiety? Pray anyway. The Quran acknowledges that the heart is not always fully present. The practice of returning your attention to the prayer โ€” even repeatedly during a single rakaat โ€” is itself a form of spiritual training. Over time, the practice of returning reduces the scatter.

Are there specific surahs that help with anxiety? Surah Ad-Duha (93) and Surah Ash-Sharh (94) are particularly relevant โ€” they were revealed during a difficult period for the Prophet ๏ทบ and speak directly to relief after constriction. Reading them with an understanding of their context changes how they land.

A Practice, Not a Single Answer

Dealing with anxiety in Islam is not about finding the right dua to make it stop. It is about building a relationship with Allah that changes your fundamental orientation toward uncertainty. The worry does not always leave โ€” but over time, and through consistent practice, it loses its grip.

Allah knows the nature of the heart He created. The practices He prescribed โ€” salah, dhikr, sabr, tawakkul โ€” are not arbitrary exercises. They are precisely calibrated to what the anxious heart needs: structure, surrender, and the reminder that you are not carrying your concerns alone.

Stay connected to Allah through the hard days

DeenUp gives you daily duas, Quranic reflections, and Islamic Q&A rooted in authentic scholarship โ€” practical tools for bringing your worry to Allah and finding the peace He promises.

Download DeenUp โ€” Free on iOS

Frequently Asked Questions

Does Islam acknowledge mental health struggles like anxiety?

Yes. The Quran and hadith explicitly acknowledge hamm (worry) and huzn (grief) as real human experiences. The Prophet supplicated specifically for protection from these states โ€” confirming that anxiety is part of being human, not a spiritual failure.

What dua should I recite when feeling anxious?

The most comprehensive dua comes from Sahih Bukhari 6369: O Allah, I seek refuge in You from anxiety and grief, weakness and laziness, miserliness and cowardice, the burden of debts and being overpowered. Make it part of your morning adhkar.

Is anxiety a sign of weak iman?

No. The Prophet experienced fear and difficulty, and his companions brought their worries to him. Anxiety is a human experience, not a verdict on your faith. What matters is where you take that feeling โ€” and Islam provides specific practices for bringing every worry to Allah.

How does salah help reduce anxiety?

Salah creates five structured pauses in your day that interrupt anxiety cycles, requiring physical stillness and focused attention on Allah. The sujood position is particularly calming โ€” it is the posture of surrender. The Prophet made salah the comfort of his eyes for this reason.