How to Block All Websites Except a Few on iPhone

Use Screen Time's allowlist. Go to Settings > Screen Time > Content & Privacy Restrictions, turn it on, then tap App Store, Media, Web & Games > Web Content and choose Allowed Websites. Delete the sites you do not need, tap Add Website for each site you want, and everything else will be blocked. It is always on, so if you only want strict focus during certain hours, a website blocker with schedules like BlockMind is easier to live with.

Last updated October 28, 2026

BlockMind

Quick answer

Blocklist vs allowlist: which do you need?

Most people block websites with a blocklist: you list the distracting websites and everything else stays open. That works until a new feed or news site takes their place. An allowlist flips it. You list the few sites you actually need, such as your email, a course platform or work tools, and the rest of the web is closed. It is the strictest option on iPhone, and it is useful for exam weeks, deep work sprints, or a phone you only want to use for a handful of things.

If you only need to shut a few sites, start with how to block websites on iPhone instead.

How to set up a website allowlist with Screen Time

  1. Open Settings and tap Screen Time. Turn it on if it is off.
  2. Set a Screen Time passcode so the restriction cannot be removed in one tap. For a stronger lock, let someone else choose it.
  3. Tap Content & Privacy Restrictions and switch it on.
  4. Tap App Store, Media, Web & Games, then Web Content.
  5. Choose Allowed Websites. On older iOS versions this may be called Allowed Websites Only.
  6. iOS adds a few sites to the list by default. Swipe left on any you do not want and delete them.
  7. Tap Add Website, enter a title and the address, for example mail.google.com or your school's learning site, and repeat for each site you need.

How to fix sites that break

Allowlists are strict, and modern websites often depend on more than one address. If a site on your list will not load or sign you in, these are the usual causes:

Build the list in one sitting: open each tool you use, note any blocked address, add it, and test again until your normal workflow runs without errors.

Test every browser and in-app browser

After setting it up, try a blocked site in Safari and in any other browser you have installed. Then tap a link inside a messaging or social app, since many apps open links in their own built-in browser. If something still gets through, block that app with an App Limit. Our guide on how to block apps on iPhone shows how.

Where the allowlist falls short

A more flexible option: a scheduled website blocker

For most people, the goal is not a phone that can only open five websites. It is a phone that cannot open the distracting ones when it matters. A blocker like BlockMind handles that with a blocklist that runs on your terms:

See the best app blocker for iPhone for a comparison, or how Strict Mode works.

Which setup should you use?

Your goalBest optionWhy
Only a few sites, all the timeScreen Time Allowed WebsitesFree and very strict
A short exam or deadline sprintAllowlist, switched off afterwardsRemoves every distraction for a set period
Block distracting websites during set hoursWebsite blocker on a scheduleNormal web stays open the rest of the day
Block websites and apps togetherApp blocker such as BlockMindOne block for both doors

A simple study routine with an allowlist

Before a study block, switch on the allowlist with only your course site, notes and email. Put the phone out of reach, work for a set period, then take a planned break. If you would rather not touch Settings every day, use a scheduled blocker instead. Our guide on how to stay focused while studying covers the full routine.

Related guides

Bottom line

To block every website except a few on iPhone, use Screen Time's Allowed Websites list and add each domain your tools need, including sign-in pages. It is free and strict, but it has no schedule and ignores apps. If you want distracting websites and apps blocked only when it matters, a website blocker like BlockMind is easier to keep using.

FAQ

Can I only allow certain websites on iPhone?

Yes. In Screen Time, open Content & Privacy Restrictions > App Store, Media, Web & Games > Web Content and choose Allowed Websites. Only the sites on that list will load.

Why does a site on my allowlist not work properly?

Some sites send you to a different address for sign-in or load key parts from other domains. Note the address that gets blocked and add it to the list too, then test again.

Does the allowlist work in Chrome and other browsers?

Screen Time web restrictions are designed to apply across the device, but test every browser and any app that opens links in its own browser. If one gets through, block that app with an App Limit.

Can I use an allowlist only during work hours?

Screen Time's allowlist has no schedule, so it stays on until you switch it off. For time-based blocking, a blocker like BlockMind can block distracting websites and apps only during the hours you choose.

BlockMind: block distracting websites & apps

Download on the App Store