How to block X (Twitter) on Chromebook

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

To block X (Twitter) on a Chromebook, your exact steps depend on whether the device is a personal Chromebook, a child's supervised Chromebook, or a school-managed Chromebook. Unlike Mac or Windows, standard ChromeOS does not allow editing /etc/hosts without Developer Mode, so Chrome extensions and Google Family Link are the real tools on ChromeOS. On a personal Chromebook, install Focus AI from the Chrome Web Store, enable Allow in Incognito at chrome://extensions, lock x.com with Always-On Site Blocker and Parent/Friend Passcode Lock, and disable Guest browsing in ChromeOS settings. On a child's supervised Chromebook, add x.com to Blocked Sites inside the parent's Google Family Link app and block any Play Store Android app version of X (Twitter). On school-managed Chromebooks, the school IT administrator controls URLBlocklist policies and extension permissions via Google Admin Console. Focus AI is free for 3 AI focus sessions and up to 3 always-blocked sites on personal Chromebooks.

1. Block X (Twitter) on a personal Chromebook with Focus AI

  1. Open the Chrome Web Store on your Chromebook and install Focus AI (free for 3 AI focus sessions and up to 3 always-blocked sites).
  2. Visit chrome://extensions, click Details on Focus AI, and turn on Allow in Incognito.
  3. Add x.com to Focus AI's Always-On Site Blocker and optionally lock settings behind Friend/Parent Passcode Lock on Pro.
  4. Critical ChromeOS step: sign in with the Chromebook Owner account, open Settings > Security and Privacy > Manage other people, and turn OFF Enable Guest browsing.

2. Block X (Twitter) on a child's Chromebook with Google Family Link (free)

  1. Open the Google Family Link app on the parent's phone (or families.google.com) and select the child's supervised account.
  2. Go to Controls > Content restrictions > Google Chrome > Manage sites > Blocked and add x.com.
  3. If the Chromebook has Google Play Store enabled, also block the Android X (Twitter) app under App limits.
  4. Under Signed-in devices, disable Guest Mode and adding new user accounts on the Chromebook.

3. School-managed Chromebooks (Google Admin Console)

  1. Check chrome://management to see if the Chromebook is managed by a school district.
  2. On managed devices, administrators enforce URLBlocklist centrally in Google Admin Console (Devices > Chrome > Settings > URL blocking); contact your school IT admin if a distracting site is unblocked.

Exact X (Twitter) domains & subdomains (for Family Link & blockers)

Because X migrated from twitter.com to x.com while maintaining redirects and t.co link wrappers, half the manual lists online miss one of the domains. Blocking all 7 hostnames (x.com, www.x.com, mobile.x.com, twitter.com, www.twitter.com, mobile.twitter.com, t.co) in IPv4 and IPv6 closes the redirect leak.

x.comwww.x.commobile.x.comtwitter.comwww.twitter.commobile.twitter.comt.co
Interactive Demo · Zero Install

Try Focus AI live against X (Twitter)

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

x.com

X (Twitter) (social feed) does not serve "Building Next.js app".

BLOCKED
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
Chromebook loopholes & reality check

What breaks X (Twitter) blocks on Chromebook

The #1 Chromebook loophole for X (Twitter) is Guest Mode on the ChromeOS sign-in screen: signing out and clicking "Browse as Guest" opens Chrome with zero extensions loaded. Always turn OFF "Enable Guest browsing" and turn ON "Restrict sign-in to specific users" under ChromeOS Settings > Security and Privacy > Manage other people.

X is the easiest feed for founders, engineers, and knowledge workers to disguise as 'staying informed.' The For You algorithm elevates outrage and hot takes because arguments drive replies, turning a 90-second industry check into 45 minutes of fragmented attention.

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 X (Twitter) on Chromebook and keep it blocked

Start free with 3 AI focus sessions and up to 3 always-blocked sites. Upgrade anytime for Friend/Parent Passcode Lock and unlimited protection.

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

Frequently asked questions

Can I edit the hosts file on a Chromebook to block X (Twitter)?

No. ChromeOS keeps the system partition read-only for security, so /etc/hosts cannot be edited without enabling Developer Mode (which powerwashes the device). Use Focus AI or Google Family Link instead.

How do I stop Chromebook Guest Mode from bypassing my X (Twitter) block?

Sign into the Chromebook Owner account, open Settings > Security and Privacy > Manage other people, disable Enable Guest browsing, and restrict sign-in to approved accounts only.

Does Focus AI work on a school-managed Chromebook?

Only if your school IT administrator allows Chrome Web Store extensions. On personal Chromebooks, Focus AI installs and runs identically to desktop Chrome.

More ways to block X (Twitter) & Chromebook guides