How to Block or Limit X (Twitter) on Chrome
Last updated:

Quick answer
Chrome has no built-in website blocker or per-site time limit. Install SiteKeeper, add x.com for X (formerly Twitter), and set a daily limit of 0 hours and 0 minutes to block it, or 30 minutes to cap it.
Without an extension, Family Link on a supervised account, Chrome's URLBlocklist policy, the hosts file, or router and DNS filtering can block X. None of them is a daily minute budget in ordinary Chrome.
Limit or block X with SiteKeeper
SiteKeeper sets that budget on x.com in desktop Chrome. It is privacy-first; we never sell or share your data. It is a Chrome extension only: limits and history do not sync, and there is no phone app.
Set a daily limit, for example 30 minutes
Do this from the popup on x.com. The same controls take any other daily cap.
1Install SiteKeeper in Chrome
Install SiteKeeper from the Chrome Web Store. The toolbar badge then shows today's minutes for the site in the active tab.
2Open the popup on x.com
Go to
x.comand click the SiteKeeper icon. The popup shows the hostname of this tab, today's time on that hostname, and a Set Limit button. Confirm it readsx.combefore you save.
The popup on x.com shows today's time (demo data) and Set Limit. 3Turn on Limit Web Time and set 30 minutes
Click Set Limit and turn Limit Web Time on. Set 0 hours and 30 minutes, or choose the 30m preset. The other daily presets are 10m, 1h, 2h, and 3h. Hours run from 0 to 23 and minutes from 0 to 59.

Limit Web Time is on for x.com, with the 30-minute daily preset selected. 4Click Save Changes
Click Save Changes. The popup stores the limit for the hostname of the tab, which is
x.com. On the options page (Settings, Limited Sites, Add Site, Enter Custom Website), typex.com. The hint says to leave off http:// and www, and for X that is right. Awww.x.comortwitter.comrow never fires.When today's time on
x.comreaches the limit, this tab and later top-level visits open the block page. The counter resets at local midnight.
Block X completely with a 0-minute limit
There is no separate always-block list. A daily limit of 0 hours and 0 minutes is the block.
1Turn Limit Web Time on for x.com
Use the same popup, still on
x.com. Turning the switch off removes the limit. It does not keep X closed.2Leave the daily fields at 0 and 0
Leave both daily fields at 0, with no preset selected, and click Save Changes. With the switch on, the daily budget is zero seconds.
3Open x.com once
Open
x.comonce. Zero seconds already meets a zero-second limit, so the block starts on that visit. The site can show for about a second, then Chrome redirects to the block page. Later visits go straight to the block page, including on later days, because each day still starts at 0 seconds.
Add a weekly limit
A weekly limit is optional and free, on the same screen as the daily limit. Hours run from 0 to 168, plus minutes. Presets are 3h, 7h, 14h, 21h, and 28h. The week is Monday through Sunday. x.com blocks when that week's time hits the cap, even if today is still under the daily limit. One hostname uses one of six free sites whether you set daily, weekly, or both. Pro removes the cap.
Block X during work hours
Open Advanced Settings (Time Windows) from the popup, or edit the site on the options page. Pick Workdays, Weekends, or All, then a start and an end on the same day. A window cannot cross midnight, so 9:00 PM to 1:00 AM is two windows.
A window limit counts only time inside that window. Set it to 0 hours and 0 minutes to block X for the whole span, such as Monday to Friday, 9:00 AM to 5:00 PM. Outside the window, the daily and weekly limits still apply. A window with no limit of its own does not block X by itself.
What you see when time runs out
The page is titled Time's Up. It names x.com and the reason (daily, weekly, or time window) and shows time used against the limit, including weekly numbers when a weekly limit is set. Extend Session is +5m, +15m, +30m, and +1h. Add Time & Unblock adds that amount to the saved limit that ran out. A 30-minute cap plus 15 stays 45 until you lower it.
Continue to Website stays disabled until the cap is no longer exceeded. Show Usage History is 7 days. You can turn the limit off or disable the extension. There is no password. For a child, use Family Link or the Chrome policy below.

x.com hostnames, DMs, and what the limit covers
The limit matches one exact hostname. For X, that hostname is x.com, with no www.
Old links already land on x.com
twitter.com, www.twitter.com, and mobile.twitter.com redirect to x.com and keep the path, so twitter.com/home opens as x.com/home. www.x.com goes through twitter.com to x.com. mobile.x.com goes straight to x.com. One x.com row covers those bookmarks. The other names never stay loaded, so a row for them never fires and still uses a free slot. Type x.com in Add Site.

Home, Messages, and Grok share one clock
Home (/home), Explore (/explore), notifications (/notifications), Messages (/messages), Grok (/i/grok), profiles, posts (/<user>/status/<id>, still often called tweets), and Spaces share one clock. For You and Following both sit on /home, so the timeline and Messages cannot be capped separately.
Path Analysis is opt-in, free on up to 3 hosts, with a tree 2 levels deep (10 on Pro). It can show /home against /messages. It only tracks and never blocks a path.
X Pro is a second hostname
Limited Sites and the weekly ranking list x.com once. Sections are not extra rows.
X Pro, formerly TweetDeck, runs on pro.x.com, with its own clock and free slot. Add it only if you use it. Logged out, it redirects to the x.com login. tweetdeck.twitter.com redirects to pro.twitter.com, a different hostname.


Embeds and t.co are outside the x.com limit
An embedded post is an iframe from platform.twitter.com, so it is not blocked or counted. t.co only forwards to the destination. The x.com limit applies if that page is on x.com.
Sign in with X can open the block page
Sign in with X can open a top-level x.com window. Over the limit, that window can show Time's Up. There is no login exception.
Scrolling counts, and a still tab pauses
Time ticks once a second on the active tab of the focused window, and only while you are active. Scrolling and clicking count. After 15 seconds without keyboard or mouse input, or when the screen locks, counting pauses. Background tabs are not counted.
Incognito, other browsers, and the X app
Incognito is not supported. Chrome turns the extension off unless you enable Allow in Incognito at chrome://extensions, under SiteKeeper, then Details, and we do not promise that mode. Other browsers and the X app are outside it.
Block X without an extension
None of these four options is a per-site timer for X in ordinary Chrome. Use one when the block page must not be able to undo the block.
Family Link on a supervised account
In the Family Link app, open the child, then Controls, then Google Chrome and Web, then Manage sites, then Blocked sites. Add x.com. Add the domain x instead if you want every subdomain, including pro. Also add twitter.com, or the domain twitter.
Android and Chromebook are fully supervised. On Windows, Mac, and Linux it applies only while the child is signed into that Chrome profile, and they can sign out, switch profile, or use another browser. Family Link blocks. It has no per-site daily timer for X in Chrome.
Chrome URLBlocklist policy
URLBlocklist works on a personal computer and needs an administrator. It blocks matching URLs. It has no time limit. A bare domain also matches its subdomains, so x.com covers pro.x.com, and twitter.com covers platform.twitter.com plus its other subdomains.
On Windows, add string values under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\URLBlocklist. Name 1 is x.com. Name 2 is twitter.com. On macOS, deliver the same policy with a configuration profile for com.google.Chrome. On Linux, put a JSON file in /etc/opt/chrome/policies/managed/:
{
"URLBlocklist": ["x.com", "twitter.com"]
}Open chrome://policy and reload. Chrome then shows it is managed by your organization. Set IncognitoModeAvailability to 1 if you also want Incognito off. URLAllowlist can exempt a more specific URL, and the more specific filter wins.
Hosts file on this computer
The hosts file stops those names from resolving for every browser on that computer. It has no schedule, no time limit, and no wildcards, so each name needs its own line. On Windows, edit C:\Windows\System32\drivers\etc\hosts in Notepad opened as administrator. On macOS and Linux, edit /etc/hosts with sudo.
0.0.0.0 x.com
0.0.0.0 www.x.com
0.0.0.0 pro.x.com
0.0.0.0 twitter.com
0.0.0.0 www.twitter.com
0.0.0.0 mobile.twitter.com
0.0.0.0 mobile.x.comFlush DNS afterward. On Windows run ipconfig /flushdns. On macOS run sudo dscacheutil -flushcache and sudo killall -HUP mDNSResponder. Clear Chrome at chrome://net-internals/#dns and restart it. A VPN or a proxy can bypass the file. Optional extra lines are platform.twitter.com, tweetdeck.twitter.com, pro.twitter.com, and t.co. A t.co line also breaks short links on other sites.
Router or DNS filtering
Block x.com and twitter.com in the router's parental controls or with a filtering DNS service. Every device on that Wi-Fi is covered, including the X app, and some routers can schedule the block. Mobile data is not. Chrome's Use secure DNS setting (Settings, Privacy and security, Security) or a VPN can bypass the router. Point secure DNS at the same provider, or turn it off. If the filter has a per-service toggle, test x.com.
Compare ways to block or limit X
SiteKeeper is the easiest method to undo. That suits your own profile and fails as a lock.
SiteKeeper
- Cost
- Free for 6 hostnames. Pro drops the cap ($4.99/mo, $24.99/yr, $29.99 lifetime).
- Daily time limits
- Yes, per hostname. 0 minutes blocks x.com.
- Covers Incognito
- No. Not officially supported.
- Covers other browsers and devices
- This Chrome only.
- How easy to undo
- Easiest. Add time, turn it off, or disable it. No password.
- Best for
- A daily cap you can undo yourself.
Family Link
- Cost
- Free.
- Daily time limits
- No Chrome timer. It blocks.
- Covers Incognito
- Can close private windows on a supervised account.
- Covers other browsers and devices
- Full on Android and Chromebook. Desktop: that Chrome sign-in only.
- How easy to undo
- A parent changes it. A child on a computer can switch profiles.
- Best for
- A supervised child.
Chrome URLBlocklist
- Cost
- Free. Needs an admin account.
- Daily time limits
- No. Blocked entirely.
- Covers Incognito
- Only with IncognitoModeAvailability set to 1.
- Covers other browsers and devices
- That Chrome install. Subdomains included.
- How easy to undo
- An admin removes the policy.
- Best for
- A hard block of X in Chrome.
Hosts file
- Cost
- Free. Needs an admin account.
- Daily time limits
- No.
- Covers Incognito
- Yes, unless a VPN or proxy bypasses it.
- Covers other browsers and devices
- Every browser on this computer.
- How easy to undo
- Edit the file as admin and flush DNS.
- Best for
- Every browser on one PC.
Router or DNS filtering
- Cost
- Often free on the router.
- Daily time limits
- No timer. Some routers can schedule it.
- Covers Incognito
- Yes, unless secure DNS or a VPN bypasses it.
- Covers other browsers and devices
- Every device on that Wi-Fi, including the X app. Not mobile data.
- How easy to undo
- Change the router, or leave the network.
- Best for
- The whole home network.
When to block X and when to limit it
Use 0 hours and 0 minutes when x.com should not open. Use a daily cap such as 30 minutes when you still want one pass through the timeline. Scrolling counts, so that number stays close to active time on the site.
A 0-minute window, Monday to Friday 9:00 AM to 5:00 PM, blocks those hours, and the daily limit still applies in the evening. A weekly cap stops a week of short visits from adding up. If you will raise the limit from Time's Up to get back to the timeline, use Family Link, URLBlocklist, or the hosts file instead.
Troubleshooting
If X still opens, check the hostname first, then Incognito, then whether you are in this Chrome profile.
X still opens after you set a limit
Cause: The row is twitter.com or www.x.com, or Limit Web Time is off. Those names redirect, so the row never matches.
Fix: Save from the popup on x.com and delete the redirect-only rows.
X flashes, then the block page appears
Cause: The first visit with a 0-minute limit can load for about a second.
Fix: Later visits should open Time's Up. If not, set daily back to 0 and 0 on x.com.
A post is still visible on another website
Cause: That embed is an iframe from platform.twitter.com. It is not blocked or counted.
Fix: Block twitter.com with URLBlocklist, or add a hosts line for platform.twitter.com.
X Pro still opens
Cause: X Pro runs on pro.x.com, not on the x.com row.
Fix: Add pro.x.com if you use it. Block pro.twitter.com with URLBlocklist or hosts.
X is blocked even though today is under the daily limit
Cause: The weekly cap is used up, or a 0-minute window is active. The week is Monday through Sunday.
Fix: Check the weekly fields and windows on the x.com row.
Incognito or the X app still opens X
Cause: This is desktop Chrome only. Incognito is off unless you opt in, and that mode is not supported.
Fix: Close Incognito with policy or Family Link. Use hosts or DNS for other browsers and phones.
SiteKeeper will not save another hostname
Cause: Free accounts get 6 hostnames. Redirect-only rows still use a slot.
Fix: Delete unused twitter.com and www.x.com rows. Pro removes the cap.
Frequently asked questions
Can Chrome block X without an extension?
Not on a normal profile. Family Link, URLBlocklist, the hosts file, and router DNS can block it. None of them is a 30-minute timer in ordinary Chrome.
Does a limit on x.com cover twitter.com links, Messages, and X Pro?
twitter.com links redirect to x.com and then use that limit, including Home, Messages, and Grok. pro.x.com needs its own row. Embeds on other sites do not.
Why does a limit saved as twitter.com or www.x.com do nothing?
Those names redirect to x.com, so the row never matches. Type x.com. Leaving off www is correct for this site.
Will SiteKeeper block X in Incognito?
No. Incognito is not officially supported. Set IncognitoModeAvailability to 1, or use Family Link, if Incognito must stay closed.
What does Add Time & Unblock actually change?
It raises the saved limit that blocked you and leaves it there. Adding 15 minutes to a 30-minute daily cap makes it 45 until you set it back.
Can I block X at work and allow it in the evening?
Yes. A 0-minute weekday window blocks work hours, and the daily limit still applies afterward. A window with no limit does not block by itself.
Will this stop a child from opening X?
No. There is no password, and Add Time raises the limit. The extension does not run in the X app. On a computer, Family Link applies only in the supervised Chrome profile.
Why is time on X lower than the time the tab was open?
Counting pauses after 15 seconds without keyboard or mouse input, and a background tab is not counted. Scrolling does count.
Set an X limit in Chrome
Add x.com, turn on Limit Web Time, and set 30 minutes or 0 minutes. Daily limits, weekly limits, and time windows are free. See website time limits, or install SiteKeeper from the Chrome Web Store.
Other guides
Block or limit YouTube on Chrome with a 30-minute daily cap or a 0-minute block in SiteKeeper, plus Family Link, URLBlocklist, the hosts file, and DNS.
Block or limit Reddit on Chrome with a 30-minute daily cap or a 0-minute block in SiteKeeper, plus old.reddit.com, Family Link, URLBlocklist, hosts, and DNS.
Block or limit TikTok on Chrome with a 10-minute daily cap or a 0-minute block in SiteKeeper, plus Family Link, URLBlocklist, the hosts file, and DNS.
Limit or block www.instagram.com on Chrome with a 30-minute cap or a 0-minute block. Reels and DMs share it. Family Link, URLBlocklist, hosts, and DNS.
Set a 30-minute Facebook limit on Chrome, or block www.facebook.com with SiteKeeper. Also covers Family Link, URLBlocklist, the hosts file, and DNS.
Set a 60-minute Netflix cap on Chrome, or block www.netflix.com in SiteKeeper. Also covers Family Link, URLBlocklist, the hosts file, and DNS.
Set a 30-minute Discord limit on Chrome, or block discord.com with SiteKeeper. Also covers Canary, Family Link, URLBlocklist, the hosts file, and DNS.
Set a 30-minute Twitch limit on Chrome, or block www.twitch.tv with SiteKeeper. Also covers clips, Family Link, URLBlocklist, the hosts file, and DNS.
Set a 30-minute LinkedIn limit on Chrome, or block www.linkedin.com with SiteKeeper. Also covers Family Link, URLBlocklist, the hosts file, and DNS.