How to block websites on Google Chrome

Sameed Ahmad
By Sameed Ahmad, who builds Focus AI (so read the Focus AI parts with that in mind).
Updated December 2026

Google Chrome does not include a built-in website blocker on personal computers, so the fastest way to block websites on Chrome is installing a Chrome Web Store extension and enabling Allow in Incognito at chrome://extensions. If you want a free method with zero extensions, edit your computer's hosts file (/etc/hosts on Mac or C:\Windows\System32\drivers\etc\hosts on Windows) or configure Chrome's URLBlocklist enterprise policy on Windows Registry or macOS configuration profiles. For a child's supervised Chromebook or Android phone, Google Family Link blocks websites centrally from the parent's phone. Most standard Chrome extensions fail for two predictable reasons: either they block whole domains (killing helpful YouTube tutorials or Reddit answers) or they can be turned off in two clicks. Focus AI fixes both with task-aware AI sessions, an Always-On Site Blocker (3 sites free, unlimited Pro), Quit Wall strict mode, and Friend/Parent Passcode Lock. Focus AI is free for 3 AI focus sessions and up to 3 always-blocked sites.

Every working method on Google Chrome, compared

MethodScopeCostHard to undo?Best for
Focus AI (Chrome extension)Chrome (plus Edge, Brave, Firefox)Free (3 sessions + 3 sites) / ProHigh (Quit Wall + Passcode Lock)Deep work, ADHD, keeping tutorials open
List blocker extensionChrome onlyFree / FreemiumLow (2 clicks in extensions menu)Simple reminders for mild habits
Hosts file (127.0.0.1 + ::1)All desktop browsersFreeLow if you have admin passwordPermanent domain blocks without installs
Chrome URLBlocklist policyAll Chrome profiles on machineFree (needs admin)Medium (requires Registry/profile edit)Shared family or managed work PCs
Google Family LinkChild's Chrome on Chromebook/AndroidFreeHigh (parent account required)Parents blocking sites for kids

Method 1: Install a strict Chrome extension (fastest, 2 minutes)

  1. Open the Chrome Web Store and install Focus AI (or a list blocker such as LeechBlock NG or StayFocusd).
  2. Pin the extension icon to your Chrome toolbar so you can start sessions or manage your Always-On Site Blocker quickly.
  3. Open chrome://extensions in a new tab, click Details on the blocker, and turn on Allow in Incognito so private windows cannot bypass your block.
  4. For strict enforcement in Focus AI, enable Quit Wall strict mode or set a Friend/Parent Passcode Lock so you cannot disable blocked sites on impulse.

Method 2: Block websites in Chrome with Chrome Managed Policies (URLBlocklist)

  1. On Windows, open Registry Editor as Administrator and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome (create the Google and Chrome keys if missing).
  2. Create a subkey named URLBlocklist, then add String Values named 1, 2, 3 with domains such as instagram.com or reddit.com.
  3. On Mac, deploy a .mobileconfig profile setting the com.google.Chrome URLBlocklist array (typically used on managed Macs).
  4. Restart Chrome and visit chrome://policy to confirm URLBlocklist is active across normal and Incognito profiles.

Method 3: Edit your Mac or Windows hosts file (no extension)

  1. Generate a complete 127.0.0.1 and ::1 blocklist (including www and mobile subdomains) with our free Hosts File Website Blocker Generator.
  2. Paste the entries into /etc/hosts on Mac or C:\Windows\System32\drivers\etc\hosts on Windows.
  3. Flush DNS cache and check Chrome Settings > Privacy and security > Security > Use secure DNS if Chrome bypasses local hosts rules.
Using the hosts file on Mac or Windows? Skip manual typing and build a clean 127.0.0.1 + ::1 blocklist with our free Hosts File Website Blocker Generator →
Common bypasses on Google Chrome

Loopholes to close on Google Chrome

Three loopholes break Chrome blocks constantly: forgetting Allow in Incognito at chrome://extensions, Chrome's Secure DNS (DNS-over-HTTPS) silently bypassing your local hosts file, and switching to a second unguarded browser (Safari or Edge) installed on the same laptop. Close Incognito first, install Focus AI in every Chromium browser you keep, and use an OS-level tool like Cold Turkey if you switch browsers compulsively.

Interactive Demo · Zero Install

Try Focus AI live before you install

Pick or type a real work task, then test any URL to see what stays open and what gets blocked.

youtube.com/watch?v=nextjs-app-router-guide

This YouTube video matches your task "Building Next.js app", so Focus AI lets it play while keeping Shorts blocked.

ALLOWED
Session check log for “Building Next.js app”
Simulated client-side demo. In Chrome, Focus AI runs live on every tab during active sessions.Add Focus AI to Chrome
Privacy & pricing: Focus AI checks only the URL and brief page snippet during active sessions. Banking, login, email, and form inputs are skipped. Nothing is stored as browsing history or sold. Free for 3 AI focus sessions and up to 3 always-blocked sites, then $4.99/week, $14.99/month, or $79/year (save 56%).
FUTURE YOU IS WATCHINGLOCK IN

Block distractions on Chrome without breaking your work

Context-aware AI sessions, Always-On Site Blocker (3 sites free, unlimited Pro), and Friend/Parent Passcode Lock.

Add Focus AI to Chrome
Free for 3 AI focus sessions + 3 always-blocked sites · 30-second setup · No account needed

Frequently asked questions

Does Chrome have a native built-in website blocker?

No, not for ordinary personal profiles. Built-in Chrome blocking exists only through enterprise policies (URLBlocklist) or Google Family Link for supervised child accounts.

How do I stop Chrome Secure DNS from bypassing my hosts file?

Open chrome://settings/security, scroll to Use secure DNS, and toggle it off (or set it to use your OS provider) so Chrome respects /etc/hosts or the Windows hosts file.

Can I block websites on Chrome on iPhone or Android with extensions?

No. Mobile Chrome on iOS and Android does not support Chrome Web Store extensions. Use Apple Screen Time on iPhone or Private DNS / Family Link on Android.

Block websites on other devices & browsers