How to block Instagram on Windows
Updated December 2026
To block Instagram on Windows 10 or Windows 11, choose between three proven methods: editing C:\Windows\System32\drivers\etc\hosts as Administrator followed by ipconfig /flushdns (free across Chrome, Edge, and Firefox), configuring Microsoft Family Safety for a child's Windows login (great for blocking both sites and Windows desktop apps), or installing Focus AI inside Chrome, Microsoft Edge, Brave, or Firefox. Adding instagram.com, www.instagram.com, m.instagram.com to the Windows hosts file stops Instagram system-wide without extra software, though anyone with Windows Administrator rights can delete those lines in seconds. For adults, remote workers, and parents on Windows, Focus AI adds Always-On Site Blocker (up to 3 sites free, unlimited Pro), Quit Wall strict mode, and Friend/Parent Passcode Lock.
1. Block Instagram on Windows 10 & 11 via the hosts file (free)
- Open the Windows Start Menu, search for Notepad, right-click it, and click Run as administrator.
- Click File > Open, navigate to C:\Windows\System32\drivers\etc\, change the bottom-right dropdown from Text Documents (*.txt) to All Files (*.*), and open hosts.
- Paste the exact 127.0.0.1 and ::1 lines for Instagram shown below at the bottom of the file, then press Ctrl + S to save.
- Open Command Prompt and run ipconfig /flushdns, then close and reopen Chrome, Edge, or Firefox.
2. Block Instagram on Windows for kids with Microsoft Family Safety
- Ensure your child signs into Windows with a Standard (non-Administrator) Microsoft child account.
- Sign in at family.microsoft.com from your parent account, select the child, and open Content filters > Web and search.
- Enable web filtering, add instagram.com under Blocked sites, and block unmonitored browsers or desktop game launchers under Apps and games.
3. Block Instagram on Windows Chrome, Edge, Brave, or Firefox with Focus AI
- Install Focus AI from the Chrome Web Store (works natively in both Chrome and Microsoft Edge) or Mozilla Add-ons (Firefox).
- Enable Allow in Incognito (Chrome) or Allow in InPrivate (Edge) inside your browser's extensions page.
- Add instagram.com to Always-On Site Blocker (free for up to 3 sites) or run context-aware AI focus sessions, with optional Friend/Parent Passcode Lock on Pro.
Exact Instagram domains & subdomains (hosts file block)
Instagram's web app keeps persistent login cookies, so closing the tab never logs you out. Blocking instagram.com in your hosts file requires blocking www.instagram.com and m.instagram.com plus IPv6 (::1), and it cuts off instagram.com/direct messages used by freelancers, founders, and study groups.
127.0.0.1 instagram.com ::1 instagram.com 127.0.0.1 www.instagram.com ::1 www.instagram.com 127.0.0.1 m.instagram.com ::1 m.instagram.comNeed multiple sites? Open the free Hosts File Website Blocker Generator →
Try Focus AI live against Instagram
Pick or type a real work task, then test any URL to see what stays open and what gets blocked.
Instagram (social feed) does not serve "Building Next.js app".
What breaks Instagram blocks on Windows
On Windows 10 & 11, watch two common bypasses: Microsoft Family Safety's native web filter only filters Microsoft Edge unless you also block Chrome and Firefox under Family Safety App Limits, and Chrome/Edge Secure DNS (DoH) can ignore your Windows hosts file until Secure DNS is turned off.
Instagram runs on variable reward: sometimes a refresh shows a real message, most of the time it serves Stories and Reels engineered to keep your thumb moving. Add 24-hour expiring Stories and browser notification badges, and even people who deleted the phone app find themselves opening instagram.com on their laptop between work tabs.
Block Instagram on Windows and keep it blocked
Start free with 3 AI focus sessions and up to 3 always-blocked sites. Upgrade anytime for Friend/Parent Passcode Lock and unlimited protection.
Add Focus AI to ChromeFrequently asked questions
Why does Windows block me from saving the hosts file for Instagram?
You must open Notepad via Right-Click > Run as administrator. If saving still fails, check whether your antivirus software temporarily locks C:\Windows\System32\drivers\etc\hosts against edits.
Does Microsoft Family Safety block Instagram in Chrome on Windows?
No. Microsoft Family Safety web filtering enforces natively in Microsoft Edge only. Either restrict Chrome under Family Safety App limits, or install Focus AI with Parent Passcode Lock inside Chrome.
Does Focus AI work on Microsoft Edge on Windows 11?
Yes. Microsoft Edge supports Chrome Web Store extensions natively, so Focus AI runs on Edge with full Always-On Site Blocker, AI sessions, and Passcode Lock support.