Quick answer
To stop your phone pulling you away from salah, schedule a block on your distracting apps at each prayer time, for example for 20 minutes from the adhan, and let someone you trust set the code so you cannot cancel it. Sunnah Lock does this on iPhone and Android, and it is free to download.
I make Sunnah Lock, the app this guide recommends. This is practical advice, not a fatwa. For a ruling on your own situation, ask a scholar you trust.
Why does the phone win at prayer time?
The adhan goes off, you think "one more minute," and the next time you look up, the time for that prayer is nearly gone. It is rarely a decision to skip salah. It is a feed that never ends and a moment that never comes.
In Abdel Haleem's translation of the Qur'an: "prayer is obligatory for the believers at prescribed times" (Surah an-Nisa, 4:103). The answer is not more willpower at the moment of the adhan. It is deciding, in advance, that the phone goes quiet when the prayer comes in.
How do you block apps at prayer time?
- Download Sunnah Lock from the App Store or Google Play.
- Pick the apps that pull you away: usually short-video and social apps, games, and YouTube. Block them as whole apps, websites included.
- Add a scheduled block at each prayer time. Twenty minutes from the adhan is a good start: long enough for wudu, the prayer and adhkar.
- Check your times through the year. Prayer times move with the seasons, so look at your blocks when the clocks change and adjust them.
- Let someone you trust set the code, so a block cannot be cancelled when the adhan goes off.
What should stay open?
Block what distracts, not what you need. Calls and messages from family, your Qur'an app and your prayer-times app can all stay. The goal is a phone that cannot pull you away, not one you cannot use in an emergency.
How long should each block be?
- Fajr: usually covered by a night block from bedtime until after Fajr. See our bedtime phone lock guide.
- Dhuhr and Asr: 20 minutes from the adhan works for most people at work or school.
- Maghrib: the window is shorter, so start the block right at the adhan.
- Isha: many people join it to the start of their night block, so the phone simply goes quiet after Isha.
Make the block hold
A block you can cancel in two taps becomes a block you cancel. So take that option away:
Let them set the code that protects your Sunnah Lock blocks. Without that code, blocks cannot be removed or switched off and the app cannot be deleted, so a weak moment has nowhere to go. You never see the code, and you never need to.
A spouse, parent or close friend all work. Ask them to make you wait a day if you ever ask for the code.
Do it as a family
Parents can set the same prayer-time blocks on their children's phones, and hold the code themselves. When everyone's phone goes quiet at the adhan, the whole house prays together. Our kids phone bedtime schedule covers the night side.
For more on building the habit beyond the app, read how to be consistent with salah.
Which setup should you pick?
You lose Dhuhr and Asr to your phone at work or school: 20-minute blocks from each adhan on social and video apps.
You miss Fajr: a night block from bedtime until after Fajr.
You cancel your own blocks: let someone you trust set the code.
Frequently asked questions
Is there an app that blocks apps at prayer time?
Yes. Sunnah Lock lets you schedule a block on the apps you choose at each prayer time, for example for 20 minutes from the adhan. It works on iPhone and Android and is free to download.
How long should I block my phone for salah?
Twenty minutes from the adhan is a good start for most prayers: enough time for wudu, the prayer and adhkar. Start Maghrib's block right at the adhan, and cover Fajr with a night block.
Will I still get calls during a prayer-time block?
Block the apps that distract you, like social media, short videos and games, and leave calls and messages from family open.
How do I stop myself cancelling the block?
Let someone you trust set the code that protects your Sunnah Lock blocks. Without it, blocks cannot be removed or switched off and the app cannot be deleted.
Does Sunnah Lock work on iPhone and Android?
Yes. Sunnah Lock works on iPhone and Android, and every step in this guide works the same way on both.
Is Sunnah Lock free?
Sunnah Lock is free to download on iPhone and Android. Some features need a paid plan.
The bottom line
The adhan should win over the feed. Block the apps that pull you away at each prayer time, cover Fajr with a night block, and give the code to someone you trust.
Sunnah Lock works on iPhone and Android. It is free to download on Google Play and the App Store, and some features need a paid plan.
Keep reading
- a Ramadan phone plan for 2027
- a bedtime phone lock app that blocks apps until Fajr
- How to be consistent with salah when your phone keeps winning
Let the adhan win
Distracting apps blocked at each prayer time and from bedtime until Fajr, with a code someone you trust holds. Works on iPhone and Android, free to download.