How to block YouTube Recommendations on Chrome

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

To block YouTube recommendations on Chrome, combine YouTube's built-in Autoplay toggle with a Chrome extension that either removes recommendation sidebars or blocks off-task videos the moment you click them. Most YouTube distraction does not start on the homepage; it starts in the 'Up Next' sidebar right beside a legitimate tutorial or lecture. Turning off Autoplay stops videos from chaining automatically, while CSS extensions such as Unhook hide the right-hand sidebar and end-screen cards. The catch with sidebar-hiding extensions is that they never stop you from searching for an unrelated video yourself when you get stuck on hard work. Focus AI adds the missing guardrail: you type your task before starting, so the tutorial loads while any off-topic recommended video you click gets blocked on arrival. Focus AI is free for 3 AI focus sessions and up to 3 always-blocked sites.

Option 1: Block YouTube Recommendations on Chrome with Focus AI (context-aware + Passcode Lock)

Focus AI gives you two ways to block YouTube Recommendations in Chrome, Edge, Brave, and Firefox: put it in the Always-On Site Blocker (up to 3 sites free, unlimited on Pro) for a permanent lock, or run a context-aware AI focus session that blocks distractions while allowing task-relevant pages. On Pro, you can lock your settings behind a Friend/Parent Passcode Lock so you cannot switch the block off on impulse.

  1. Install Focus AI from the Chrome Web Store (free for 3 AI focus sessions and up to 3 always-blocked sites, no account needed).
  2. Open chrome://extensions, click Details on Focus AI, and turn on Allow in Incognito so private windows cannot bypass the block.
  3. Add youtube.com/watch to your Always-On Site Blocker, or type your active task and click Lock me in.

Option 2: Block YouTube Recommendations manually via the Mac or Windows hosts file (free)

Important limitation: Mac and Windows hosts files only filter whole hostnames (like youtube.com), not sub-paths like youtube.com/watch. Adding the lines below blocks the entire parent site across every browser on your computer. If you only want YouTube Recommendations blocked while keeping useful parts of the site open, use Option 1 above.

Hosts-file blocking cannot target sidebar recommendations because they live on the same youtube.com domain as the video player. Pairing Focus AI with Autoplay turned off stops both accidental chains and impulsive clicks.

Exact domains and hosts file lines for YouTube Recommendations:

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
Apply on Mac
Run sudo nano /etc/hosts in Terminal, paste the lines at the bottom, press Control-O then Control-X, and flush DNS with sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder.
Apply on Windows
Open Notepad as Administrator, open C:\Windows\System32\drivers\etc\hosts (file type: All Files), paste the lines, save, and run ipconfig /flushdns in Command Prompt.

Blocking multiple sites at once? Build a full copy-paste blocklist with our free Hosts File Website Blocker Generator →

Option 3: Standard list-based Chrome blocker extensions

List-based extensions such as BlockSite, StayFocusd, or LeechBlock NG let you block youtube.com faster than editing system files. Two trade-offs remain: domain lists are all-or-nothing (blocking legitimate work resources alongside feeds), and most standard extensions can be disabled in two clicks when temptation spikes.

Blocking YouTube Recommendations on a Chromebook

On a personal Chromebook, Chrome extensions install just like desktop Chrome, so Focus AI (with Allow in Incognito and Parent Passcode Lock) works right away. For a child's supervised account, you can also block youtube.com from the parent's Google Family Link app. On school-managed Chromebooks, the school IT admin controls blocked sites and extension installs. See our full Chromebook website blocking guide.

Interactive Demo · Zero Install

Try Focus AI live against YouTube Recommendations

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

youtube.com/watch?v=nextjs-app-router-guide

This YouTube video matches your task "Building Next.js app", so Focus AI lets it play while keeping Shorts blocked.

ALLOWED
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
Why this site breaks focus

Why YouTube Recommendations keeps pulling you back

YouTube's Up Next sidebar sits inches away from every tutorial, serving thumbnails tuned to your exact procrastination triggers right at the moment a complex work concept feels tiring.

Best blocking strategy for YouTube Recommendations: High-value workflow for remote developers, analysts, and students who learn from YouTube tutorials daily and need off-topic clicks caught immediately.
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

Ready to block YouTube Recommendations without fighting yourself?

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

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 disable YouTube sidebar recommendations natively in YouTube settings?

No. YouTube lets you turn off Autoplay and pause Watch History, but it provides no native switch to remove the related-videos sidebar next to a playing video.

What happens if I click a recommended entertainment video during a Focus AI session?

Focus AI reads the new video against your declared task and blocks it immediately, showing your promise screen and counting the escape attempt while your tutorial tab remains accessible.

Can I use a sidebar hider alongside Focus AI?

Yes. Running a clean UI filter alongside Focus AI removes visual clutter while Focus AI enforces strict task-aware blocking if you try to drift.

Block more distractions & guides