Short answer
No. Feeling anxious is not a sin and does not mean your trust in Allah (tawakkul) is weak. Prophets felt fear and grief, and the Prophet ﷺ regularly sought refuge in Allah from worry and sorrow. Anxiety that disrupts your life is a health condition, and treating it is allowed and encouraged. The four schools agree.
Feelings that come without choice carry no sin. Tawakkul means using lawful means and relying on Allah for the outcome, so seeking therapy or medication for anxiety is permitted and is itself part of tawakkul.
The four schools agree on this.
Explanation
Musa sensed fear within himself when the magicians threw their ropes, and he left Egypt fearful and anticipating (28:21). Yaqub grieved for Yusuf and said he complained of his grief only to Allah. The Prophet ﷺ often sought refuge from al-hamm wal-hazan (worry and grief). These feelings come to believers, including the best of them.
Tawakkul is not the absence of feeling. It is doing what you can and leaving the result to Allah. A man asked whether he should tie his camel and trust Allah, or leave it loose and trust Allah, and the Prophet ﷺ said: tie it and trust. Taking medicine, seeing a therapist, sleeping enough and cutting down on what feeds your worry are the tying of the camel.
Anxiety needs attention when it takes over your life: panic attacks, constant dread, avoiding people or places, or physical symptoms that will not settle. That is a condition like any other, and the Prophet ﷺ told people to seek treatment. See is it haram to see a therapist.
Alongside treatment, these help:
- the five prayers, which give the day an anchor
- dhikr, since hearts find rest in the remembrance of Allah (see does dhikr help with anxiety)
- the dua of distress and the other duas on dua for anxiety
- talking to someone you trust instead of carrying it alone
Every worry you bear patiently also wipes away sins. The Prophet ﷺ said that no tiredness, illness, worry or grief befalls a Muslim without Allah expiating some of his sins by it.
The evidence
Quran, Surah Al-Qasas 28:21
فَخَرَجَ مِنْهَا خَآئِفًۭا يَتَرَقَّبُ ۖ قَالَ رَبِّ نَجِّنِى مِنَ ٱلْقَوْمِ ٱلظَّٰلِمِينَ ﴿٢١﴾
So he left it, fearful and anticipating [apprehension]. He said, "My Lord, save me from the wrongdoing people."
A prophet felt fear, so fear is not a failure of faith.
Quran, Surah Yusuf 12:86
قَالَ إِنَّمَآ أَشْكُوا۟ بَثِّى وَحُزْنِىٓ إِلَى ٱللَّهِ وَأَعْلَمُ مِنَ ٱللَّهِ مَا لَا تَعْلَمُونَ ﴿٨٦﴾
He said, "I only complain of my suffering and my grief to Allah, and I know from Allah that which you do not know.
Grief brought to Allah is part of faith, not against it.
Quran, Surah Ar-Ra'd 13:28
ٱلَّذِينَ ءَامَنُوا۟ وَتَطْمَئِنُّ قُلُوبُهُم بِذِكْرِ ٱللَّهِ ۗ أَلَا بِذِكْرِ ٱللَّهِ تَطْمَئِنُّ ٱلْقُلُوبُ ﴿٢٨﴾
Those who have believed and whose hearts are assured by the remembrance of Allah. Unquestionably, by the remembrance of Allah hearts are assured."
Remembrance of Allah brings calm to anxious hearts.
Sahih al-Bukhari 6363
Sahih... اللهم إني أعوذ بك من الهم والحزن والعجز والكسل ...
"O Allah, I seek refuge in You from worry and grief, from weakness and laziness."
He sought refuge from worry, which shows it is a human experience.
Jami' at-Tirmidhi 2517
Grading to be checked... أعقلها وأتوكل أو أطلقها وأتوكل قال اعقلها وتوكل ...
"Should I tie her and trust, or let her loose and trust? He said: Tie her and trust."
Tawakkul goes with taking means, such as treatment.
Sahih al-Bukhari 5641
Sahih... ما يصيب المسلم من نصب ولا وصب ولا هم ولا حزن ...
"No tiredness, illness, worry or grief befalls a Muslim..."
Worry borne patiently expiates sins.
Where the ruling is recorded
- Ihya Ulum al-Din (al-Ghazali), Kitab al-Tawhid wa al-Tawakkul. Explains that tawakkul does not mean abandoning means such as treatment.
- al-Fatawa al-Hindiyya, Kitab al-Karahiyya, chapter on treatment and remedies (al-tadawi wa al-mu'alajat). Seeking treatment for illness is permitted.
Checked by our team. For a more accurate answer to your own situation, consult a scholar. Quran translation by Sahih International. Hadith Arabic from the standard editions of the six books and the Muwatta, with gradings as recorded there; the English is our own rendering. Spotted a mistake? Tell us.