Productivity3 min read

How to Block Websites on Chrome (and Make the Block Stick)

Chrome has no built-in blocker for personal accounts. When to use Family Link, the hosts file or an extension, and why daily limits beat permanent blocks.

By Iliass El Barhoumi

Disclosure: I build Aware Pro, the extension this post features. The advice stands on its own; the tool is just how I put it into practice.

Aware Pro
How to Block Websites on Chrome (and Make the Block Stick)

Chrome has no built-in website blocker for personal accounts. Its block settings exist only for supervised child accounts (Family Link) and for computers managed by a school or company. On your own computer, use a blocking extension, or the hosts file for a hard block that covers every browser. For distraction rather than safety, a daily time limit usually works better than a permanent block; Aware Pro, the screen time tracker I build, does both: it shows where your time goes and puts a block page up when a site's time is used up.

Which Kind of Block Do You Need?

Ways to block websites in Chrome
MethodBest forCoversEasy to undo
Family LinkA child's supervised accountChrome on that accountOnly by the parent
Chrome policy (URLBlocklist)School and work computersManaged ChromeOnly by the administrator
Hosts fileA hard block on your own computerEvery browser on the computerNeeds admin rights
Blocking extensionYour own focus and habitsChromeYes, by design

Block a Site With the Hosts File

The hosts file maps site names to addresses before any browser sees them. Point a site at 0.0.0.0 and it stops loading everywhere on that computer. On Windows, open Notepad as administrator and edit C:\Windows\System32\drivers\etc\hosts; on a Mac, run sudo nano /etc/hosts in Terminal. Add a line for each address, including the www version, save, and restart the browser.

0.0.0.0 reddit.com
0.0.0.0 www.reddit.com

It is blunt: there is no schedule, no allowance, and the block is only as strong as your willingness to open the file again.

Block With Limits, Not Walls

Most people who want to block a site do not want it gone; they want it to stop eating the afternoon. A permanent block on YouTube also blocks the tutorial you need for work. A daily allowance keeps the useful part: 20 minutes of YouTube, then a block page until tomorrow.

That is how Aware Pro works. It tracks your time on every site automatically, so you start with the real numbers, not a guess. Set a daily time limit on any site and a block page takes its place when the time is up. Strict mode locks your limits for 24 hours so you can't undo them in a weak moment, category budgets cover a whole group like Social or Video at once, and timed focus sessions keep you on task for a set stretch.

  • Free: automatic tracking, the Today and Week views, and one site limit
  • Pro, $2.99 a month or $9.99 once: more site limits, category budgets, Strict mode and focus sounds
  • Every new install gets a 7-day Pro trial
  • Your browsing data stays on your device; there is no account and no cloud sync

Make the Block Stick

  • Start from data: block or limit the three sites that take the most time, not the ones you feel guilty about
  • Turn on "Allow in Incognito" for your blocker in chrome://extensions, or incognito becomes the way around it
  • Lock limits for the day (Strict mode in Aware Pro) rather than relying on willpower at 3pm
  • Log out of those sites in your work profile, so even an allowed visit takes effort

Blocking for Children

For a child's account, use Google's Family Link rather than an extension: parents manage the allowed and blocked sites, and the child cannot remove the setting. A browser extension is a tool you choose for yourself, not a parental control.

The Short Version

For a child, use Family Link; for a hard block on your own computer, the hosts file. For your own focus, track first, then set daily limits on the few sites that take the most time, and lock them for the day.

Try Aware ProScreen time tracker & site blocker for Chrome
Add to Chrome

More from the blog

All posts →