Focus guide
Can an iPhone Shortcut Block an App Until a Task Is Done?
Sort of. A Shortcuts automation can check your Reminders every time you open an app and send you away if today's tasks are not done. It cannot stop the app from opening, and it is easy to switch off. Here is the recipe, and its honest limits.
Published Updated
Short answer: not truly. A Shortcuts automation can run when an app opens, check whether today's reminders are still open and, if so, switch you to Reminders. That is a bounce, not a block: the app still opens for a moment, and the automation can be turned off in seconds. For a real lock, use a Screen Time-based blocker.
What the trick does
The Shortcuts app has personal automations that run when something happens. One trigger is App: it fires when a chosen app is opened or closed. With Run Immediately switched on, the automation runs without asking. Combine that with the Find Reminders action and you get a simple rule: every time you open Instagram, your iPhone checks a reminders list and, if anything is still open, sends you away.
The recipe (iOS 27 and iOS 26)
First, in the Reminders app, create a list called Today. Put the tasks that have to be done before you scroll in it. Then build the automation:
- Create a new personal automation in the Shortcuts app. On iOS 26 or earlier: tap Automation at the bottom, then + (or Create Personal Automation if it is your first). On iOS 27, Apple reorganised the Shortcuts app and the Automation tab may not be where it used to be; look for Automation in your Shortcuts library.
- Choose App. Tap Choose, select Instagram (and any other apps you want to cover), then tap Done.
- Make sure Is Opened is selected, choose Run Immediately, and turn off Notify When Run if you want it quieter. Tap Next.
- Tap New Blank Automation, then add the action Find Reminders.
- Tap Add Filter and set List is Today. Add a second filter: Is Not Completed.
- Add the action Count. It counts the reminders found in the previous step.
- Add the action If. Set the condition to Count is greater than 0.
- Inside the If, add Show Notification with a message such as "Not yet: finish today's list first." You can insert the Count as a variable to show how many are left.
- Still inside the If, add Open App and choose Reminders. Leave Otherwise empty.
- Tap Done. Open Instagram to test it: if the Today list has open reminders, you should be taken to Reminders straight away.
Apple's Shortcuts guide still documents the App trigger with Is Opened and Is Closed, and the actions above are the same on iOS 26 and iOS 27. What changed in iOS 27 is mostly where automations live in the app, and apps can now offer to add automations for you through an import screen. Action names and filters can shift between versions, so if a step looks different on your iPhone, search the action list for the closest match.
What it can and cannot do
| Shortcuts automation | Screen Time-based blocker | |
|---|---|---|
| Stops the app from opening | No: runs after the app is on screen | Yes: iOS shows a block screen instead |
| Checks your to-do list | Yes, Reminders (or another app with Shortcuts actions) | Only task-based blockers such as Weeklane Task Lock |
| Switching it off | Toggle in Shortcuts, no passcode | A deliberate step in the blocker or in Settings |
| Works on websites | No | Depends on the blocker; Screen Time can block sites |
| Covers many apps easily | Yes, but each app re-runs the check | Yes, including whole categories |
| Targets one specific app | Yes | Yes in third-party blockers; built-in Time Allowances on iOS 27 cover whole categories only |
| Cost | Free | Usually a paid plan; Screen Time itself is free |
| Best for | A nudge at the moment of opening | A rule you cannot argue with in the moment |
Where the trick falls short
- The app still opens. You see the feed for a split second before you are bounced, and the app is already loaded in the background.
- It is one toggle away. Anyone can open Shortcuts and switch the automation off, and no passcode protects it. On a bad day that takes five seconds.
- It depends on the automation firing. Automations are reliable but not guaranteed. If one does not run for any reason, nothing stops you.
- It knows only what you tell it. The check is only as good as your Today list. If you never add tasks, the app is always open.
None of this makes the trick useless. A bounce plus a message is real friction, and friction is often enough to break an automatic tap. It just will not survive a determined evening.
If the bounce is not enough, the complete guide to app blocking on iPhone compares every stronger option, making Screen Time stricter closes the built-in loopholes, and a to-do list that blocks apps explains how task-based locks work.
When a real blocker is better
If you have already switched the automation off once, you need a block that iOS enforces. Apps that use Apple's Screen Time API, such as Opal, one sec and Weeklane Task Lock, show a system block screen instead of the app and keep working when the blocker is closed. Task-based blockers do what the Shortcuts recipe is trying to do, without the gaps. Built-in Screen Time is a weaker fit here: on iOS 27, its limits for yourself apply to whole categories, not the single app your automation targets, and they end on the clock rather than when your list is done.
Weeklane Task Lock keeps the apps and websites you choose locked while today still has open tasks in your Weeklane list and unlocks them when the last one is checked off. Tasks with a time later today only lock from that time, there is an optional 15-minute break, and you have to open the planner to turn it off. Weeklane never sees which apps or sites you choose.
Frequently asked
Can Shortcuts block an app on iPhone?
Not truly. A Shortcuts automation can run when an app is opened and immediately send you somewhere else, but the app still opens first and the automation can be switched off without a passcode. To actually block one specific app, use a blocker built on Apple's Screen Time API; on iOS 27, built-in Screen Time limits only cover whole categories, not single apps.
How do I make a Shortcuts automation run without asking?
When you set up a personal automation with the App trigger, choose Run Immediately (on iOS 26 this is on the trigger screen). You can also turn off Notify When Run so it runs quietly. If the options look different on iOS 27, check the automation's settings after you create it.
Can a shortcut check whether my reminders are done?
Yes. The Find Reminders action can filter by list and by Is Not Completed. Add Count and an If action to do something only when open reminders remain.
Is there an app that blocks apps until my tasks are done?
Yes. Task-based blockers such as Weeklane Task Lock keep chosen apps locked while today has open tasks and unlock them when the list is done. Task Lock is on iPhone and iPad as part of Weeklane Pro.
Want a real lock instead of a bounce?
Weeklane Task Lock keeps chosen apps locked until today's tasks are done. iPhone and iPad; Weeklane Pro has a 7-day free trial.


Scan to download
Related guides
- App Blocking on iPhone: The Complete Guide (2026) — the complete guide to app blocking on iPhone, with every approach compared.
- How to Block Instagram Until Your To-Do List Is Done — the step-by-step setup with a real blocker.
- How to Make iPhone Screen Time Stricter (iOS 27 and iOS 26) — close the loopholes in Screen Time.
- How to Block Apps on iPhone: Screen Time, Focus and Task Lock — every built-in way to block an app on iPhone.
- A To-Do List That Blocks Apps Until Your Tasks Are Done — how task-based app blockers work.
- Guides