Can the iPhone Shortcuts app actually silence my phone at prayer time?
Yes and no, and it is worth being honest about both halves so you do not waste an evening fighting the Shortcuts app. The Shortcuts app on iOS is genuinely powerful. It can flip your phone into a quiet mode, turn on a Focus, open a specific app, set a reminder, or play a sound, all triggered by a Personal Automation that runs on its own. That covers the calm you actually want around salah.
The honest limit is this: Shortcuts has no built-in knowledge of today's prayer times. It does not know that maghrib is at 7:42 this evening and will drift to 7:48 next week. There is no native "when the adhan begins" trigger. So if you want a fully automatic, prayer-aware phone using only Apple's own tools, you will be giving it the times yourself and adjusting them as the year turns. That is the trade-off, and once you accept it the rest is easy. If you are weighing this against what the phone offers out of the box, it is worth reading our take on whether the iPhone has a built-in prayer mode before you build anything.
Below are the three approaches that genuinely work today. None of them is perfect, but each one removes a little friction, and friction is usually what stands between us and a focused prayer.
Approach 1: Time-based Personal Automations for the prayer windows
This is the most direct route. You create five small automations, one for each prayer, set to fire at roughly the start of each window, and have each one switch on a quiet mode or Focus. The cost is a few minutes of upkeep when the times shift, usually once a month is plenty for most cities.
Before you start, decide what "going quiet" means for you. A few good options:
- Turn on a Focus. A custom "Salah" Focus can silence notifications and even hide your most distracting Home Screen pages while it is active.
- Set Do Not Disturb. Simpler than a Focus, it just mutes alerts and calls for the duration you choose.
- Open the Quran or a dhikr list. Instead of muting, the automation can open your Quran app or a note full of adhkar, so the first thing you see is something that pulls you toward Allah rather than away from Him.
- Fire a reminder. A gentle "It's time for Dhuhr" banner, with nothing else changed, is sometimes all a busy person needs.
You can combine these. A single automation can switch on the Salah Focus and open the Quran and show a reminder, all in one tap-free run. That is the real strength of Shortcuts: stacking small actions into one quiet moment.
How do I create a Personal Automation, step by step?
Here is the full walkthrough for one prayer. Once you have built one, the rest are copies with different times. This assumes a recent version of iOS; the wording shifts slightly between releases, but the flow is the same.
- Open the Shortcuts app. It comes pre-installed on every iPhone. If you deleted it, grab it again free from the App Store.
- Tap the Automation tab. It sits along the bottom of the screen, next to Shortcuts.
- Tap the + in the top corner to start a new automation, then choose Create Personal Automation if you are asked.
- Choose "Time of Day" as the trigger. Set it to the start of the prayer window, for example 1:15 PM for Dhuhr, and choose Daily so it repeats.
- Tap Next, then "New Blank Automation" or "Add Action". This is where you tell the phone what to do.
- Add your first action. Search for Set Focus and choose your Salah Focus (or search Set Do Not Disturb and turn it On). You can set it to turn off after a number of minutes if you like.
- Add a second action if you want one. Search Open App and pick your Quran app, or search Show Notification to display a gentle reminder such as "Time for Dhuhr. Step away for a few minutes."
- Tap Next to review, then turn "Run Immediately" on and "Notify When Run" off so it happens silently without asking you each time. On some iOS versions this toggle is called "Ask Before Running", which you switch off.
- Tap Done. Your first prayer automation is live.
- Repeat for the other four prayers. The quickest way is to duplicate the automation and change only the time and the reminder text.
One practical tip: if you also want the phone to come back to normal afterwards, add a matching automation a set time later (say 20 minutes after) that turns the Focus or Do Not Disturb off. Otherwise it stays quiet until you toggle it yourself, which some people actually prefer.
Approach 2: An automation that nudges you when you open a distracting app
Time triggers are blunt because the times drift. A second, complementary approach catches you at the moment of temptation instead. Shortcuts lets you create an automation that runs "When [App] Is Opened", so the trigger is your own behaviour rather than the clock.
Build it the same way as above, but at the trigger step choose "App" and select your usual culprits: the timeline app, the short-video app, the inbox you fall into. For the action, you have a few honest options. The automation can show a notification that simply asks "Have you prayed Asr yet?" It can open your Quran app instead. Or it can switch on the Salah Focus so the scroll session is muted from the start.
This will not check the prayer times for you, and it cannot truly lock the app shut on its own. It is a speed bump, not a wall. But a speed bump at the exact second your thumb reaches for the wrong icon can be surprisingly effective, because it interrupts the autopilot. If you want something firmer than a nudge, see our guide on how to block apps during prayer on iPhone, which covers Screen Time limits and app-blocking tools that go further than a reminder.
On the authority of 'Umar, the Prophet ﷺ said: "Actions are but by intentions, and every person will have only what they intended."Sahih al-Bukhari 1
The point of a nudge is to surface the niyyah you already have. You do want to pray on time; the phone just makes it easy to forget. A small interruption gives that intention a chance to win.
Skip the setup, block apps for every salah
Prayer Pause blocks your most distracting apps during the five prayer windows, and when you reach for one, it meets you with a moment of dhikr, Quran, a short quiz, reflection, or du'a instead. A soft, faith-rooted way to guard your pauses and put your attention back where you want it.
Approach 3: An NFC tag on your prayer mat
This is the most elegant Shortcuts option, and the most satisfying to use. Most iPhones can read NFC tags, the small, cheap, programmable stickers you can buy in a pack for a few pounds. The idea is simple: you stick one to your prayer mat, or to the wall by where you pray, and you program a Personal Automation to run the moment your phone touches it.
Setting it up takes a minute:
- Choose "NFC" as the trigger when you create the Personal Automation, then tap Scan and hold the top of your phone to the blank tag to register it.
- Add the same actions as before: turn on the Salah Focus, set Do Not Disturb, open the Quran, or all three.
- Turn off "Ask Before Running" so a single tap does everything silently.
Now the ritual becomes physical. You unroll the mat, tap your phone to the tag, and the device falls quiet on its own. When you are done, a second tag (or the same one programmed to toggle) can bring everything back. There is something fitting about a deliberate, tactile gesture marking the boundary between the dunya and your salah, a tiny act of niyyah you make with your hand. The phone is genuinely off-limits because you chose to make it so, and that choice is renewed five times a day.
The honest catch: Shortcuts does not know today's prayer times
Every approach above shares one weakness, and it is worth stating plainly rather than hiding it. Apple's Shortcuts app cannot natively pull live, location-accurate prayer times. The time-based automations will quietly fall out of sync as fajr creeps earlier in summer and maghrib slides later. The app-open and NFC triggers sidestep the clock, but they still rely on you to remember and to act.
You can engineer around this. Advanced users sometimes wire a Shortcut to a prayer-times web service using the "Get Contents of URL" action, parse the JSON, and feed the result into a calendar or automation. It works, but it is fragile, it breaks when the service changes, and honestly very few people will maintain it. For most of us the realistic choice is between adjusting five times once a month or accepting that the trigger is manual. Neither is a failure; both are better than no system at all. And missing prayers is rarely about not caring, it is about the day swallowing us whole, which is exactly what we explore in our guide on how to stop missing prayers.
The Prophet ﷺ was asked which deed is most beloved to Allah. He said, "Prayer at its proper time."Sahih al-Bukhari 527
That hadith is the whole reason we bother automating any of this. The goal was never a clever phone. It was the prayer, on time, with a heart that is present rather than half-scrolling.
When a prayer-aware app just removes the upkeep
If the monthly fiddling sounds like one more thing you will forget, that is a completely fair reaction, and it is precisely the gap a dedicated app fills. The reason a purpose-built tool feels effortless is that it already knows your daily prayer times for your exact location and recalculates them every single day. There is no list of five automations to nudge each month, no tag to remember to tap, no drift to correct.
That is the idea behind Prayer Pause. It automatically blocks your most distracting apps during each of the five prayer windows, and when your thumb reaches for one out of habit, you are met with a moment of dhikr, a short verse of Quran, a quick reflection, or a du'a instead of an endless feed. The times update themselves, so the calm arrives on its own, five times a day, without you maintaining anything. If you would like to feel that for yourself, you can try it for free on the App Store.
None of this is a magic fix, and it would be dishonest to pretend otherwise. A Focus mode, an NFC tag, or an app is only ever a help for the moments when willpower runs thin. The intention has to be yours. But there is no shame in building a little scaffolding around a habit you love, the Prophet ﷺ taught us that the deeds most beloved to Allah are the consistent ones, even if small. Whether you build it yourself in Shortcuts tonight or let an app carry the weight, the aim is the same: to make answering the adhan the easy, natural thing your phone helps you do, rather than the thing it constantly pulls you from.