- Published on
Dua When Lonely: Islamic Supplications for Moments of Isolation
- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • Deen Back
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.

There is a particular kind of loneliness that hits not when you are physically alone, but when you are surrounded by people and still feel invisible. The conversations around you feel hollow. You nod, you respond, and inside you feel like no one actually sees who you are.
Islam does not gloss over this. The Quran contains the story of a prophet who ended up completely alone — physically trapped in the stomach of a whale in the deep darkness of the sea. And from that place, he made one of the most powerful duas in all of Islamic tradition.
That dua is yours now. You do not need to be in a whale to need it.
The Dua for Loneliness — Prophet Yunus in the Darkness
لَا إِلَٰهَ إِلَّا أَنْتَ سُبْحَانَكَ إِنِّي كُنْتُ مِنَ الظَّالِمِينَ
La ilaha illa anta subhanaka inni kuntu min al-dhalimin
"There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers."
— (Quran, Surah Al-Anbiya, 21:87)
This dua seems simple on the surface. But read it slowly.
La ilaha illa anta — there is no god but You. Not "among the options." Not "among those who care." There is no one but You. In complete isolation, Yunus ﷺ arrived at the deepest truth: the only real, permanent, unbreakable companionship is with Allah.
Subhanaka — You are exalted beyond my ability to comprehend. I am not going to demand explanation. I am going to declare Your perfection even in this.
Inni kuntu min al-dhalimin — I have wronged. I am not pretending I have done nothing. I am being honest.
This combination — absolute divine acknowledgment, humility, and honesty — is why the Quran says it was answered.
When to Say It
Say it when the loneliness is loudest: late at night, in the morning silence before anyone is awake, when you are in a crowd and still feel invisible, when you feel like no one truly understands what is going on inside you. Say it three times slowly, as a conversation rather than a formula.
The Story Behind This Dua
Prophet Yunus ﷺ had been preaching to his people for years. When they did not respond and he grew frustrated, he left without receiving permission from Allah. He boarded a ship, and when the ship was in danger, the lot fell on him and he was cast into the sea — where he was swallowed by a whale.
The Quran describes what followed: "And he called out in the darknesses: There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers." (21:87)
Three layers of darkness: the night, the depths of the sea, and the belly of the whale. If there was ever a situation designed to make a person feel completely, utterly alone — this was it.
And yet: Allah responded. The Quran says: "So We responded to him and saved him from the distress. And thus do We save the believers." (21:88)
That final phrase is the key for you. "Thus do We save the believers." The same rescue that came for Yunus ﷺ is available to you through the same dua.
How to Make This Dua Part of Your Daily Life
Loneliness tends to spike at predictable times: late at night, on weekends, after social situations that left you feeling more empty than full. Instead of letting those moments pass in pain, intentionally anchor this dua to them.
After Fajr, before getting up. The early morning carries a particular quiet that can tip into loneliness. Sitting still after Fajr, say the dua three times. Let it be the first real address of your day — spoken to the One who was with you through the entire night.
When you are in a crowd and feel invisible. This is when the dua's context becomes most powerful. Say it internally, recognizing that the One who can actually know you completely is present even in the crowd.
As a sleep dua. The Prophet ﷺ recommended specific dhikr before sleep. The dua of Yunus ﷺ is fitting here as the day closes. Read it as a settling in: there is no one but You. You are with me as I sleep.
Build a consistency streak. One of the reasons loneliness persists is that people turn to dua only in the height of the feeling and then drop it when it passes slightly. A daily habit of this dua — regardless of how lonely you feel today — builds the relationship that prevents the deepest crashes.
Build a Dua Habit That Carries You Through the Lonely Seasons
DeenBack helps you track your daily supplications and dhikr streaks — so your connection with Allah stays consistent even when human connection feels distant.
Free download. Premium features available in-app.
Related Duas for Loneliness and Disconnection
The dua for companionship in difficulty:
اللَّهُمَّ أَنْتَ الصَّاحِبُ فِي السَّفَرِ وَالْخَلِيفَةُ فِي الْأَهْلِ
Allahumma anta al-sahibu fi al-safar wa al-khalifatu fi al-ahl
"O Allah, You are the companion in travel and the guardian of the family."
— (Sahih Muslim 1342)
This dua — said when departing on a journey — applies to any journey, including the interior journey of a hard season. Allah is the companion when humans are not available.
When sadness mixes with loneliness, the dua for sadness contains additional supplications for the weight loneliness carries. When the loneliness has tipped into something darker, the dua for depression addresses the layer beneath. The dua of Prophet Yunus explores this dua's context more fully. For the anxiety that often accompanies feeling alone, the dua for anxiety is a powerful companion.
Common Questions
Does feeling lonely mean I have weak iman?
No. The prophets experienced loneliness. The Quran acknowledges the loneliness of Yaqub ﷺ, Maryam ﷺ, and Yunus ﷺ. What iman changes is what you do with the experience — whether you bring it to Allah or away from Him.
What if I have been making this dua for weeks and still feel lonely?
Dua works at the level of the heart's orientation, not always at the level of immediate circumstance change. You may still feel lonely while making the dua — but the dua is changing your relationship with the loneliness. You are no longer alone with it. There is a difference between being lonely and being completely alone, and the dua collapses that second category.
Can I make this dua in English?
Yes. The scholars agree that dua can be made in any language. If you are memorizing the Arabic, that is excellent — there is special power in the Quranic Arabic. But making the dua in English with full understanding is more valuable than reciting Arabic as mere formula.
What if my loneliness comes from feeling distant from Allah Himself?
Then the dua is precisely for this. Say: I feel far from You. I do not like feeling far from You. I know the distance is on my side, not Yours. Subhanaka — You have not moved. Bring me back.
The Companionship That Does Not Fail
Human relationships are imperfect. People get busy, people misunderstand, people leave. Even the best friendships have limits.
The Quran offers something else: "And He is with you wherever you are." (57:4). Not "He watches you from a distance." He is with you — the language of companionship, closeness, presence.
Loneliness is a call to notice what was always there. Say the dua. Let the isolation point you back toward the One whose presence does not depend on being summoned.
Turn Your Lonely Moments Into Daily Connection With Allah
DeenBack makes it easy to track the duas and dhikr that keep you anchored — even through seasons when everything else feels distant. Start your streak today.
Free download. Premium features available in-app.
Frequently Asked Questions
Is it normal to feel lonely as a Muslim?
Yes — and Islam acknowledges this honestly. The Prophet ﷺ himself experienced periods of profound isolation, including before revelation came and during the painful Meccan period. Loneliness is a human experience, not a sign of weak faith. What matters is where you take the loneliness: toward Allah or away from Him.
What is the best dua to say when feeling lonely?
The dua of Prophet Yunus ﷺ — La ilaha illa anta subhanaka inni kuntu min al-dhalimin — is particularly powerful for loneliness because it was said in absolute isolation and was answered. Say it with reflection on its meaning: there is no one else, truly, except Allah.
Can dua actually help with loneliness?
Dua reorients the heart. Loneliness is often the feeling that no one sees you or cares about your inner world. Dua is the direct address to the One who sees everything, is always with you, and knows your interior life more deeply than you do. That is not a metaphor — it is a real relationship that dua activates.
How do I make dua when I feel too low to talk to Allah?
Start with honesty. You do not need to feel spiritually polished to make dua. The Prophet ﷺ taught duas for the heaviest moments precisely because those moments exist. Begin simply: O Allah, I am here. I do not feel You right now. But I know You are here. That is dua enough to begin.
