Duas for Entering and Leaving the Bathroom
Quick Answer
On entering the bathroom: 'Allahumma inni a'udhu bika mina'l-khubthi wa'l-khaba'ith' (O Allah, I seek refuge in You from male and female devils) is recited. On leaving: 'Ghufranaka' (I ask Your forgiveness, O Lord) or 'Alhamdulillahi'lladhi adhhaba 'anni'l-adha wa 'afani' (Praise be to Allah who removed harm from me and granted me well-being) is recited. These practices are narrated in Bukhari and Muslim.
The Etiquette of the Bathroom and the Importance of Its Duas
In Islam, cleanliness is half of faith (Muslim). The bathroom is a place for bodily cleansing, and there are specific etiquettes to be observed there. The Prophet (peace be upon him) recited certain duas on entering and leaving the bathroom, and he taught these sunnah practices to his Companions as well.
The Dua for Entering the Bathroom
Arabic
اَللّٰهُمَّ اِنِّي اَعُوذُ بِكَ مِنَ الْخُبْثِ وَالْخَبَائِثِ
Allahumma inni a'udhu bika mina'l-khubthi wa'l-khaba'ith.
Meaning
"O Allah, I seek refuge in You from male and female devils."
The Hadith
Anas ibn Malik narrated:
"When the Prophet (peace be upon him) wished to enter the bathroom, he would say, 'Allahumma inni a'udhu bika mina'l-khubthi wa'l-khaba'ith.'"
— Bukhari, Wudu, 9; Muslim, Hayd, 122
A short alternative: if the full dua does not come to mind, simply saying "Bismillah" (in the name of Allah) or "A'udhu billah" (I seek refuge in Allah) is also sufficient.
The Dua for Leaving the Bathroom
The First (More Common) Option
Arabic:
غُفْرَانَكَ
Ghufranaka.
Meaning: "(O Lord) I ask Your forgiveness."
— Tirmidhi, Tahara, 7
The Second (Longer) Option
Arabic:
اَلْحَمْدُ لِلّٰهِ الَّذِي اَذْهَبَ عَنِّي الْاَذٰى وَعَافَانِي
Alhamdulillahi'lladhi adhhaba 'anni'l-adha wa 'afani.
Meaning: "Praise be to Allah who removed harm from me and granted me well-being."
— Ibn Majah, Tahara, 10
Reciting both duas one after the other is considered ideal:
"Ghufranaka. Alhamdulillahi'lladhi adhhaba 'anni'l-adha wa 'afani."
The Etiquette of the Bathroom (Sunnah Practices)
- Enter with the left foot, leave with the right foot (a sunnah)
- Recite the entering dua — before stepping in
- Avoid facing or turning your back to the qibla
- Avoid speaking — do not greet or return a greeting
- Avoid mentioning Allah's name — no dhikr, dua or Quran recitation
- Ensure privacy — in a way that cannot be seen by others
- Use water for cleansing (istinja) — a sunnah practice
- Avoid using the right hand for cleansing — use the left hand
- Recite the leaving dua
- Wash the hands (with soap)
What Not to Do in the Bathroom
- ❌ Bringing in anything bearing one of Allah's names (written material)
- ❌ Carrying a copy of the Quran or a page from it
- ❌ Saying "Alhamdulillah" out loud after sneezing (say it silently instead)
- ❌ Reciting duas aloud
- ❌ Having a religious conversation on the phone
- ❌ Keeping food or drink there where avoidable
A Practical Walkthrough
Steps for entering the bathroom:
- Stand at the bathroom door
- Say "Allahumma inni a'udhu bika mina'l-khubthi wa'l-khaba'ith"
- Step in with your left foot
- Attend to your need
- Step out with your right foot
- Say "Ghufranaka" (or the longer leaving dua)
- Wash your hands (with soap)
- Perform wudu if needed (for prayer)
Teaching Bathroom Etiquette to Children
An age-appropriate approach:
- Ages 3-4: teach them to say "Bismillah" on entering
- Ages 5-6: teach the "Allahumma inni a'udhu bika..." dua (starting with the meaning in their own language)
- Ages 7-8: the "Ghufranaka" leaving dua
- Ongoing: entering with the left foot, leaving with the right
Children learn by imitating adults — set the example through your own consistent practice.
Frequently Asked Questions
Is it sinful if I forget to recite the dua when entering the bathroom?
No, it is not sinful. A sunnah has simply been missed — no sin is recorded. It is enough to remember it the next time. Aim to practise it consistently.
Can the dua be recited in modern bathrooms where the toilet and shower share the same room?
It is more appropriate to recite the dua before entering through the door. This is because it is disliked to mention Allah's name "in the presence of" the toilet itself. The dua is considered complete once you step inside.
Does this etiquette change in public restrooms?
No, the same sunnah practices apply. It may simply require avoiding conversation and phone use more deliberately; in that case, it is recommended to finish the task quickly.
Does this etiquette apply to me when I'm cleaning up after my baby or young child?
There is no need for a dua when cleaning a baby or child. This cleaning is a caregiving responsibility, not itself an act of worship. Simply wash your hands afterwards, and perform wudu if needed.
Why is facing or turning your back to the qibla considered disliked?
The Prophet (peace be upon him) said, "When you sit to relieve yourselves, do not face the qibla or turn your back to it" (Bukhari, Wudu, 11). This preserves the respect owed to the direction of the qibla. In modern bathrooms where the toilet's position is fixed, following this sunnah exactly can be difficult, but it is good to observe where possible.
A Daily Dua Reminder in the Nurlu App
In the Nurlu app's daily routine duas module, you'll find:
- all the routine duas, including those for entering and leaving the bathroom
- the Arabic and English text
- an audio recitation option
- daily streak tracking to help build the habit
all free of charge.
Frequently Asked Questions
What dua is recited when entering the bathroom?
On entering, one recites: 'Allahumma inni a'udhu bika mina'l-khubthi wa'l-khaba'ith' (O Allah, I seek refuge in You from male and female devils). The Prophet (peace be upon him) recited this consistently (Bukhari, Wudu, 9).
What dua is recited when leaving the bathroom?
Two duas are narrated for leaving the bathroom: 1) 'Ghufranaka' (I ask Your forgiveness, O Lord), 2) 'Alhamdulillahi'lladhi adhhaba 'anni'l-adha wa 'afani' (Praise be to Allah who removed harm from me and granted me well-being). Either one is sufficient.
Is talking in the bathroom sinful?
It is not sinful, but it is considered disliked (makruh). Unless necessary, one should not speak, recite duas, exchange greetings, or mention Allah's name while in the bathroom. Silent remembrance in the heart, however, is permissible.
Do you enter the bathroom with the left foot or the right foot?
The sunnah is to **enter with the left foot and leave with the right foot**. This follows the general principle of entering clean places (a mosque, one's home) with the right foot, and unclean places with the left.
Get daily dua reminders with Nurlu
Morning, evening and situational dua reminders — in the app.