How to block YouTube on Chrome
Updated December 2026
To block YouTube on Google Chrome, install a strict website blocker extension such as Focus AI and enable Allow in Incognito at chrome://extensions so private windows cannot bypass your lock. Chrome has no native "block this site" button on personal laptops, so extensions are the fastest method while Chrome's URLBlocklist enterprise policy or your computer's hosts file provide admin-level alternatives. Focus AI lets you lock youtube.com permanently inside the Always-On Site Blocker (up to 3 sites free, unlimited Pro) or allow task-relevant pages during AI focus sessions. For maximum willpower protection, enable Focus AI's Quit Wall strict mode or Friend/Parent Passcode Lock so YouTube cannot be unlocked in two clicks during a moment of boredom. Focus AI is free for 3 AI focus sessions and up to 3 always-blocked sites.
1. Block YouTube on Chrome with Focus AI (Always-On + Passcode Lock)
- Install Focus AI from the Chrome Web Store (free for 3 AI focus sessions and up to 3 always-blocked sites, no account required).
- Open chrome://extensions, click Details on Focus AI, and turn on Allow in Incognito so private tabs cannot bypass the block.
- Add youtube.com to Focus AI's Always-On Site Blocker for a permanent lock, or type your current work task to block YouTube automatically during focus sessions.
- Optional strict upgrade: turn on Friend/Parent Passcode Lock on Pro so someone you trust holds the unlock code.
2. Block YouTube in Chrome using Chrome Managed Policy (URLBlocklist)
- On Windows, open Registry Editor as Administrator and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\URLBlocklist.
- Add a String Value named 1 containing youtube.com (plus additional values for companion domains like www.youtube.com, m.youtube.com).
- Restart Google Chrome and visit chrome://policy to confirm URLBlocklist is loaded across normal and Incognito windows.
3. Check Chrome Secure DNS if using a hosts file
- If you block YouTube via your Mac or Windows hosts file instead of an extension, open chrome://settings/security and toggle off Use secure DNS (DoH) if Chrome still loads youtube.com.
- Fully quit and reopen Chrome after flushing your operating system DNS cache.
Exact YouTube domains & subdomains (hosts file block)
Hosts-file blocking kills youtube.com everywhere, including embedded training videos inside course portals and Notion docs.
127.0.0.1 youtube.com ::1 youtube.com 127.0.0.1 www.youtube.com ::1 www.youtube.com 127.0.0.1 m.youtube.com ::1 m.youtube.com 127.0.0.1 youtu.be ::1 youtu.beNeed multiple sites? Open the free Hosts File Website Blocker Generator →
Try Focus AI live against YouTube
Pick or type a real work task, then test any URL to see what stays open and what gets blocked.
This YouTube video matches your task "Building Next.js app", so Focus AI lets it play while keeping Shorts blocked.
What breaks YouTube blocks on Chrome
On Google Chrome, three traps break YouTube blocks: forgetting Allow in Incognito at chrome://extensions, leaving Chrome Secure DNS enabled when using a hosts file, and clicking into a second unblocked browser profile. Enable Allow in Incognito first and install Focus AI on every Chrome profile you use.
YouTube's trap is rarely the tutorial you searched for; it is the sidebar recommendations, autoplay queue, and homepage grid engineered to keep you watching long after your question was answered.
Block YouTube on Chrome 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 ChromeFrequently asked questions
How do I block YouTube in Chrome Incognito mode?
Open chrome://extensions, click Details on Focus AI (or your blocker extension), and toggle on Allow in Incognito. Chrome disables extensions in private windows by default until you flip that switch.
Can I block YouTube on Chrome with a password someone else holds?
Yes. Focus AI Pro includes Friend/Parent Passcode Lock so a trusted friend, partner, coach, or parent can lock your always-blocked sites and strict settings behind a passcode you do not know.
Does blocking YouTube on Chrome without an extension work?
Yes: you can add youtube.com, www.youtube.com, m.youtube.com to your Mac or Windows hosts file or set Chrome's URLBlocklist policy, though both require admin access and block the whole domain.