How to block Instagram on a Mac (2026)
Block Instagram on a Mac with Screen Time, the hosts file, browser options or a focus app. Steps, which browsers each method covers, and how easy each is to undo.

Quick answer
The fastest block for Chrome and other browsers on this Mac that use the system resolver is the hosts file: add instagram.com and www.instagram.com in Terminal, then flush the DNS cache. If you would rather not use Terminal, use Apple Screen Time. If you want Instagram blocked only while you work, use a focus app such as Nudge, which blocks the websites and apps you pick during a session in Safari and Chrome.
How do these apps compare?
Block instagram.com on a Mac and choose the method by which browsers it covers and how easy it is to undo.
| App | Best for | Price | Website |
|---|---|---|---|
| Blocking Instagram during work sessions | $9.99 once | Get Nudge | |
| A built-in block with no Terminal | Free, built into macOS | Visit | |
| A free block that holds until a timer ends | Free | Visit | |
| Maximum friction | Free, Pro one-time | Visit | |
| Blocking on Mac and phone together | $8.99/mo or $99.50 lifetime | Visit | |
| Browser-extension blocking | See pricing | Visit |
Which tool should you pick?
Best for work sessions
Nudge
Blocks instagram.com in Safari and Chrome while a session runs, and lets it back in when you stop.
Built in and free
Apple Screen Time
No Terminal and no extra app, aimed at Safari.
Free and strict
SelfControl
A free Mac blocker that keeps a website block on until its timer ends.
Hardest to undo
Cold Turkey
Strict locked modes for people who need high friction.
Across devices
Freedom
The same blocklists on Mac and phone.
The apps in detail
$9.99 once1. Website and app blocking
Nudge
Best for: Blocking Instagram during work sessions
- Choose it if
- You want instagram.com, and the Instagram app if you use it on your Mac, blocked while you work and reachable afterwards.
- Skip it if
- You need to block Instagram on a phone. Nudge is a Mac app only.
Free, built into macOS2. Usage limits
Apple Screen Time
Best for: A built-in block with no Terminal
- Choose it if
- You want a free block from System Settings and mainly use Safari.
- Skip it if
- You use Chrome as well, or want the block tied to work sessions.
Free3. Website blocking
SelfControl
Best for: A free block that holds until a timer ends
- Choose it if
- You want a free Mac-only blocker that is difficult to bypass.
- Skip it if
- You need app blocking, sync or flexible exceptions.
Free, Pro one-time4. Website and app blocking
Cold Turkey
Best for: Maximum friction
- Choose it if
- You need strict blocks and hard-to-bypass modes.
- Skip it if
- You want a gentle session workflow.
$8.99/mo or $99.50 lifetime5. Website and app blocking
Freedom
Best for: Blocking on Mac and phone together
- Choose it if
- Instagram is a problem on both your Mac and your phone.
- Skip it if
- You want a Mac-local session tool only.

6. Browser blocking
BlockSite
Best for: Browser-extension blocking
- Choose it if
- You want a lightweight block inside one browser.
- Skip it if
- You use several browsers or profiles, since an extension affects only the browser it is installed in.
Which method should you use to block Instagram?
Use the hosts file for a quick block in Chrome and other browsers that use the system resolver (Safari too, with iCloud Private Relay off), Screen Time for a no-Terminal block, and Nudge when you want the block to follow your work sessions. All free methods are easy to undo, so pick based on how much friction you want.
| Method | Effort | Browsers | Easy to undo? |
|---|---|---|---|
| Screen Time (built in) | Low | Built for Safari; test other browsers | Easy: anyone with admin access can switch it off in System Settings |
| Hosts file | Medium (Terminal) | Chrome and other browsers on this Mac that use the system resolver. Safari too, unless iCloud Private Relay is on. | Easy: delete two lines and flush DNS |
| Browser-level options | Low | One browser only | Easy: switch to another browser or profile |
| Nudge focus session | Low | Safari and Chrome | Blocks during sessions you start or schedule; you decide when it runs |
Can you block Instagram with Screen Time?
Yes. Screen Time is built into macOS and needs no Terminal. It has a web content restriction that lets you add a site to a restricted list. It is aimed at Safari, so check other browsers after you set it up.
- Honest limit: the restriction lives in the same settings it was set in, and the exact labels can shift between macOS versions. If you want it to hold, Screen Time can lock its settings with an optional passcode (check the label on your macOS version), or you can tie the block to a session instead.
Click the Apple menu, open System Settings and click Screen Time in the sidebar (you may need to scroll). Turn it on if needed.
Click Content & Privacy and turn it on.
Open App Store, Media, Web & Games.
Under Safari, choose Limit Adult Websites, then click Customize.
Click the + button under the Restricted list, enter https://www.instagram.com and click Done. To remove it later, select the site and click the minus button.
Open instagram.com in Safari to confirm it is blocked, and repeat in any other browser you use.
How do you block Instagram with the hosts file?
Point instagram.com at an address that goes nowhere. Chrome reads the hosts file itself, and other browsers on this Mac that use the system resolver read it too. Safari follows it as well, unless iCloud Private Relay is on. Each entry covers one hostname only, with no wildcards, so list instagram.com and www.instagram.com and any other Instagram subdomain you use.
With iCloud Private Relay on, Safari sends its web requests through Apple's relays, so a hosts entry may not apply there; turn Private Relay off for Safari, then open the site to confirm it is blocked.
- To unblock, open the file again, delete the two lines and flush the cache again. Quit and reopen the browser after flushing, since open tabs and connections can keep the site loading.
- Honest limit: it is a permanent block with no timer. You have to edit the file by hand to turn it on or off, and anyone who knows the trick can reverse it. A proxy or VPN that resolves names remotely does not read this Mac's hosts file. Using it as a daily on and off switch is tedious.
Open Terminal and run:
sudo nano /etc/hostsEnter your Mac password. Move to the bottom of the file and add:
0.0.0.0 instagram.com 0.0.0.0 www.instagram.comPress Control-O, then Return to save, and Control-X to exit.
Flush the DNS cache so the change applies now:
sudo dscacheutil -flushcache sudo killall -HUP mDNSResponderQuit and reopen your browser, then open instagram.com and confirm it no longer loads.
Can your browser block Instagram on its own?
Only partly, and only inside that one browser. Neither Safari nor Chrome has a built-in website blocklist for personal use. Safari relies on Screen Time (above). Chrome has no per-site block in its Settings; it relies on extensions from the Chrome Web Store or system-level blocks such as the hosts file.
A browser extension affects only the browser it is installed in, and it can be turned off from the extensions page. If you use more than one browser or profile, Instagram stays reachable in the others. Step-by-step options are in the Chrome guide and the Safari guide. For the general method, see how to block websites on a Mac.
How do you block Instagram on your iPhone too?
Use Screen Time on the iPhone. A block on your Mac does not carry over to the phone, and Nudge is a Mac app only. Menu names differ slightly between iOS versions. Other phone apps can also cover this.
On the iPhone, open Settings and tap Screen Time.
To cap the app, tap App Limits, add Instagram and set a time allowance.
To block the website, tap Content & Privacy Restrictions and switch it on, then tap App Store, Media, Web, & Games, then Web Content, then Limit Adult Websites. Under Never Allow, tap Add Website and enter instagram.com.
How do you block Instagram only during work sessions?
Use a focus app, so the block runs when you want it and not otherwise. Add Instagram to a Nudge preset and start the session from the menu bar. Nudge blocks the websites and apps you picked while the session runs, and websites are blocked in Safari and Chrome.
- Instagram is blocked while you work and reachable after the session ends. Nudge costs $9.99 once for Lifetime Access, with no subscription, and every Mac gets a 7-day free trial that needs no email, password or card.
- To compare other tools, read the best website blocker apps for Mac. If you only need a free timer for focus blocks, try the Pomodoro timer.
Open Nudge and create a preset, such as Deep Work.
Add instagram.com to the websites to block. If you use an Instagram app on your Mac, add that app too.
Start the preset from the menu bar, or use Quick Focus for a one-off session.
Optional: add a schedule so the preset runs on the days and hours you choose.
FAQ
What is the fastest way to block Instagram on a Mac?
Add instagram.com and www.instagram.com to the hosts file in Terminal and flush the DNS cache. It takes about two minutes and applies to browsers on this Mac that use the system resolver or Chrome's own resolver (Safari too, with iCloud Private Relay off). It needs an admin password. Screen Time is the no-Terminal alternative.
Does Screen Time block Instagram in Chrome?
Screen Time web content restrictions are built around Safari. Do not assume they cover Chrome: after adding the site, open instagram.com in each browser you use and check. The hosts file or a focus app that supports Chrome covers it directly; Chrome has no per-site block in its own Settings.
Can I block only Instagram and keep other sites open?
Yes. Each method on this page blocks specific addresses, so only instagram.com and www.instagram.com are affected.
Is blocking Instagram on a Mac permanent?
Only as long as you leave the block in place. All the free methods can be reversed by anyone with admin access, which is why many people tie the block to a work session or a schedule instead of making it permanent.
Does blocking Instagram on my Mac block it on my iPhone?
No. A Mac block applies to that Mac. For the phone, use Screen Time on iPhone or another phone app. Nudge is a Mac app and does not block phones.
Can Nudge block Instagram only during work hours?
Yes. Add instagram.com to a preset and run it from the menu bar, or use a schedule to run the preset on the days and hours you choose. Websites are blocked in Safari and Chrome.
Nudge for Mac
Turn the guide into a focus session
Pick the apps and websites that pull you away and start the session from the menu bar. They stay blocked until it ends. $9.99 once after 7 days free, no card to start.
Download for macOS



