On this page
Start with LeechBlock NG. Start with LeechBlock NG. The steps follow the official Quick Start and current options source. The example uses a morning work period; change the times to match your own day.
1. Install the extension and open Options #
Use the browser links on LeechBlock's installation page. Once installed, select the LeechBlock toolbar button and choose Options.
You should see block-set tabs and a General tab. Select Block Set 1. The official Quick Start says the default sets remain inactive until you enter settings, so opening a new set doesn't immediately block a website.
Start with one rule. Creating several sets while learning the controls can make it difficult to tell which one is affecting a page. Give this first set a name such as Morning writing in the custom-name field. That name will make the purpose easier to recognize later.
2. Enter the domains under What to Block #
In What to Block, use the field labeled Enter the domain names of the sites to block (one item per line). Put each domain on its own line. For example:
reddit.com
instagram.com
Leave out https://. You can also leave out www.; the documentation says the site is blocked with or without that prefix.
Choose the domains from the behavior you're trying to interrupt. If a service is also necessary for work, decide whether the whole site belongs on the list. A blocked client dashboard is an avoidable distraction of its own. The exception variation below can preserve a specific path when that fits the task.
The visible list should now contain exactly the websites intended for this set. A short list is easier to review than a copied collection of sites you rarely visit.
3. Set the weekday work period #
In When to Block, find Enter the time periods within which to block these sites (optional). Enter:
0900-1200
That is 9 a.m. to noon in 24-hour format. Leave the time-limit field empty for this schedule-only example. Under Select when to block these sites, choose within time periods OR after time limit.
Under Select the days on which to block these sites, select Mon, Tue, Wed, Thu and Fri. Clear Sun and Sat if weekends should remain outside the rule.
Read the period and days together. A correct time range with the wrong day selected won't match the workweek you intended. The saved rule should describe one morning period on five weekdays.
4. Keep the default blocking page #
In How to Block, keep Default Page as the predefined blocking page. This first setup doesn't need a delay, a password page or a visual filter.
Leave advanced options that prevent editing settings disabled while you review the rule. Those controls can make later correction harder. The basic schedule is enough to learn whether the chosen domains and period match your task.
The block-page choice should now point to the extension's default response. When a rule applies, that page tells you the visit is blocked, instead of simply leaving a site looking broken.
5. Save the options and confirm the timing #
Select Save Options at the bottom of the page, or Save Options & Close if you are finished editing. Entering settings alone doesn't apply them; saving does.
During a selected weekday and time period, a visit to a listed website should show the blocking page. Outside that period, the schedule-only rule allows access. If you're setting this up in the evening, an accessible site doesn't by itself indicate a broken rule.
For a first check, you can temporarily choose a short period that includes the current time, save it and visit one listed domain. Restore the intended morning period afterward and save again.
6. Export the rule before adding more sets #
Open General and find Export / Import. Select Export Options to Text File to keep a readable copy of the configuration. The same area also provides a JSON export.
The current options page includes Include passwords in exported options. Leave that cleared unless you have a specific reason to include them and a safe place for the file. An export intended for ordinary reference doesn't need to carry passwords.
If you later import settings, select Save Options afterward; the source's confirmation text explicitly says imported options aren't applied until saved. Once this first set behaves as intended, add another set for a different time allowance or group of websites.
Known problems with timers and delays #
A countdown appears even though no allowance was entered
In a November 2025 developer discussion, maintainer James Anderson explained that the countdown can show the time until a scheduled block begins. It isn't limited to tracking an allowance. If you don't want that timer for this set, open Advanced Options and clear Show countdown timer for this block set.
A delay doesn't reset the hourly time allowance
A September 2025 maintainer reply separates the usage allowance, the delaying-page countdown and the temporary access period after a delay. An hourly allowance refreshes at the next clock-hour period. Waiting through a delay doesn't reset that allowance. For the first schedule in this guide, keep the delay feature off; add it only when you want that separate behavior.
Diagnose a rule that doesn't match the work period #
| What happens | What to inspect | Correction |
|---|---|---|
| A site remains accessible during work | Day selection, time range and whether options were saved | Select the intended weekday, use HHMM-HHMM and save |
| The rule seems active on a weekend | Sun and Sat checkboxes | Clear the days you don't want, then save |
| A website outside the list is blocked | Another block set or a broad wildcard | Review each active set and narrow the matching entry |
| A changed rule has no effect | Unsaved edits | Use Save Options before checking again |
| A timer appears before the work period | Countdown display for an upcoming scheduled block | Disable the set's countdown display if you don't want it |
If the rule still looks wrong, export the options and compare the set's domains, time periods and selected days. That gives you concrete settings to inspect or send to the developer through the official support route.
Split a morning and afternoon work period #
Use a comma-separated list in the time-period field, such as 0900-1200,1400-1700. This leaves the gap between noon and 2 p.m. outside the schedule. Keep the time-limit field blank if you want only those periods.
Choose periods that match the work you're actually doing. A short break between blocks can be part of the routine without needing a second block set.
Allow one needed path inside a blocked site #
The options page uses + to prefix exceptions. An example for a fictional work service would be a domain line followed by an allowed path:
example.com
+example.com/reference/
Use your real required path and review the official exception documentation before saving. A broad exception can reopen more of the site than you intended. A narrowly chosen reference path is easier to understand.
Use a daily allowance instead of fixed hours #
For a budget-only set, clear the time-period field, enter a minute allowance and select day (24 hours) in the period selector. Keep within time periods OR after time limit selected. The official examples explain this separate allowance approach.
Decide whether time should count only in an active tab using Count time spent on these sites only when browser tab is active. That choice changes how a background tab contributes to the allowance. Read it before assuming a website's open tab equals time you're actively using it.
How to block distracting websites with LeechBlock NG: final checks #
- The intended domains appear once each, without a protocol prefix.
- The work period uses 24-hour times.
- Only the intended weekdays are selected.
- The first rule uses the default blocking page.
- You saved the options after the last edit.
- Any needed exception is narrow enough to preserve the work page.
- You kept an export before building more rules.
Read LeechBlock NG vs Cold Turkey if you need a desktop blocking app, and the eight-tool blocker list for phone and page-cleanup options. Cold Turkey and SelfControl cover other kinds of computer sessions. The Productivity category can help you plan the task that fills the blocked period.
Featured illustration: original conceptual artwork created for WebIndexly with OpenAI image generation.
Explore more in Productivity Suites
- Browse all Productivity Suites websites
- 8 Best Free Website Blockers for Focus and Work
- 8 Best Free Pomodoro Timers for Work and Study
- 8 Best Free Spreadsheet Apps for Everyday Number Work
- LeechBlock NG vs Cold Turkey: Which Block Fits Your Work?
- Todoist vs Microsoft To Do: More Structure or a Simpler Day?




