Guide

How to block websites on a Chromebook

A Chromebook is locked down in ways a Windows PC or a Mac isn't, so the usual free tricks don't work. Here's what does, depending on whose Chromebook it is.

Why the hosts file is out

On Windows and Mac, the free way to block a site is the hosts file. ChromeOS keeps its system files locked, and the only way in is developer mode, which wipes the Chromebook and turns off protections you want. It isn't worth it to block YouTube.

1. Your own Chromebook: a Chrome extension

Chromebooks run Chrome Web Store extensions, so a blocker extension is the way to go. Onus works differently from most: Onus seals the sites until you've worked for them: every 25 minutes on your work sites buys 10 minutes back, the bank holds up to 2 hours, and it resets at midnight. Your site lists, bank and browsing stay on the Chromebook.

Add to ChromeOnus for WindowsHow Onus works

Other extensions that work on ChromeOS include LeechBlock NG (free, with up to 30 block sets), StayFocusd (a daily time allowance) and BlockSite. Freedom also runs on Chromebook: Blocking sessions you start, schedule or repeat through the week. Outside a session, nothing is blocked. See the best website blockers for Chrome to compare them.

2. A child's Chromebook: Family Link

With your child's Google account supervised in Family Link, you can block particular sites, or allow only sites you approve, in Chrome on their Chromebook. It's built for parents, not for blocking your own sites.

3. A school or work Chromebook: the admin console

Managed Chromebooks get their block list from the Google Admin console, using the same URLBlocklist policy Chrome uses everywhere. If you're the admin, set it there. If you're not, you can't change it on the device.

Make the block hold

Extensions are easy to switch off, and on a Chromebook there's nothing underneath to stop you. Onus makes switching off slower on purpose: a 10-minute wait to unseal a site, strictness levels, sealed hours, and a partner who gets an email if you loosen the seal or remove Onus.

Blocking a particular site? See how to block a website on Chrome, with guides for 15 sites.

Freedom details from freedom.to/premium, checked 8 November 2026. Trademarks belong to their owners, and Onus isn't affiliated with any of them.

Questions

Can I edit the hosts file on a Chromebook?

Not normally. ChromeOS keeps its system files locked, and getting at them means turning on developer mode, which wipes the Chromebook and weakens its security. Use an extension instead.

How do I block a website on my child's Chromebook?

Use Family Link. With your child's Google account supervised, you can block sites, or allow only the sites you approve, in Chrome on their Chromebook.

Why can't I change the blocked sites on my school Chromebook?

A school or work Chromebook is managed: the administrator sets the block list in the Google Admin console, and it can't be changed on the device.

Do website blocker extensions work on a Chromebook?

Yes. Chromebooks run Chrome extensions from the Chrome Web Store, so Onus, LeechBlock NG, StayFocusd and BlockSite all work there.

More: YouTube blocker · Reddit blocker · Blocker for studying · Onus vs Cold Turkey · Onus vs StayFocusd · Onus vs LeechBlock · How to stop watching YouTube · How to stop doomscrolling · Onus vs Freedom · Onus vs BlockSite · Opal alternative for computers · How to block YouTube Shorts · Blocker for ADHD · Block sites during work hours · Blocker for employees · Stop procrastinating · How to block TikTok · Block Instagram on Android · Push-up app blocker · Block YouTube on Android · Block Snapchat on Android · App blocker for Android · Use your phone less · Screen time calculator · Block a website on Chrome · Block a website on Edge · Best website blockers for Chrome · SelfControl for Windows · Block websites on a Mac · The research behind Onus · Cold Turkey vs Freedom · LeechBlock vs StayFocusd · BlockSite vs StayFocusd · Freedom vs Opal · Cold Turkey vs LeechBlock · Press kit · Block websites on Windows · Block apps on Windows · Block games on a PC · Block websites on Android · Limit time on websites · Blocker with a timer · Pomodoro website blocker · Block websites at night · Stop binge-watching · Quit Reddit · All guides