Skip to content
Black Friday: 50% off lifetime Pro with code BRIGHTFRIDAYEnds Dec 15See prices

Guide

How to block websites on Chrome

Chrome has no setting that blocks a website on your own profile. Site settings can turn off a site's notifications, pop-ups or sound, but the site still opens. To block certain websites you need one of the tools below. They differ in who they cover, whether they can block part of a site, and how easy they are to undo.

The short answer

For a child's account, use Family Link. To lock down a whole computer, use a Chrome policy. To block distractions for yourself, use an extension: it can block a page or a path, follow a schedule and give you a daily allowance.

MethodCoversBlock part of a siteSchedules
Family LinkA child's supervised accountSites or domainsNo
Chrome policyEvery profile on the computerYesNo
Hosts fileEvery browser on the computerNoNo
Router or DNSEvery device on the networkNoDepends on the service
ExtensionOne Chrome profileUsuallyUsually

1. Family Link, for a child's account

If your child signs in to Chrome with a supervised Google Account, open the Family Link app, pick the child, then go to Controls, Google Chrome and Web. You can try to block explicit sites, allow only sites you approve, or add websites and domains to a blocked list. It works wherever the child is signed in to Chrome with that account. It is built for parents, not for blocking distractions on your own account.

2. A Chrome policy, for the whole computer

Chrome reads a list called URLBlocklist that IT teams use on managed computers. You can set it on your own machine too. Entries can be a domain such as reddit.com, which also covers its subdomains, or a path such as youtube.com/shorts. A matching page shows a hard error, and Chrome says it is managed by your organization.

It is strong because it applies to every profile and is a chore to undo. It has no schedule and no way through when you need a site for five minutes.

3. The hosts file, for every browser

The hosts file maps names to addresses before any DNS lookup. Point a site at nowhere and it won't load in any browser. Open it as an administrator (C:\Windows\System32\drivers\etc\hosts on Windows, /etc/hosts on macOS) and add lines like these:

0.0.0.0 reddit.com
0.0.0.0 www.reddit.com

There are no wildcards, so you list every subdomain yourself, and it can't block a path. Restart Chrome if the site still opens from cache.

4. Your router or a DNS service, for every device

Many routers have a site block list, and DNS services such as NextDNS let you add domains to a denylist. Set it on the router and it covers phones and laptops on that network. DNS only sees the domain, so it blocks all of YouTube or none of it, and it stops working the moment you join another Wi-Fi network unless the device itself is set up to use it.

5. An extension, for your own browsing

A blocking extension runs inside Chrome, so it sees the full address and can block a single path, run on a schedule and track time. It covers the Chrome profile it's installed in. Chrome turns extensions off in Incognito until you switch on Allow in Incognito on the extension's details page, so do that if you want no gap.

6. The focusmode way: a pause instead of a wall

focusmode is a website blocker extension that doesn't slam the door. When you open a blocked site, a calm pause covers the page for a few seconds and you choose: take a counted break or close the tab. Hard blocks tend to get switched off by Thursday. A pause catches the habit and leaves the decision with you.

Rules you can copy

RuleWhat it pauses
reddit.comreddit.com and www.reddit.com
*.reddit.comEvery subdomain too, such as old.reddit.com
youtube.com/shorts/*Only addresses under that path
!reddit.com/r/learnprogramming*An exception: let this through even when another rule in the group matches
*casino*Any address with that word in it

A group can also work the other way round: list the sites you need and everything else is paused while the group is on.

Set it up

  1. Add focusmode to Chrome. It's free and also installs in Edge, Brave and Arc.
  2. Open the popup and create a group, for example Social. Add one rule per line. You can also right-click any page and choose Add to focusmode Group.
  3. Pick when the group is on: always, on a schedule such as weekdays 9:00 to 17:30, or after a daily time limit.
  4. Pick the pause: a living shader, a texture field, hold to continue, slide, pixels, an instant stop, or a breathing exercise (Pro). Mix several and they rotate.
  5. Set how many breaks you get per day. When you need a site, take a break; it counts toward the limit.
  6. For a hard stop, turn on strict mode for 1, 5, 10 or 15 minutes. No breaks, and groups can't be switched off or edited until it ends.

Free includes one group with schedules, time limits and strict mode. Pro is a one-time payment for unlimited groups. Your sites and stats stay in your browser.

Block the sites that eat your day.

Free forever for one group. Lifetime Pro if you want more.

Add to Chrome, it's free

Guides for specific sites