Guide
How to block websites during work hours
Most people don't want YouTube gone forever, just gone while they work. The short answer: browsers can't block sites on a schedule by themselves, so you need a blocker with a schedule, or, for a team, a policy or a DNS filter with time rules. Below is what each option can and can't do, from free settings to a blocker that lets you earn your breaks.
The quick answer
- Just you, in Chrome or Edge: install a blocker with a schedule (step 4). It takes a few minutes.
- Just you, on your phone: use Focus mode on Android or Downtime on iPhone for the apps, and keep the browser for work.
- A whole team or company: use browser policies or a DNS filter on the network (see blocking sites for employees).
1. Decide your hours first
Write down when you work or study, and which sites cost you the most during that time. Two or three sites usually do most of the damage. A plan like "Monday to Friday, 9 to 12 and 1 to 5, no YouTube, Reddit or X" is easy to set up in any of the tools below.
2. Use a separate browser profile for work
A work profile in Chrome or Edge with no social logins, bookmarks or history makes distractions slower to reach. It's free and takes two minutes.
3. Sign out during the day
Being signed out of YouTube, Reddit or X makes them less personal and less sticky. Sign back in after work if you want.
4. Use a blocker with a schedule
Chrome and Edge have no built-in way to block a site only at certain hours on your own profile, so this is where an extension comes in. Most blockers can block sites on certain days and hours. In Onus, sealed hours keep chosen sites shut at set times, and work-only hours shut everything but your work sites. Outside those hours the sites follow your normal rules.
Set up a work-hours block in Chrome or Edge, step by step
With Onus (free plan included):
- Add Onus to Chrome or Edge, and pick the sites that cost you the most as blocked sites, YouTube or Reddit for example.
- Open Onus's Settings and go to Your day.
- Turn on Blocked hours, set the times (9:00 to 17:00, say) and untick the days you don't work.
- During those hours the blocked sites stay shut whatever your bank holds. To shut everything but your work sites instead, turn on Work-only hours under Strictness.
With LeechBlock NG (free): create a block set, list the sites, enter the hours as a time period (0900-1700) and tick the days. Each of its block sets can have its own hours, so you can block social sites all day and news only in the morning.
Chrome extensions that block websites at certain times
| Extension | How it handles time | Price |
|---|---|---|
| Onus | Blocked hours and work-only hours by day and time. Outside them, 25 minutes of work earns 10 minutes on blocked sites. | Free plan, full Onus $29.99 a year or $59 once |
| LeechBlock NG | Up to 30 block sets, each with its own times and days, or a time limit. | Free |
| StayFocusd | A daily time allowance on the sites you limit, with active days and hours. | See its Chrome Web Store listing |
| BlockSite | A block list on a schedule or during a focus timer. | Limited free version, then a subscription |
| Cold Turkey | Blocks on a timer or schedule. It's a Windows and Mac app with browser extensions, not an extension on its own. | Free version, one-time price for Pro |
Details on other tools are from their own sites, checked between 29 October and 8 November 2026 (sources on our round-up of Chrome blockers). Check them there before you choose.
What your computer can do on its own
- Windows: Focus sessions in the Clock app silence notifications for a set time, but don't block sites. Editing the hosts file blocks a site all day, not by the hour, and needs admin rights to undo.
- Mac: Screen Time's Downtime and App Limits run on a schedule, and App Limits can include websites in Safari. Chrome and Edge need an extension.
- Android: Focus mode in Digital Wellbeing pauses the apps you pick on a schedule. It pauses apps, not sites in the browser.
5. Leave a way back to work, not a way out
A block page that sends you back to your task in one click works better than one that only says no.
6. Plan your breaks
Blocks that allow no breaks tend to get switched off. Short, planned breaks keep the schedule alive.
7. Let work earn the breaks
With Onus the breaks come from the work itself: every 25 minutes on your work sites buys 10 minutes on the sites you sealed, so a focused morning earns a guilt-free lunch on YouTube.
Blocking sites for employees
If you run a team and want to block sites on work computers, the tools are different (there's more in the guide to website blockers for employees). Browsers and networks have their own controls:
- Chrome: the URLBlocklist policy, set from the Google Admin console for managed Chrome, or with Group Policy on Windows.
- Edge: the same URLBlocklist policy, set with Group Policy or Intune.
- The network: a DNS filter or firewall on the office network blocks sites for every device on it, and many offer time-of-day rules for work hours.
Blocks that come from above tend to work best when people know what's blocked and why. If what your team wants is help staying focused rather than rules, a tool each person sets up for themselves often lands better. Onus is built for that: each person picks their own sealed sites and work sites, and nothing they browse is reported to anyone.
Questions
Can Chrome block websites during certain hours?
Not on its own for a personal profile. You need an extension with a schedule, like Onus or LeechBlock. Managed Chrome can block sites with the URLBlocklist policy, but that blocks all day.
How do I block websites during work hours for free?
Use a free blocker with a schedule in your browser. The free Onus plan seals 2 sites and keeps 1 work site, and LeechBlock NG is free with schedules.
How do companies block websites for employees?
Usually with browser policies (URLBlocklist in Chrome and Edge, pushed from the Google Admin console, Group Policy or Intune) or with a DNS filter or firewall on the office network.
What is the best Chrome extension to block websites at certain times?
LeechBlock NG if you want it free and want different hours for different sites. Onus if you also want breaks during the day that your work pays for. Both block by day and time in Chrome and Edge.
Can I block a website only in the morning or only at night?
Yes. Set the hours in a blocker with a schedule: 9:00 to 12:00 for a focused morning, or 22:00 to 7:00 for nights. There is more on night blocks in how to block websites at night.
Will a work-hours block still let me use YouTube for work?
In Onus, yes. When YouTube opens it shows only search and the video you chose, and you can allow paths like a course playlist while the rest stays sealed.
More: YouTube blocker · Reddit blocker · Blocker for studying · Onus vs Cold Turkey · Onus vs StayFocusd · Onus vs LeechBlock · How to stop watching YouTube · How to stop doomscrolling · Onus vs Freedom · Onus vs BlockSite · Opal alternative for computers · How to block YouTube Shorts · Blocker for ADHD · Blocker for employees · Stop procrastinating · How to block TikTok · Block Instagram on Android · Push-up app blocker · Block YouTube on Android · Block Snapchat on Android · App blocker for Android · Use your phone less · Screen time calculator · Block a website on Chrome · Block a website on Edge · Best website blockers for Chrome · SelfControl for Windows · Block websites on a Mac · Block websites on a Chromebook · The research behind Onus · Cold Turkey vs Freedom · LeechBlock vs StayFocusd · BlockSite vs StayFocusd · Freedom vs Opal · Cold Turkey vs LeechBlock · Press kit · Block websites on Windows · Block apps on Windows · Block games on a PC · Block websites on Android · Limit time on websites · Blocker with a timer · Pomodoro website blocker · Block websites at night · Stop binge-watching · Quit Reddit · All guides