FREE SEO AUDIT · See exactly where your backlink profile stands in 48 hours

Get my audit →
How-to

How to Block a Website on Chrome, Safari, iPhone and Android

Whether you want to stop yourself scrolling social media at work or keep certain sites away from a child's device, learning how to block a website takes only a few minutes. The right method depends on the device and on whether you want to block a site in one browser, on one device or across your whole home network. This guide covers each option with step-by-step instructions.

Infographic: How to Block a Website on Chrome, Safari, iPhone and Android – Use built-in settings first; Extensions work per browser; Router blocking covers every device
Key points from this guide

Menus change between software versions, so if a label differs slightly on your device, look for the closest match.

Choose the Right Method

GoalBest method
Block distractions in one browserBrowser extension
Block sites on an iPhone or iPadScreen Time content restrictions
Block sites on a child's Android phoneGoogle Family Link
Block sites on a MacScreen Time in System Settings
Block sites on a Windows PCMicrosoft Family Safety or the hosts file
Block sites on every device at homeRouter settings or a filtering DNS service

How to Block a Website on Chrome

Chrome does not include a simple built-in website blocker for personal accounts, so most people use an extension.

  1. Open the Chrome Web Store and search for a website blocker extension, such as BlockSite or a similar well-reviewed tool.
  2. Click Add to Chrome and confirm.
  3. Open the extension's settings and add the website addresses you want to block.
  4. Optional: set a schedule, for example blocking social media during work hours.

Check the permissions an extension requests and choose one with many users and recent updates. For children's accounts, Google Family Link can manage Chrome sites centrally. Work devices managed by an employer may have their own admin controls.

Diagram of the 6 main steps in this guide: Choose the Right Method; How to Block a Website on Chrome; How to Block a Website on Safari (Mac); How to Block a Website on iPhone or iPad; How to Block a Website on Android; How to Block a Website on Windows
The 6 parts of this guide at a glance

How to Block a Website on Safari (Mac)

  1. Open System Settings and choose Screen Time.
  2. Turn Screen Time on if needed.
  3. Open Content & Privacy and turn it on.
  4. Select Store Restrictions or App Store, Media, Web & Games, then the web content option, and choose Limit Adult Websites.
  5. Add specific sites under the restricted or blocked list.

Screen Time restrictions apply to Safari and to other browsers on the Mac in many cases, which makes them harder to bypass than an extension.

How to Block a Website on iPhone or iPad

  1. Open Settings and tap Screen Time.
  2. Tap Content & Privacy Restrictions and turn it on.
  3. Tap App Store, Media, Web & Games (or Content Restrictions), then Web Content.
  4. Choose Limit Adult Websites.
  5. Under Never Allow, tap Add Website and enter the address.

Set a Screen Time passcode so the restriction cannot be removed easily. For a child's iPhone, set this up through Family Sharing from your own device.

How to Block a Website on Android

For a child's device: Google Family Link

  1. Install Google Family Link on your phone and link your child's Google account.
  2. Select your child, then Controls, then Content restrictions, then Google Chrome.
  3. Choose Try to block explicit sites or Only allow approved sites.
  4. Add specific sites under Blocked sites.

For your own phone

Use Digital Wellbeing to set app timers for browsers or install a reputable blocker app. Some Android phones also include website filters in their built-in security apps.

How to Block a Website on Windows

Microsoft Family Safety

For child accounts, Microsoft Family Safety lets parents block specific websites in Microsoft Edge and filter inappropriate content.

The hosts file (advanced)

  1. Open Notepad as administrator.
  2. Open C:\Windows\System32\drivers\etc\hosts.
  3. Add a line such as 127.0.0.1 www.example.com and another for example.com.
  4. Save the file and restart your browser.

This blocks the site in every browser on that computer. Be careful editing system files, and keep a copy of the original.

How to Block a Website on Your Whole Network

Most home routers have parental controls or URL filtering in their admin panel. Log in to the router (the address and default login are usually on a sticker on the device), find Parental Controls, Access Control or URL Filtering and add the sites. Alternatively, use a filtering DNS service that blocks categories of sites for every device on the network.

Network blocking covers phones, tablets, laptops and smart TVs at once, but it does not apply when devices use mobile data or a VPN.

How to Block Websites for Productivity

  • Use scheduled blocking during focus hours rather than permanent blocks.
  • Block the specific feeds that distract you, not every useful site.
  • Combine blocking with other habits from our productivity tips.

Frequently Asked Questions

Can I block a website without an app?

Yes. Screen Time on Apple devices, the hosts file on Windows and Mac, and router settings all work without installing extra software.

Why is a blocked site still opening?

Common reasons include a different browser, a cached page, a VPN, mobile data instead of Wi-Fi or a missing variant of the address (with and without "www").

Can I block a website only during certain hours?

Many blocker extensions and apps support schedules, and Screen Time supports downtime schedules on Apple devices.

How do I unblock a website?

Remove it from the list in the same tool you used to block it, then clear your browser cache if it still does not load.

Summary

For one browser, use an extension. For one device, use built-in controls like Screen Time or Family Link. For every device at home, use your router or a filtering DNS. Pick the method that matches your goal and set a passcode if you need the block to stick.

Running a website or online business?

Our team plans and builds links around the pages that matter to your revenue.

Talk to a strategist

Keep Reading