How to Block YouTube on Windows (2026)
Whether it is for deep work, your kids, or a team that keeps drifting into videos, here is how to block the YouTube website and the app on a Windows PC — across every browser. We cover the free built-in tricks and their limits, then the reliable way with Kaizen Focus.
YouTube is brilliant and bottomless at the same time. Autoplay queues the next video before you have decided to keep watching, the homepage is tuned to your weak spots, and Shorts mimics the endless TikTok scroll. On a Windows PC that is used for study or work, "just one video" quietly turns into an hour. Blocking it removes the decision entirely — and on a shared family computer it protects kids from recommendations that drift into content you would never choose for them.
Why people block YouTube on Windows
- Focus and productivity. A single tab can derail a study session or a work sprint. Removing the temptation is far easier than resisting it dozens of times a day.
- Kids and screen time. Parents want to cap video time, keep YouTube out of homework hours, or block Shorts while still allowing a few educational channels.
- Teams and shared PCs. Managers want accountability on work machines without per-seat cloud monitoring fees.
The catch is that YouTube is unusually hard to block well. It runs as a website in any browser, there is a Windows desktop app, and Google serves video from a large pool of domains. A method that plugs one hole often leaves three open. Below are the common approaches, what each actually does, and where they fall short.
Free built-in methods (and their limits)
These cost nothing and are worth knowing, but treat them as speed bumps rather than locked doors — especially for a determined teenager.
1. Edit the Windows hosts file
The hosts file maps domain names to IP addresses before DNS is consulted. Open Notepad as administrator, edit C:\Windows\System32\drivers\etc\hosts, and add lines like 127.0.0.1 www.youtube.com and 127.0.0.1 m.youtube.com. Your browser then fails to reach those domains.
2. Block YouTube on your router
Most home routers have a parental-controls or URL-filtering page where you can block youtube.com for some or all devices, sometimes on a schedule.
3. SafeSearch & YouTube Restricted Mode
Google SafeSearch and YouTube's Restricted Mode filter out a lot of explicit results and videos, and you can lock Restricted Mode on a managed account.
4. A browser extension blocker
Extensions like site blockers can hide or block youtube.com inside the browser they are installed in, often with a timer.
Each method helps a little. None of them, on their own, blocks both the YouTube site across every browser and the desktop app, with rules a child cannot quietly undo. That is exactly the gap a dedicated app fills.
Block YouTube for good with Kaizen Focus
Kaizen Focus is a website and app blocker for Windows 10 and 11 that closes every gap above at once. It reads the active URL from each browser using the Windows UI Automation API — so there is no extension to install and no browser-hopping loophole — and it blocks the desktop app at the process level too. Rules are locked behind a 4-digit admin PIN, and it runs fully offline with all data stored on your own device.
Add youtube.com to the blocklist and every supported browser refuses to load it. Prefer balance over a ban? Give YouTube a daily time limit, or block just Shorts and one or two channels while leaving the rest alone.
Every browser, no extension
Blocks youtube.com across Chrome, Edge, Firefox, Brave, Opera, Vivaldi, Internet Explorer, Maxthon, LibreWolf and Waterfox — 10 browsers in all.
The app too
Process-level blocking closes the YouTube desktop app — and any other app like Steam or Discord — during restricted hours.
Channel-level control
Block a full domain, a specific URL, or one YouTube channel. Block Shorts on its own while regular videos still work.
Daily time limits
Give YouTube a daily budget — say 30 minutes — with a different value for each weekday. It blocks for the rest of the day, then resets at midnight.
Downtime schedules
Hard-block everything during homework or bedtime — 1 downtime window free, up to 4 on Pro, with Free Time windows for exceptions.
Hard to bypass
Closing the window does nothing — a watchdog restarts it if killed, settings sit behind a PIN, and uninstalling needs Windows admin rights.
On top of blocking, Focus quietly logs every app and site so you can see where the hours went: an activity timeline at 30-minute resolution, optional on-device screenshots, and daily, weekly or monthly email reports on Pro — handy proof for parents and managers alike.
How to block YouTube with Kaizen Focus, step by step
Download and install
Get Kaizen Focus free for Windows using the button below. Setup takes a couple of minutes, then set your 4-digit admin PIN so the rules cannot be changed without it.
Block the YouTube website
Open Block Sites and add youtube.com to the blocklist. Every supported browser on the PC will refuse to load it — no extensions, no per-browser setup.
Block the YouTube app
In App Limits, set the YouTube desktop app (and any other distracting apps) to Blocked for the days you choose. Focus enforces this at the process level.
Or set a limit instead of a full block
Prefer balance? Give YouTube a daily time budget, or block only Shorts and a couple of channels. Add a downtime window for homework hours or bedtime to make it automatic.
Simple pricing
Start free — the free version already blocks the YouTube site and app and includes screenshot monitoring. Upgrade only if you want daily time limits, extra downtime windows, and email reports.
Paid plans include a 3-day no-questions-asked refund.