How to block Amazon on Chrome

Sameed Ahmad
By Sameed Ahmad, who builds Focus AI (so read the Focus AI parts with that in mind).
Updated December 2026

To block Amazon shopping on Chrome without breaking AWS cloud tools, block amazon.com, www.amazon.com, and a.co in a Chrome blocker extension or your hosts file while leaving aws.amazon.com and console.aws.amazon.com unblocked. Amazon's 1-Click checkout and next-day delivery make 'checking the price of one item' during a stressful workday the fastest way to burn both focus and hundreds of dollars a month. Enable Allow in Incognito at chrome://extensions so logged-out product browsing stays covered too. Note that if you live outside the US, you should also list your country storefront (amazon.co.uk, amazon.ca, amazon.de). Focus AI blocks Amazon shopping pages automatically during work sessions while allowing aws.amazon.com or explicit 'order office supplies' tasks, and Pro adds Friend/Parent Passcode Lock for strict spending control. Focus AI is free for 3 AI focus sessions and up to 3 always-blocked sites.

Option 1: Block Amazon on Chrome with Focus AI (context-aware + Passcode Lock)

Focus AI gives you two ways to block Amazon in Chrome, Edge, Brave, and Firefox: put it in the Always-On Site Blocker (up to 3 sites free, unlimited on Pro) for a permanent lock, or run a context-aware AI focus session that blocks distractions while allowing task-relevant pages. On Pro, you can lock your settings behind a Friend/Parent Passcode Lock so you cannot switch the block off on impulse.

  1. Install Focus AI from the Chrome Web Store (free for 3 AI focus sessions and up to 3 always-blocked sites, no account needed).
  2. Open chrome://extensions, click Details on Focus AI, and turn on Allow in Incognito so private windows cannot bypass the block.
  3. Add amazon.com to your Always-On Site Blocker, or type your active task and click Lock me in.

Option 2: Block Amazon manually via the Mac or Windows hosts file (free)

Do not wildcard-block *.amazon.com if you use AWS (aws.amazon.com / console.aws.amazon.com) or Kindle cloud reading. In your hosts file, list only amazon.com, www.amazon.com, and regional retail domains (amazon.co.uk, amazon.ca) plus a.co shortlinks.

Exact domains and hosts file lines for Amazon:

127.0.0.1 amazon.com
::1 amazon.com
127.0.0.1 www.amazon.com
::1 www.amazon.com
127.0.0.1 smile.amazon.com
::1 smile.amazon.com
127.0.0.1 a.co
::1 a.co
Apply on Mac
Run sudo nano /etc/hosts in Terminal, paste the lines at the bottom, press Control-O then Control-X, and flush DNS with sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder.
Apply on Windows
Open Notepad as Administrator, open C:\Windows\System32\drivers\etc\hosts (file type: All Files), paste the lines, save, and run ipconfig /flushdns in Command Prompt.

Blocking multiple sites at once? Build a full copy-paste blocklist with our free Hosts File Website Blocker Generator →

Option 3: Standard list-based Chrome blocker extensions

List-based extensions such as BlockSite, StayFocusd, or LeechBlock NG let you block amazon.com faster than editing system files. Two trade-offs remain: domain lists are all-or-nothing (blocking legitimate work resources alongside feeds), and most standard extensions can be disabled in two clicks when temptation spikes.

Interactive Demo · Zero Install

Try Focus AI live against Amazon

Pick or type a real work task, then test any URL to see what stays open and what gets blocked.

amazon.com

Amazon shopping pages are impulse traps unrelated to "Building Next.js app".

BLOCKED
Session check log for “Building Next.js app”
Simulated client-side demo. In Chrome, Focus AI runs live on every tab during active sessions.Add Focus AI to Chrome
Why this site breaks focus

Why Amazon keeps pulling you back

One-click buying, saved cards, and Lightning Deals turn mild work stress into automatic retail therapy: you open Amazon to check one cable and check out forty minutes later with four boxes arriving tomorrow.

Best blocking strategy for Amazon: Engineers can safely block amazon.com while keeping aws.amazon.com open, and anyone ordering real office supplies can declare that task during a scheduled Focus AI session.
Privacy & pricing: Focus AI checks only the URL and brief page snippet during active sessions. Banking, login, email, and form inputs are skipped. Nothing is stored as browsing history or sold. Free for 3 AI focus sessions and up to 3 always-blocked sites, then $4.99/week, $14.99/month, or $79/year (save 56%).
FUTURE YOU IS WATCHINGLOCK IN

Ready to block Amazon without fighting yourself?

Start free with 3 AI focus sessions and up to 3 always-blocked sites. Add Friend/Parent Passcode Lock and unlimited protection anytime on Pro.

Add Focus AI to Chrome
Free for 3 AI focus sessions + 3 always-blocked sites · 30-second setup · No account needed

Frequently asked questions

How do I block Amazon shopping without blocking AWS for work?

In a hosts file, list amazon.com and www.amazon.com only (hosts files do not block subdomains automatically, so aws.amazon.com stays untouched). In Focus AI, AWS stays allowed during engineering tasks while Amazon retail pages get blocked.

How do I stop myself from unblocking Amazon to make an impulse purchase?

Lock amazon.com in Focus AI's Always-On Site Blocker and set up Friend/Parent Passcode Lock so a spouse or trusted friend holds the unlock code, forcing a cooling-off pause.

Does blocking amazon.com also block Amazon Prime Video?

In the US, yes for amazon.com/gp/video; add primevideo.com as well to block standalone Prime Video completely.

Block more distractions & guides