How to block Medium on Chrome
Updated December 2026
To block Medium on Chrome, add medium.com to a website blocker extension or add medium.com and www.medium.com to your Mac or Windows hosts file. Medium sits in an awkward middle ground for engineers, designers, and founders: Google frequently links to genuinely helpful Next.js, SQL, or product posts on medium.com, yet Medium's homepage and 'Recommended from Medium' footer push endless productivity hot takes and listicles. Blocking medium.com in a hosts file kills helpful search answers alongside the distraction feed. Focus AI gives you the smarter split: during a 'Building Next.js app' session, a relevant Medium engineering guide loads while Medium's homepage feed and unrelated life-advice posts get blocked. Focus AI is free for 3 AI focus sessions and up to 3 always-blocked sites.
Option 1: Block Medium on Chrome with Focus AI (context-aware + Passcode Lock)
Focus AI gives you two ways to block Medium 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.
- Install Focus AI from the Chrome Web Store (free for 3 AI focus sessions and up to 3 always-blocked sites, no account needed).
- Open
chrome://extensions, click Details on Focus AI, and turn on Allow in Incognito so private windows cannot bypass the block. - Add
medium.comto your Always-On Site Blocker, or type your active task and click Lock me in.
Option 2: Block Medium manually via the Mac or Windows hosts file (free)
Note that major Medium publications also run on custom domains (like towardsdatascience.com or betterprogramming.pub), which static medium.com rules miss; Focus AI evaluates them by content during active sessions.
Exact domains and hosts file lines for Medium:
127.0.0.1 medium.com ::1 medium.com 127.0.0.1 www.medium.com ::1 www.medium.com
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.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 medium.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.
Try Focus AI live against Medium
Pick or type a real work task, then test any URL to see what stays open and what gets blocked.
Browsing medium.com without a direct match to "Building Next.js app" turns into a reading rabbit hole.
Why Medium keeps pulling you back
Medium turns reading about productivity into procrastination itself: one technical search click leads to five 'Why I Quit Big Tech' essays underneath it.
Ready to block Medium 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 ChromeFrequently asked questions
Can I open technical Medium articles from Google while blocking the Medium feed?
Yes. Focus AI inspects each Medium article against your declared session task, allowing relevant technical tutorials and blocking off-topic feeds and listicles.
Does blocking medium.com block publications on custom domains?
Not in a manual hosts file, because publications like towardsdatascience.com use separate domains. Focus AI evaluates pages by content regardless of domain.
Is Focus AI free?
Focus AI is free for 3 AI focus sessions and up to 3 always-blocked sites.