Dua for Home Protection
3 Ways to Guard Your Household

The home is where a believer and their family find rest, and Islam teaches that its truest protection comes from the name and remembrance of Allah. The dua for home protection draws on the supplication the Prophet Muhammad (pbuh) taught for entering and leaving the home, entering in the name of Allah, leaving in the name of Allah, and relying upon Him in all things. It surrounds the household with the protection of Allah, turning every coming and going into an act of reliance on Him.
بِسْمِ اللَّهِ وَلَجْنَا، وَبِسْمِ اللَّهِ خَرَجْنَا، وَعَلَى رَبِّنَا تَوَكَّلْنَا
Bismillāhi walajnā, wa bismillāhi kharajnā, wa ‘alā rabbinā tawakkalnā.
“In the name of Allah we enter, in the name of Allah we leave, and upon our Lord we rely.”
This guide explains the dua for home protection, the meaning of entering and leaving in the name of Allah, and three ways to guard your household, so that the believer may place their home and family under the protection of Allah, who guards every household entrusted to His care.
The Meaning of the Dua for Home Protection

The dua for home protection is a supplication the Prophet (pbuh) taught for entering the home, declaring that one enters in the name of Allah, leaves in the name of Allah, and relies upon their Lord in all things. The Prophet (pbuh) then taught that one should greet the household with the greeting of peace. By beginning every entry and exit with the name of Allah, the believer wraps the home in His protection, acknowledging that the household is kept safe only by Him.
The Prophet (pbuh) also taught the importance of mentioning Allah upon entering the home, for when a person enters and remembers Allah, the devil finds no place to spend the night there. The home is thus protected not by its locks alone, but by the remembrance of Allah within it. The dua for home protection makes this remembrance a habit at the threshold, turning the simple act of coming and going into a means of guarding the household.
Three Ways to Guard Your Household
The Prophet (pbuh) taught clear ways to guard a household, all rooted in the remembrance of Allah. These three place the home under His protection.
- Enter and leave in the name of Allah, relying on Him with this dua at the threshold.
- Greet the household with peace and mention Allah, turning the devil away from the home.
- Recite the Quran in the home, especially Surah Al-Baqarah, which the devil flees.
فَإِذَا دَخَلْتُمْ بُيُوتًا فَسَلِّمُوا عَلَىٰ أَنْفُسِكُمْ تَحِيَّةً مِنْ عِنْدِ اللَّهِ مُبَارَكَةً طَيِّبَةً
Fa’idha dakhaltum buyutan fasallimu ‘ala anfusikum tahiyyatan min ‘indillahi mubarakatan tayyibah
Enter homes and greet one another with peace from Allah
Wrapping the Home in the Remembrance of Allah
A home is far more than walls and locks, and its protection runs deeper than any physical barrier. The dua for home protection wraps the household in the remembrance of Allah, entering and leaving in His name and relying on Him in all things. Joined with greeting the family with peace and reciting the Quran within, this dua turns the devil away and places the home under the protection of Allah, who guards every household entrusted to Him.

This supplication pairs naturally with the dua for house protection drawn from Surah Al-Baqarah, and the dua for safety at night. Together they place a believer’s home and family under the complete protection of Allah, by day and by night.
A home is wrapped in protection when every coming and going begins in the name of Allah. Learn the protection duas with us on YouTube, where the supplications are recited aloud, on X for a reminder to guard your household, and on Pinterest where readers share how they fill their homes with the remembrance of Allah.
Frequently Asked Questions
The dua for home protection is Bismillahi walajna, wa bismillahi kharajna, wa ‘ala rabbina tawakkalna, entering and leaving in the name of Allah and relying upon Him. The Prophet (pbuh) taught it for entering the home.
Say it when entering and leaving your home, and greet your household with the greeting of peace. It wraps the home in the remembrance and protection of Allah.
The Prophet (pbuh) taught that when a person enters and remembers Allah, the devil finds no place to stay the night there. The remembrance of Allah, not locks alone, is the home’s truest protection.
Greeting the family with peace, mentioning Allah upon entering, and reciting the Quran, especially Surah Al-Baqarah, all guard the home. Together they place the household under the protection of Allah.
The dua for home protection focuses on entering and leaving in the name of Allah, while the dua for house protection draws on the verses of Surah Al-Baqarah. Both place the home under the protection of Allah.
Yes, the wording is in the plural, placing the entire household under the protection of Allah, so the family may say it together. It wraps the whole home in the remembrance of Allah.
