How to Block YouTube While Working (Without Just Sending Yourself to Your Phone)

Short answer: You can block YouTube while working with a browser extension, a site blocker or hosts file edit, or a scheduled blocker. The honest catch is that a hard block alone often just sends you to your phone or another tab, so the distraction wins anyway. Hawser takes a different approach: it can block or time limit YouTube ("block YouTube after 20 minutes") and, because it actually watches what you are doing, it nudges you when you drift back to it instead of just slamming a door in your face.
Try Hawser free for 7 days →
No credit card needed. Limited beta spots.

Ways to block YouTube while working

There is no single right way to do this. Here are the realistic options, with an honest read on each, so you can pick the one that fits how badly you keep slipping.

For a quick one off, an extension or a hosts file edit is plenty. The trouble starts when the block is the only thing standing between you and the distraction, because the moment you pause it, you are right back where you started.

How Hawser blocks YouTube without the resentment

Hawser runs quietly on your Windows desktop and watches what you are working on. When it comes to YouTube, it gives you three things a plain blocker cannot.

The reason this matters comes down to one thing a blocker simply cannot do. A blocker can't tell a 10-hour work day from a 10-hour binge. Hawser can. It works off what you actually set out to do, so it only steps in when you have genuinely drifted, not because a timer ran out on a day you were doing fine.

Who this is not for

If you just want a free one off block for a single deadline this afternoon, you do not need Hawser. A browser extension or a hosts file edit will do the job and cost you nothing. Honestly, go grab one of those.

Hawser is for the other situation: you have tried the blockers, you keep finding ways around them, and you keep slipping back to YouTube anyway. If that is you, a wall on its own clearly is not the answer, and something that notices the drift might be.

Why I built this

I never used Cold Turkey itself, but I lived on the hard blockers it represents, the kind that just lock you out or boot you off your computer once you have used something "too long." They drove me up the wall, because my life does not run on a fixed schedule. One day I am heads down working for ten hours straight. The next, I might sink ten hours into a video game, and that is completely fine. A rigid blocker cannot tell those two days apart. It enforces the same dumb rule and kicks me off either way, usually on the day I needed it least.

That is the whole reason Hawser exists. It does not run on an arbitrary timer that has no idea what your day actually looks like. It works off what you set out to do, so ten hours of real work is never treated like the enemy, and it only steps in when you have genuinely drifted from it. It adapts to your day instead of fighting it.

Frequently asked questions

How do I block YouTube while working?

You can use a browser extension, a site blocker or hosts file edit, a scheduled blocker, or a smarter AI tool like Hawser. A simple block works for a single afternoon. If you keep slipping back, Hawser watches what you are doing, time limits YouTube, and nudges you when you drift instead of just slamming a door.

Can I block YouTube for just a set amount of time?

Yes. With Hawser you can say something in plain English like "block YouTube after 20 minutes," so you get your quick break but it steps in before the break turns into the whole afternoon.

Does it block the YouTube app or just the website?

Hawser runs on your Windows desktop and watches both apps and sites, so it can act on the YouTube website in your browser and on a desktop app, not just one of them.

Is there a free way to block YouTube?

Yes. A free browser extension or a hosts file edit can block the YouTube website at no cost. That is genuinely enough if you only need a one off block. Hawser is a paid tool for people who keep getting pulled back and want something that notices the drift, not just a wall.

Catch yourself before you lose the afternoon →
gethawser.com/beta · 7 days free, no card