How to block apps during salah on iPhone (full Screen Time guide)

Step-by-step guide to blocking distracting apps during your prayer windows on iPhone — using built-in Screen Time, and how Quran Mode automates it.

This guide covers two ways to block distracting apps during your prayer windows on iPhone: the manual setup using Apple's built-in Screen Time, and the automated version using Quran Mode. The manual setup is free, takes about 15 minutes, and works without any third-party app. It also breaks every time prayer times shift, which is the reason most people eventually move to the automated version.

I'll show you both. Pick what fits.

Method 1 — Manual Screen Time setup

Works on any iPhone running iOS 14 or later. You'll set custom Downtime windows around each of your five prayers. The whole thing takes one sitting, plus a re-check every couple of weeks as prayer times move.

Step 1. Find your local prayer times

Open whatever you currently use for prayer times — Muslim Pro, IslamicFinder, a local masjid's website, or your method of choice. Note today's five times. For example, in Istanbul on April 26, 2026:

We'll create a 25-minute block centered on each, starting 5 minutes before the adhan. Adjust these numbers to your madhhab and habit. Maliki and Hanafi schools differ on Asr by about 30 minutes — check with whoever you follow.

Step 2. Enable Screen Time and set a passcode

Settings → Screen Time. If you haven't turned it on, do that now. Then tap Use Screen Time Passcodeand set a 4-digit passcode that's notyour phone's passcode. This matters: the Screen Time passcode is what stops you from disabling the block in 6 seconds when the urge hits.

Practical advice: have your spouse, sibling, or trusted friend type the passcode for you. Then you genuinely don't know it. This sounds extreme. It's the difference between “I have an app blocker” and “the app blocker actually blocks apps.”

Step 3. Add apps to the block list (App Limits)

  1. Settings → Screen Time → App Limits
  2. Tap Add Limit
  3. Pick the categories you want gone — typically Social, Entertainment, and any specific app like YouTube that lives outside those categories.
  4. Set the time limit to 1 minute.
  5. Important: turn ON Block at End of Limit. This converts the soft warning into a hard block.

Step 4. Schedule Downtime around each prayer

Downtime is iPhone's scheduled block window. iOS unfortunately only lets you set one daily Downtime range natively, but there's a workaround using Shortcuts that we'll cover next. For now, set your Downtime to cover your most-distracted prayer — usually Maghrib for most people:

  1. Settings → Screen Time → Downtime → Turn On.
  2. Set From 5 minutes before Maghrib, To 20 minutes after.
  3. Make sure Block at Downtime is on.

Step 5. (Optional) Cover all five prayers via Shortcuts

To get all five prayers in one go, use the Shortcuts app:

  1. Open the Shortcuts app → Automation tab.
  2. Tap +Create Personal Automation.
  3. Choose Time of Day trigger and set it to 5 minutes before Fajr.
  4. Add action: Set Focus → choose a custom Focus mode you've set up to allow only essential apps.
  5. Add action: Wait → 25 minutes.
  6. Add action: Set Focus → Off.
  7. Repeat for Dhuhr, Asr, Maghrib, Isha — five separate automations.

This is brittle but free. Common breakages:

These are the reasons most people don't stick with the manual setup past month 2. If you're comfortable redoing this every couple of weeks, it works fine.

Method 2 — Automated, via Quran Mode

Disclaimer: this is my app. I'll keep this part short and descriptive, not promotional. Quran Modeuses Apple's Family Controls and Managed Settings frameworks — the same private system Screen Time uses — and wraps them in a setup that adjusts to your prayer times automatically.

The setup, end to end:

  1. Download Quran Mode from the App Store.
  2. Grant Screen Time / Family Controls permission. iOS will show a system dialog. This is the standard Apple permission, not a custom one — your data stays on the device.
  3. Pick the apps to block. Most people pick Instagram, TikTok, X, YouTube, and one news app.
  4. Pick the prayer-window length. Default is 25 minutes (5 min before adhan + 20 min after). You can shorten Fajr if you have a tight school run.
  5. Confirm your calculation method (ISNA, MWL, Umm al-Qura, etc.) and madhhab for Asr.

Setup is roughly 90 seconds. After that, the app blocking fires automatically at each prayer, recomputed daily as the sun shifts. There's no Shortcuts automation to maintain, no DST gotcha, no rebuild when you travel.

Frequently asked questions about app-blocking on iPhone

Can I bypass the block in an emergency?

Yes. Both methods let you tap through with a Screen Time passcode (or in Quran Mode's case, an in-app override). The point isn't to make it impossible — it's to make the bypass deliberate. That's how friction works.

Does it block notifications too?

Notifications from blocked apps still arrive on the lock screen by default. To silence them during prayer, pair the block with iOS Focus modes (Do Not Disturb on a schedule, or a custom Prayer focus). Quran Mode silences notifications inside its prayer windows automatically.

Will this work on iPad?

Yes — Screen Time and Quran Mode both work on iPad with the same APIs. If you have Family Sharing set up, you can apply the block across all your devices via your Apple ID.

What about Android?

Android's app-blocking surface is different and less consistent across manufacturers. Quran Mode is iOS-only for now. On Android, the closest approximation is using Digital Wellbeing Focus mode on a per-prayer schedule, but the experience is much rougher.

Is the block private? Can the developer see my apps?

With Apple's Family Controls API, the list of apps you choose to block stays on the device and isn't exposed to the app developer. This is a deliberate Apple privacy decision, and it applies to every app using these APIs, including Quran Mode.

The honest comparison

If you only need to block one prayer reliably and you don't travel: the manual Screen Time setup is fine. It's free and it works.

If you want all five prayers, you travel, and you don't want to be re-doing automations every two weeks: the dedicated app is what I'd use. Even if you don't use mine, look for one that uses Apple's Family Controls API rather than VPN-based blocking (which is unreliable on iOS and harms your battery).

Either way, the most important step is setting the Screen Time passcode and not knowing it yourself. That single change does more than any app you install.

More from the blog