How to Block Websites in Chrome and Firefox
Block distracting sites for good, after a daily time limit, or only during work hours. A free extension sets it up in under a minute.
Updated November 18, 2026
Neither Chrome nor Firefox has a setting for blocking websites. Chrome only offers it to supervised children through Family Link and to company-managed browsers through admin policies. Editing your hosts file blocks a site everywhere, all day, until you edit it back. If you want to stop opening YouTube or Reddit on autopilot, a blocker extension is the easiest way. Website Blocker blocks sites completely, after a daily time limit, or only during the hours you choose.
How to block a website
- Install Website Blocker for Chrome or Firefox.
- Click its icon and, on the Sites tab, choose Add Site.
- Type the domain, for example
youtube.com, and save.
Done. The site no longer loads, and you see a short page explaining why it is blocked instead. One rule covers both youtube.com and www.youtube.com.

Allow 30 minutes a day instead
Blocking a site forever isn't always realistic. To keep some access:
- Add the site on the Sites tab as above.
- Open Limits, choose Add Limit, then pick the site and a daily limit: 15 or 30 minutes, 1, 2 or 3 hours, or a custom time.
The site stays open until your time is used up, and a progress bar shows how much is left. After that it is blocked until the next day.
Block sites only during work hours
- Add the site on the Sites tab.
- Open Schedule and choose Add Schedule.
- Pick the site, give the schedule a name such as Work hours, select the days, and set a start and end time, for example Monday to Friday, 9:00 to 17:30.
Outside those hours the site works as usual.
FAQ
Can I see how much time I spend on each site?
Yes. Every site shows the time spent, allowed visits and blocked visits.
Can I take a break from blocking?
Yes. One switch pauses or resumes all blocking, and every rule has its own toggle, so you can turn a rule off without deleting it.
Does it slow down browsing?
No. Blocking uses the browser's built-in network rules, so blocked pages are stopped before they start loading.
Is my browsing history collected?
No. Your rules and usage stats stay in your browser. No account, no subscription, no tracking.