Mental Health in Islam: The Heart, Anxiety, Depression, and Emotional Struggle
In a world where anxiety, stress, depression, and emotional exhaustion continue to rise, people search for peace in everything around them — entertainment, relationships, wealth, social media, therapy, medication, distractions — yet many still feel empty inside.
Some of these struggles are connected to trauma, financial pressure, declining health, loneliness, and the instability of modern life itself. But beneath much of this is something deeper: distance from Allah, spiritual weakness, and a heart overwhelmed by the weight of the dunya.
This does not mean every emotional struggle is simply a lack of faith. Islam does not ignore psychological pain, emotional trauma, or mental exhaustion. Rather, the Qur’an and the Sunnah acknowledge the pain carried within the human heart and provide guidance, perspective, and healing for navigating it.
In Islam, mental health is not separated from faith. The condition of the mind is deeply connected to the condition of the heart, one’s relationship with Allah, and how a person understands hardship, loss, fear, and the temporary nature of this worldly life. The modern world often treats the symptoms of emptiness while neglecting the soul itself. Yet Allah, the One who created the human being, knows better than anyone what brings peace and stability to the heart.
One of the biggest mistakes people make when discussing mental health is assuming that emotional pain somehow contradicts īmān. As if sadness means weakness. As if anxiety means a person’s tawakkul is deficient. As if grief itself is proof that someone is distant from Allah.
But when you open the Qur’an carefully, you find something very different. The greatest people to ever walk this earth — the Prophets and Messengers — carried enormous emotional burdens. They experienced grief, fear, loneliness, betrayal, rejection, and overwhelming pressure. Yet through all of it, they continued turning back to Allah.

Take Prophet Ibrāhīm for example. He stood almost completely alone against his society, his people, and even his own father. There is a particular type of emotional exhaustion that comes from feeling isolated for the truth. Yet Ibrāhīm remained firm because his heart was attached to Allah more than people.
Then there is Prophet Yaʿqūb, whose grief over the loss of his son Yūsuf became so severe that Allah says:
“And his eyes became white from sorrow, for he was suppressing grief.”¹
This was not momentary sadness. This was prolonged grief. Years of heartbreak. Years of loss. Years of carrying pain in silence. Yet Yaʿqūb still said:
“I only complain of my sorrow and grief to Allah.”²
He did not deny his pain. He directed his brokenness toward Allah instead of away from Him.
And what about Yūsuf himself? Betrayed by his own brothers. Thrown into a well. Sold into slavery. Falsely accused. Imprisoned despite being innocent. This was trauma layered upon trauma. Yet through every hardship, Allah was preparing him and raising his rank. Sometimes the believer only sees the prison while Allah is preparing the palace.
Then we come to Prophet Ayyūb — one of the greatest examples of prolonged suffering in human history. Illness consumed his body. Wealth disappeared. Isolation surrounded him. Family tragedy struck him. Yet despite years of hardship, he never lost hope in Allah. Instead he said:
“Indeed, adversity has touched me, and You are the Most Merciful of those who show mercy.”³
Notice the adab of the Prophets. Even while suffering, their hearts remained connected to Allah.
Likewise, Prophet Mūsā openly expressed fear and emotional pressure before confronting Pharaoh. He made the duʿāʾ:
“My Lord, expand for me my chest.”⁴
The scholars mention that the expansion of the chest carries meanings of calmness, firmness, emotional ease, and relief from inner constriction. Even Mūsā sought emotional strength from Allah before facing overwhelming responsibility.
Then there is Maryam, alone during childbirth, isolated from people, carrying fear and distress. In that moment she cried out:
“Oh, I wish I had died before this and was forgotten completely.”⁵
This āyah is raw and deeply human. The Qur’an does not hide these moments. Rather, it preserves them so believers understand that emotional pain and overwhelm can happen even to the righteous.
And then there is Prophet Yūnus. Overwhelmed by his circumstances, he left in distress until he found himself surrounded by layers of darkness — the darkness of the sea, the darkness of the whale, and the darkness of emotional anguish. Yet from within that darkness came one of the greatest supplications ever uttered:
“There is no deity except You; exalted are You. Indeed, I was among the wrongdoers.”
Sometimes Allah allows a person to reach the depths so they learn that relief only comes from Him.
Finally, no discussion about emotional hardship is complete without mentioning Prophet Muhammad ﷺ himself. The Messenger of Allah ﷺ carried burdens that would crush mountains. He was mocked, slandered, rejected, threatened, and emotionally wounded by his own people. During the Year of Sorrow, he lost both Khadijah and Abu Ṭālib — the two greatest sources of emotional support in his life.
And Allah revealed:
“And We certainly know that your chest becomes tight because of what they say.”⁶
SubḥānAllāh. Even the Messenger ﷺ experienced emotional heaviness from the words and actions of people.
In Islam, the heart is the foundation of a person’s condition. When the heart is at peace, the mind begins to settle. But when the heart becomes distant from Allah, a person can begin to feel restless, overwhelmed, anxious, and lost. Allah says:
“Verily, in the remembrance of Allah do hearts find rest.”⁷
The Messenger of Allah ﷺ also said:
“Indeed, there is a piece of flesh in the body. If it is sound, the whole body is sound. If it is corrupt, the whole body is corrupt. Verily, it is the heart.”⁸
For this reason, keeping the heart attached to the remembrance of Allah is essential. A person may outwardly possess wealth, entertainment, comfort, and status while internally feeling emotionally drained and spiritually empty. Allah says:
“And whoever turns away from My remembrance will certainly have a depressed and difficult life.”⁹
This does not mean every person struggling emotionally lacks faith. Rather, it shows that a life disconnected from Allah can never produce complete inner peace no matter how much worldly comfort a person accumulates.
The believer will experience sadness, fear, weakness, and emotional exhaustion. Yet the path of the Prophets teaches us that healing begins by turning back to Allah rather than running further away from Him. The Qur’an and Sunnah do not merely identify the pain of the human heart — they also provide the cure.
Prepared by Abu Aaliyah Abdullah Battle
5/14/26
Footnotes
- Sūrah Yūsuf 12:84
- Sūrah Yūsuf 12:86
- Sūrah al-Anbiyāʾ 21:83
- Sūrah Ṭā Hā 20:25
- Sūrah Maryam 19:23
- Sūrah al-Ḥijr 15:97
- Sūrah ar-Raʿd 13:28
- Sahih al-Bukhari
- Sūrah Ṭā Hā 20:124





