You already know late-night phone use wrecks your sleep. You've probably tried willpower. It didn't work. That's why Apple built Screen Time — and with the right configuration, it can actually prevent you from opening Instagram at 1 a.m. even when you really want to.
This guide walks you through every relevant Screen Time setting, explains what each one does, and tells you where the gaps are so you can decide whether the built-in tools are enough for your situation.
What Screen Time Can (and Can't) Do
Screen Time is a suite of parental controls and self-regulation tools built into iOS. For blocking apps at night, two features matter most: Downtime and App Limits. Both can be locked behind a passcode so you can't easily undo them at 11 p.m.
The honest caveat: Screen Time was designed primarily for parental controls. When you use it on yourself, you are both the rule-setter and the person breaking the rules. Apple gives you a one-tap "Ignore Limit" or "One More Minute" button that bypasses restrictions instantly. If you're disciplined enough to never tap that button, the built-in tools will serve you well. If you're not — and most people aren't — you'll need an extra layer.
Step 1: Enable Screen Time and Set a Passcode
Before anything else, Screen Time needs to be active and protected.
- Open Settings on your iPhone.
- Tap Screen Time.
- Tap Turn On Screen Time, then tap This is My iPhone.
- Scroll down and tap Use Screen Time Passcode.
- Enter a four-digit code — ideally one you won't remember easily under pressure, or one you've asked a partner to set for you.
The passcode is critical. Without it, every limit you set can be removed in about ten seconds. If you're setting this up solo, consider using a random number, writing it down somewhere inconvenient (like a notes app inside a folder), and then forgetting about it. Friction is your friend here.
Step 2: Set Up Downtime
Downtime is the closest thing iOS has to a full bedtime block. During the Downtime window, only apps you explicitly allow — and phone calls — remain accessible. Everything else shows a locked icon with a small hourglass.
How to configure Downtime
- Inside Screen Time, tap Downtime.
- Toggle Downtime on.
- Choose Every Day for a consistent schedule, or Customize Days if your weekends look different.
- Set your From time — this is when the block kicks in. A good starting point is 30 minutes before you want to be asleep.
- Set your To time — when apps unlock in the morning.
A realistic schedule for most people looks something like 10:30 PM to 7:00 AM. Adjust based on your actual sleep window, not your aspirational one.
The "Always Allowed" list
Downtime doesn't block everything. Go back to the main Screen Time screen and tap Always Allowed. By default, Phone is on this list. You can add apps that you genuinely need overnight — a white noise app, a sleep tracker, an alarm — without punching holes in your block for social media or email.
Keep this list as short as possible. Every app you add is a potential rabbit hole at 2 a.m.
Step 3: Add App Limits as a Backup Layer
Downtime handles the overnight window. App Limits let you set daily time caps on specific apps or categories, which creates a secondary barrier earlier in the evening before Downtime even activates.
How to set App Limits
- In Screen Time, tap App Limits.
- Tap Add Limit.
- Select a category — Social Networking, Entertainment, and Creativity are the usual culprits — or drill down to individual apps.
- Set a daily time allowance. Even something generous like two hours creates an end-of-day wall that prompts you to stop.
- Tap Add, then make sure Block at End of Limit is toggled on.
The combination of App Limits and Downtime means apps can get blocked twice: first when you hit your daily cap, then again at your scheduled bedtime. That's a more robust setup than either setting alone.
Step 4: Enable Communication Limits (Optional but Useful)
If notifications and messages are what keep you awake, not just app usage, go into Communication Limits inside Screen Time. You can restrict who can contact you during Downtime to Contacts Only or Specific Contacts. This doesn't block Messages entirely but it filters out group chats, unknown numbers, and app-based notifications that arrive as messages.
Pair this with Focus Modes — specifically Sleep Focus — to silence notifications at the lock screen level. Screen Time and Focus Modes work independently, so running both gives you app blocking and notification suppression at the same time.
Step 5: Use Screen Distance and Content Restrictions
Two smaller features worth enabling:
- Screen Distance (under Screen Time) uses the front-facing camera to detect if you're holding the phone too close and shows a reminder. It's a minor nudge but one more interrupt in a late-night scroll session.
- Content & Privacy Restrictions let you prevent apps from being downloaded or deleted, which closes the loophole of simply installing a different browser or app that isn't covered by your limits.
Where Built-In Screen Time Falls Short
After all that configuration, here's the problem that remains: Apple intentionally makes it easy to override your own restrictions. When a limit hits, you see options for "Ignore Limit for Today," "One More Minute," or "Remind Me in 15 Minutes." None of these require your Screen Time passcode.
The override is one tap away, always. And at 11:30 p.m. when you're tired and your inhibitions are low, one tap is all it takes to unravel a week of good habits.
This is the gap that third-party tools are designed to fill. Sleep Lock is an iOS app built specifically for this scenario. It uses Apple's Screen Time APIs to enforce a locked sleep window — the key difference being that the block genuinely can't be bypassed during the scheduled period, not without going through a deliberate multi-step process that's hard to do impulsively at midnight. It works entirely on-device, requires no account, and doesn't track your usage or send data anywhere.
If you find that the native Screen Time setup above isn't holding — if you're tapping "Ignore Limit" more nights than not — it's worth trying a purpose-built solution rather than continuing to rely on willpower against a one-tap escape hatch.
Common Mistakes That Undermine Your Setup
Setting Downtime too late
If your actual problem is scrolling from 9 PM to midnight, setting Downtime to start at 11:30 PM doesn't address most of your exposure. Start the window at least an hour before you want to sleep, not at the moment you want to be unconscious.
Leaving too many apps in Always Allowed
Safari in Always Allowed means you have full internet access during Downtime. YouTube in Always Allowed makes the block nearly meaningless. Audit this list honestly.
Not protecting the passcode properly
If you know your own Screen Time passcode, you'll use it when you're tired and want to disable limits. If you can't remember it easily, you won't. That asymmetry is the entire point of the passcode system.
Expecting the system to work without testing it
Set everything up, then test it the same evening. Open a blocked app and see exactly what the override experience looks like. Knowing what stands between you and unrestricted access helps you mentally prepare — and decide whether the friction is sufficient.
Putting It All Together
A complete nighttime blocking setup on iPhone looks like this:
- Screen Time enabled with a passcode you don't have memorized
- Downtime scheduled for your actual sleep window, starting 30–60 minutes before bed
- Always Allowed list trimmed to essential apps only
- App Limits set on your highest-risk categories with Block at End of Limit turned on
- Sleep Focus mode active to suppress notifications
- Communication Limits filtered to contacts only during Downtime
That's a meaningful barrier. It won't stop someone determined to get around it, but it will stop the passive, half-asleep, habitual scrolling that causes most sleep disruption.
Actionable takeaway: Open Screen Time right now and configure Downtime for tonight. Set the start time to 30 minutes before you want to be asleep, set a passcode you'll have to look up if you want to change it, and remove everything from Always Allowed except your alarm app. Do it before you go to bed tonight — not tomorrow.