Block a site on Chrome

How to block Amazon on Chrome

Shopping is a quieter kind of distraction: one search for something you need turns into twenty minutes of comparing things you don't. Amazon also lives on country addresses, like amazon.co.uk and amazon.de.

Here are four ways, from free settings to a block that holds. Each one works in Edge too.

1. Block Amazon in the hosts file

Your computer checks its hosts file before it looks a site up, so an address pointed at 0.0.0.0 can't load in any browser. It's free and works in Chrome, Edge and everything else.

Add these lines at the end and save:

0.0.0.0 amazon.com
0.0.0.0 www.amazon.com

Then restart Chrome. On a Mac, also run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. The hosts file has no wildcards, so each address needs its own line. The catch: undoing it takes thirty seconds, and you know exactly where the file is.

2. Block Amazon with Chrome's own policy

Chrome has no block button for normal users, but it does follow a policy schools and companies use, called URLBlocklist. You can set it on your own computer. On Windows, save this as block.reg, double-click it, and restart Chrome:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\URLBlocklist]
"1"="amazon.com"
"2"="amazon.co.uk"
"3"="amazon.de"
"4"="amazon.ca"
"5"="amazon.com.au"
"6"="amazon.in"

A domain in this list covers its subdomains too, and you can add a path to block only part of a site. Open chrome://policy to check it took. For Edge, use Microsoft\Edge in place of Google\Chrome. To undo it, delete the URLBlocklist key in the Registry Editor.

3. Make Amazon less sticky

Turn off one-click buying

In your Amazon account, switch off Buy Now with one click, so every order takes a moment to think.

Keep a list, shop once a week

Add what you need to a list during the week and buy it all at one set time.

Block your country's address too

Add the address Amazon sends you to, like amazon.co.uk, as well as amazon.com.

4. Make Amazon something you earn

Blocks you can lift in thirty seconds get lifted. Onus seals the site until you've worked for it: every 25 minutes on your work sites buys 10 minutes back, the bank holds up to 2 hours, and it resets at midnight. A few earned minutes are plenty to buy the thing you need, and not enough to browse for an hour.

When the time runs out, the seal comes back. Five emergency minutes a day never touch the bank, and an exit code you set opens everything until midnight if you truly need out.

Add to ChromeOnus for WindowsHow Onus works

Questions

Does Chrome have a built-in way to block Amazon?

Not a button. Chrome follows the URLBlocklist policy, which you can set on your own computer, and the hosts file blocks sites in every browser. Both are free.

Why does Amazon still open after I blocked amazon.com?

Your country's Amazon is its own address, like amazon.co.uk. Block that one too.

Does incognito get around a Amazon block?

Not with the hosts file or Chrome's policy, which cover incognito too. Extensions only run in incognito if you allow them on the extension's details page.

Use Microsoft Edge? See how to block Amazon on Edge.

Block another site on Chrome: YouTube · Reddit · TikTok · Instagram · X (Twitter) · Facebook · Netflix · Twitch · Discord · Pinterest · LinkedIn · news sites · Chess.com · social media

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 · Block websites at night · Stop binge-watching · Quit Reddit · All guides