You open Safari to check one thing. Forty minutes later you're three articles deep into something that doesn't matter, it's past midnight, and your alarm is set for 6am. Sound familiar?
Web browsing is one of the hardest phone habits to break at night because it feels productive. You're reading, researching, catching up. But your brain doesn't care about the content — the stimulation, the blue light, and the variable-reward pattern of clicking through links all signal wakefulness at exactly the wrong time.
This guide covers exactly how to block Safari and Chrome on iPhone at night, using both built-in iOS tools and a dedicated app. No vague suggestions — just step-by-step instructions you can follow right now.
Why Web Browsing Before Bed Is Especially Disruptive
Most people know that screens before bed aren't great. But browsers are worse than passive apps like podcasts or audiobooks for a specific reason: they require active decision-making. Every link is a choice. Every search is a new rabbit hole. That cognitive engagement keeps your prefrontal cortex running hot when it should be winding down.
There's also the infinite scroll problem. Social feeds are designed to end — you'll eventually run out of new posts. Web browsing genuinely never ends. There is always another article, another forum thread, another product page to read.
If you've already tried setting a phone bedtime by willpower alone and it hasn't worked, you're not failing — you're just fighting against systems designed to keep you engaged. The fix is to remove the option entirely during the hours that matter. How to Stop Using Your Phone in Bed When Willpower Alone Keeps Failing goes deeper on this if you want the psychology behind it.
Method 1: Use Apple's Built-In Screen Time to Block Safari
Apple's Screen Time feature has a dedicated way to block Safari completely. It's free and built into every iPhone. The limitation is that it only works natively with Safari — Chrome and other third-party browsers require a different approach (covered below).
How to Block Safari Using App Limits
- Open Settings and tap Screen Time.
- If you haven't set up Screen Time yet, tap Turn On Screen Time and follow the prompts.
- Tap App Limits, then Add Limit.
- Select the Safari app (you'll find it under the default apps section).
- Set the daily limit to a very small number — like 1 minute — and tap Add.
- Tap the limit you just created, then enable Block at End of Limit.
- Set the time to trigger at your desired bedtime by adjusting your usage to intentionally hit the limit before then, or use the Downtime method below for scheduled blocking.
How to Block Safari on a Schedule Using Downtime
Downtime is more reliable for nightly blocking because it runs on a fixed schedule rather than depending on usage.
- In Settings → Screen Time, tap Downtime.
- Toggle it on and set your start time (e.g., 10:00 PM) and end time (e.g., 7:00 AM).
- Tap Always Allowed and make sure Safari is not in the always-allowed list.
- Back in Screen Time, tap Communication Limits if you want to also restrict who you can contact during Downtime.
During Downtime, Safari will appear grayed out on your home screen and won't open. The app icon stays visible but tapping it does nothing — unless you enter your Screen Time passcode to override it.
The Override Problem
Here's the catch: if you set your own Screen Time passcode, you can override it. At 1am when you really want to read something, you will remember that passcode. The solution is to have someone else set it — a partner, a family member, or a friend — and not tell you what it is. It sounds extreme, but it works.
Method 2: Block Chrome and Other Third-Party Browsers
Screen Time's Downtime feature blocks all non-essential apps by default, which means Chrome, Firefox, DuckDuckGo, and any other browser you've installed will also be blocked during your Downtime window — as long as they're not in your Always Allowed list.
To make sure third-party browsers are blocked:
- Go to Settings → Screen Time → Always Allowed.
- Scroll through the list and remove Chrome, Firefox, or any other browser apps by tapping the red minus icon.
- Only keep apps in Always Allowed that you genuinely need during the night — like a phone app or a health app.
With this setup, when Downtime starts, every browser on your phone goes dark at the same time.
Method 3: Use Sleep Lock for Automatic Nightly Blocking
If the Screen Time setup feels fiddly, or if you want something that runs automatically without configuration every night, Sleep Lock is built specifically for this use case.
Sleep Lock lets you set a sleep window — say, 10 PM to 7 AM — and it automatically restricts access to whichever apps you choose using Apple's Screen Time APIs. Safari, Chrome, and any other browser you select will be blocked for the entire window without you having to do anything each night.
There's no account to create, no data sent anywhere, and everything runs locally on your device. You set it once and it runs on its own.
The key difference from doing it manually in Screen Time is convenience and consistency. Manual Screen Time setups are easy to skip or adjust when you're tired and rationalize that tonight is an exception. An automated schedule removes that moment of negotiation entirely.
How to Handle the "What If I Need to Look Something Up" Problem
This is the most common objection to blocking browsers at night, and it's worth addressing directly. The honest answer is: almost nothing you want to look up after 10 PM actually needs to happen at 10 PM.
That said, here are a few practical workarounds:
- Keep a notes app in your Always Allowed list. When you think of something you want to search, write it down in Notes to look up tomorrow. This preserves the thought without opening a browser.
- Allow emergency calls and messaging. Screen Time Downtime lets phone calls and messages through by default, so you're not cut off from real emergencies.
- Use a dedicated reading app instead. If you genuinely want to read before sleep, a Kindle or audiobook app can be whitelisted. The key difference is that a book doesn't have outbound links.
What About YouTube and Social Apps?
Blocking browsers at night is a great start, but most people find that other apps quickly fill the gap. If you close Safari and immediately open YouTube or Reddit, you haven't really solved the problem.
The same Screen Time and Sleep Lock methods described here work equally well for other apps. If YouTube Shorts is a problem at night, How to Block YouTube Shorts on iPhone at Night covers that specifically. And if you find yourself falling into Reddit threads instead of browser rabbit holes, How to Block Reddit on iPhone at Night walks through the same process for that app.
The most effective approach is to block the whole category of stimulating apps during your sleep window — not just one at a time.
Recommended Nightly Setup
Here's a simple configuration that works well for most people:
- Downtime start: 30 to 60 minutes before your target sleep time
- Downtime end: Your normal wake time or slightly after
- Always Allowed apps: Phone, Messages, Clock, and any health or sleep tracking app you use
- Everything else blocked: Safari, Chrome, YouTube, Reddit, social apps
- Passcode: Set by someone else, or use Sleep Lock's scheduled blocking so there's nothing to override manually
The goal isn't to lock yourself out of your phone completely. It's to make the specific behavior — opening a browser in bed — impossible without a deliberate effort that wakes you up enough to reconsider.
Start Tonight
Pick one method from this guide and set it up before you go to bed tonight. Don't wait until you've tested every option. The best setup is the one that's actually running.
If you want the simplest path: open Screen Time right now, turn on Downtime starting at your usual bedtime, make sure Safari and Chrome aren't in Always Allowed, and have someone else set your passcode. That's it. You've blocked web browsing at night in under five minutes — no app required, no account needed, just fewer decisions to regret at midnight.