Guide
How to block websites at night
The hours after 11pm are when "one more video" costs the most. A block that starts on its own at night does the deciding while you're still awake enough to agree with it.
On a computer: a scheduled block
Pick a blocker that can block by the clock, then set it for the hours you want to be asleep.
- Onus sealed hours keep chosen sites shut at set times, whatever the bank holds. Outside those hours, work still earns time back as usual.
- LeechBlock NG (free) can block a set of sites between two times on chosen days.
- Cold Turkey and Freedom have schedules too, and Cold Turkey can lock the whole computer.
- Family Safety sets screen time schedules for a child's Windows account.
On an Android phone: Bedtime mode
Digital Wellbeing's Bedtime mode turns the screen grey and silences the phone on a schedule. Combine it with app timers, or with an app blocker like Onus for Android, which seals apps until you've earned them with push-ups or steps.
On an iPhone or Mac: Downtime
Screen Time's Downtime allows only the apps you choose during the hours you set. Set a Screen Time passcode, and ideally let someone else choose it.
Make it hold
- Start the block an hour before bed, not at bedtime, so the last hour isn't a scroll.
- Charge the phone outside the bedroom. No block beats the phone being in another room.
- Make undoing it slow. Onus makes you wait 10 minutes to unseal a site, which is long enough to remember why you set it.
Questions
How do I block websites after a certain time?
Use a blocker with a schedule: Onus sealed hours, LeechBlock NG block sets, Cold Turkey or Freedom schedules, or Family Safety for a child's Windows account.
Can I block YouTube at night only?
Yes. Put YouTube in a scheduled block for the night hours and leave it open in the day, or in Onus, seal it at night with sealed hours and let work earn it back in the day.
Does Bedtime mode block apps?
Bedtime mode greys the screen and silences notifications but doesn't block apps. Pair it with app timers or an app blocker.
More guides: every Onus guide in one place.
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 · Block sites during work hours · 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 · Stop binge-watching · Quit Reddit · All guides