What dua do I say when entering the bathroom?

Yes, say "Allahumma inni a'udhu bika minal-khubuthi wal-khaba'ith" before you go in. It means "O Allah, I seek refuge with You from all offensive and wicked things." When you come out, say "Ghufranak" (grant me Your forgiveness). Both are short, authentic and easy to learn in a day.
Before entering
Anas reported that whenever the Prophet ﷺ went to answer the call of nature, he would say: "Allah-umma inni a'udhu bika minal khubuthi wal khaba'ith", meaning "O Allah, I seek Refuge with You from all offensive and wicked things (evil deeds and evil spirits)" (Sahih al-Bukhari 142).
Say it just before you step in, not once you're inside. If you're outdoors, for example camping or hiking, say it before you start.
Many scholars also recommend saying "Bismillah" first. This comes from a narration in Jami' at-Tirmidhi that some scholars consider weak, so it's a popular practice rather than a firmly established one. Saying it is fine, and so is leaving it.
After leaving
Aishah reported: "When the Prophet would exit the toilet he would say: 'Ghufranak'" (Jami' at-Tirmidhi 7), meaning "Grant me Thy forgiveness" (Sunan Abi Dawud 30). Scholars mention several reasons for asking forgiveness here, including that it's a moment when a person couldn't remember Allah aloud, and as thanks that Allah made the body healthy enough to get rid of what harms it.
Other bathroom etiquette
- No dhikr inside: most scholars say not to say Allah's name or recite Quran while relieving yourself. See Can I do dhikr in the bathroom?
- Left foot in, right foot out: scholars recommend this as good manners, in line with the habit of the Prophet ﷺ of starting good things with the right.
- Clean yourself properly: water is preferred, and toilet paper also counts. See Do Muslims have to use water instead of toilet paper?
- Cover up and keep private: modesty applies here too.
Modern bathrooms
Most Western homes have the toilet, shower and sink in one room. Since the dua is linked to relieving yourself, say it before entering when you're going to use the toilet. If you're only going in to wash your hands or brush your teeth, many people don't say it. If you forget the dua, it's not a sin; just remember next time.
- Before: "Allahumma inni a'udhu bika minal-khubuthi wal-khaba'ith."
- After: "Ghufranak."
- Say the first dua before entering, not inside.
- "Bismillah" before it is common but rests on a weaker narration.
People also ask
Should dhikr be said out loud or silently?
It depends, but quiet dhikr is the general rule. Don't shout; some dhikr like Eid takbir is said aloud, and moving your lips matters.
Read the full answer →Can I make dua silently in my head?
Yes, Allah hears a silent dua in your heart. In salah and for adhkar with set rewards, most scholars say you should at least move your lips.
Read the full answer →Can I do dhikr in the bathroom?
No, not out loud while using the toilet; it's disliked. Silent dhikr in your heart is fine, and the entering and leaving duas are said at the door.
Read the full answer →What does "SubhanAllah" mean and when do I say it?
Yes, it means "Glory be to Allah", declaring Him free of every imperfection. Say it when amazed, in prayer, after salah and in dhikr.
Read the full answer →What should I say after every prayer?
Yes, there's a short routine: Astaghfirullah 3 times, Allahumma antas-salam, then SubhanAllah, Alhamdulillah, Allahu Akbar 33 times each.
Read the full answer →