Short answer
No. Depression is an illness and a trial, not proof of weak faith. Prophets felt deep grief, and the Prophet ﷺ sought refuge in Allah from worry and sadness. Treatment from a qualified doctor or therapist is allowed and encouraged, alongside prayer and dua. The four schools agree.
Depression is a sickness like any other. Treating it with medicine or therapy is permissible and encouraged, a believer's patience in it is rewarded, and it carries no sin in itself.
The four schools agree on this.
Explanation
Prophet Yaqub grieved so deeply for Yusuf that his eyes turned white from sorrow, and he said, "I only complain of my suffering and my grief to Allah." He was a prophet, so grief cannot be a sign of weak faith. When the Prophet's ﷺ infant son Ibrahim was dying, his eyes filled with tears and he said that the eye weeps and the heart grieves, but we say only what pleases our Lord.
The Prophet ﷺ also often made a dua seeking refuge in Allah from worry and grief, from helplessness and laziness. He did not treat these states as shameful. He named them and turned to Allah about them. He also taught that worry and grief, like any illness, wipe away sins from the believer who bears them.
Things that help:
- see a doctor or a qualified therapist; treatment is part of the Sunnah (see is it haram to see a therapist)
- keep your salah, even when it feels empty, and remember Allah, since hearts find rest in His remembrance
- tell someone you trust, and do not stay alone with it
- ignore anyone who says you just need more iman; that is not what the Quran or Sunnah teach
For a longer guide, read depression in Islam, and for duas, dua for depression and sadness. If you have thoughts of harming yourself, please contact a crisis line or emergency services now, and read this page.
The evidence
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.
A prophet felt deep grief, so grief is not a lack of faith.
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."
Dhikr is a support for a troubled heart.
Quran, Surah Ash-Sharh 94:5
فَإِنَّ مَعَ ٱلْعُسْرِ يُسْرًا ﴿٥﴾
For indeed, with hardship [will be] ease.
Hardship is followed by ease.
Sahih al-Bukhari 1303
Sahih... إن العين تدمع والقلب يحزن ولا نقول إلا ما يرضى ربنا ...
"The eye weeps and the heart grieves, but we say only what pleases our Lord."
Sadness is human and fits with full faith.
Sahih al-Bukhari 6369
Sahih... اللهم إني أعوذ بك من الهم والحزن ...
"O Allah, I seek refuge in You from worry and grief."
The Prophet named worry and grief and sought Allah's help against them.
Sahih al-Bukhari 5641
Sahih... ما يصيب المسلم من نصب ولا وصب ولا هم ولا حزن ...
"No tiredness, illness, worry or grief befalls a Muslim, even a thorn that pricks him, except that Allah wipes away some of his sins by it."
Depression and sadness are rewarded, not counted against you.
This answer is pending review by the scholars on our team. 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.