On iOS 18 and 26, open Settings, tap Screen Time, then Content & Privacy Restrictions and turn it on. Tap App Store, Media, Web, & Games, then Web Content, choose Limit Adult Websites and add the address under Never Allow. Then lock Screen Time with a passcode, ideally one someone else picks.
How to block a website on iPhone with Screen Time
These steps follow Apple's iPhone User Guide for iOS 18 and iOS 26 and work on your own iPhone, no Family Sharing needed. The same menus exist on iPad. If your iPhone runs iOS 27, read the next section first.
- Open Settings and tap Screen Time
- Tap Content & Privacy Restrictions, then turn on Content & Privacy RestrictionsNothing in this menu applies until that switch is on.
- Tap App Store, Media, Web, & Games, then tap Web ContentOn iOS 17 this menu was called Store, Web, Siri & Game Center Content.
- Select Limit Adult WebsitesThis turns on Apple's automatic adult filter and shows the Never Allow list underneath.
- Tap Add Website below Never Allow and enter the addressType the site you want gone, for example reddit.com. Repeat for every site, including mobile versions you actually use.
- Lock it with a Screen Time passcodeGo back to Screen Time, scroll down, tap Lock Screen Time Settings and enter a four-digit passcode twice. Without it, the block is two taps from gone.
Now open the site in Safari to check that it no longer loads. If you would rather allow a short list and block everything else, choose Only Approved Websites in Web Content instead of Limit Adult Websites. It is strict, so expect to add sites you need for work, banking and maps.
On iOS 27: what changed in Screen Time
Apple redesigned Screen Time in iOS 27. For your own iPhone, Settings > Screen Time now centers on Screen Time Schedule, Time Allowances and Manage Screen Time. Apple's iOS 27 guide for your own device covers Content & Privacy Restrictions for media (Content Restrictions), Other Features and Siri, but it no longer spells out the website list.
The detailed website controls, including Block Website, Limit Adult Websites and Approved Websites Only, are now documented for children's accounts under Settings > Family > [child's name] > Apps & Websites. For yourself, Apple's iOS 27 App Store page still lists App Store, Media, Web & Games under Settings > Screen Time > Content & Privacy Restrictions, so look for Web Content there first.
- The passcode moved: on iOS 27 it is Settings > Screen Time > Manage Screen Time > Lock Screen Time Settings.
- Time Allowances limit categories such as Social Media or Entertainment. Apple says that if an app declares an associated website, the allowance applies to both, so a limit on an app can also cover its site in Safari.
- Apple notes that the newest Screen Time features need iOS 27 or later on all your Apple devices.
How do I block a website in Safari?
Safari's own settings have no block list. On iPhone, blocking a site in Safari happens in Screen Time, with the steps above. Apple documents these website controls for Safari; it doesn't promise the same for every other browser or app.
That leaves gaps worth knowing before you rely on a block:
- Other browsers. If you have Chrome, Firefox or another browser installed, open the blocked site in each one. If any of them loads it, limit or delete that browser.
- Apps are not websites. Blocking reddit.com does nothing to the Reddit app, and the same goes for X, Instagram, TikTok, Discord or Telegram. Their feeds come from the app, not from a web page. Block the app as well: see how to block apps on iPhone.
- The adult filter is automatic. Limit Adult Websites catches a lot but not everything. Add anything it misses to Never Allow.
- The off switch. Anyone who knows the passcode can turn off Content & Privacy Restrictions, and the whole list pauses with it.
Why a Screen Time block is easy to undo
Screen Time was built for parents setting rules on a child's device. When you set the passcode for yourself, the person who makes the rule and the person who wants to break it are the same. At 1 a.m. you will remember four digits.
There is a second back door. When you set a passcode for yourself, iOS offers Screen Time Passcode Recovery: an Apple Account that can reset the passcode later. It protects you from being locked out, but if your own account goes there, you can also reset the passcode whenever you like.
Ask someone else to set the passcode
- Pick one person you trustA partner, friend or sibling. They don't need to know which sites, only that you want a lock you can't open alone.
- Hand them the phone at Lock Screen Time SettingsThey type the passcode twice. Don't watch, and don't let them use a code you could guess.
- Decide together about passcode recoveryWhoever controls the recovery account can reset the passcode. Settle this on purpose instead of tapping through it.
- Agree on how unlocking worksFor example: they unlock it to add a site you need for work, never late at night. Deciding this now saves an awkward request later.
Add a second layer: block websites at the DNS level
Screen Time decides inside the browser. A DNS filter works one step earlier: when any app asks where a blocked domain lives, the filter doesn't answer, so the page can't load. Apple's encrypted DNS support lets an app or a configuration profile set this for the whole system, and Apple says those settings apply to all apps and can cover both Wi-Fi and cellular.
- It works in every browser, which closes the other-browser gap.
- It blocks whole domains. It can't block one page or one subreddit while keeping the rest of the site.
- It has an off switch too. Installed profiles sit in Settings > General > VPN & Device Management, and deleting one removes its settings.
| Method | What it blocks | What it misses | How it gets switched off |
|---|---|---|---|
| Never Allow list | The sites you add, in Safari | The same site's app; browsers that don't apply it | Screen Time passcode |
| Limit Adult Websites | Adult sites Apple detects | Sites it doesn't detect | Screen Time passcode |
| Only Approved Websites | Every site not on your list | Apps that show content natively | Screen Time passcode |
| DNS filter (app or profile) | Whole domains in every app and browser | Single pages within an allowed site | Deleting the app or profile |
When blocking a website isn't enough
A block buys you a pause between the urge and the page. That pause is worth a lot, but it works best with a reason not to reach past it. People who keep reopening the same site usually do better with a plan for the moment the urge hits and a commitment they would rather keep, such as a promise to someone or a commitment contract.
If the site is a porn site, our guide to blocking porn on iPhone covers SafeSearch, other browsers and iPad in more detail. For a Mac, see how to block websites on Mac.
Commitment contractWrite a clear rule, an end date, a referee and what’s on the line. Sign it, print it, stick to it.Questions
How do I permanently block a website on iPhone?
Nothing on an iPhone is truly permanent, because whoever knows the Screen Time passcode can undo it. The closest you get is a Never Allow entry in Screen Time with a passcode someone else set, plus a DNS filter as a second layer.
How do I block a website in Safari?
Safari has no block list of its own. Use Screen Time: Content & Privacy Restrictions > App Store, Media, Web, & Games > Web Content > Limit Adult Websites, then Add Website under Never Allow (iOS 18 and 26).
How can I block a specific URL?
Add the address under Never Allow in Screen Time's Web Content settings. Adding the whole domain, such as example.com, is the more reliable choice, and you can repeat it for every site you want gone.
Why can I still open a site I blocked?
Usually one of three things: you opened it in another browser, in the site's own app, or Content & Privacy Restrictions got switched off. Test each browser you have, block the app too, and lock the settings with a passcode.
How do I block adult websites on iPhone?
In Web Content, select Limit Adult Websites. It filters adult sites automatically, and you can add any it misses under Never Allow. Our guide to blocking porn on iPhone adds SafeSearch and DNS filtering.
Related guides
- How to block porn on iPhone and iPad, and keep it blockedBlock porn on iPhone and iPad with Screen Time, SafeSearch and a DNS filter: steps for iOS 18, 26 and 27, the gaps people slip through, and how to close them.
- How to block apps on iPhone: limits, locks and blocks that holdBlock or lock any app on iPhone: App Limits, Downtime, iOS 27's Time Allowances, Face ID app locks, and how to stop yourself from simply reinstalling it.
- How to block a website on Mac: Safari, Chrome and every other browserBlock any website on a Mac: Screen Time for Safari, the hosts file and DNS filtering for Chrome and Firefox, parental controls, and what each method can't stop.
- Commitment contracts: how they work, what the research says and how to write oneWhat a commitment contract is, what the trials found, why losses motivate, and how to write one with a clear rule, a referee and an amount that matters.
Sources
- Apple iPhone User Guide (iOS 26): Block apps, app downloads, websites, and purchases on iPhone
- Apple iPhone User Guide (iOS 27): Block features or content with Screen Time on iPhone
- Apple iPhone User Guide (iOS 27): Create, change, or remove a Screen Time passcode on iPhone
- Apple iPhone User Guide (iOS 27): Change settings and restrictions in the App Store on iPhone
- Apple Devices for Kids and Families: Block or allow access to apps and websites on your child's device
- Apple Developer, WWDC20: Enable encrypted DNS
General information, not medical or psychological advice. If you’re struggling, talk to a doctor, a therapist or one of the helplines on our responsible use page.
