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.

App icons of Nudge, Apple Screen Time, SelfControl, Cold Turkey, Freedom

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.

AppBest forPriceWebsite
NudgeTop pickBlocking Instagram during work sessions$9.99 onceGet Nudge
Apple Screen TimeA built-in block with no TerminalFree, built into macOSVisit
SelfControlA free block that holds until a timer endsFreeVisit
Cold TurkeyMaximum frictionFree, Pro one-timeVisit
FreedomBlocking on Mac and phone together$8.99/mo or $99.50 lifetimeVisit
BlockSiteBrowser-extension blockingSee pricingVisit

Which tool should you pick?

Nudge

Blocks instagram.com in Safari and Chrome while a session runs, and lets it back in when you stop.

Apple Screen Time

No Terminal and no extra app, aimed at Safari.

SelfControl

A free Mac blocker that keeps a website block on until its timer ends.

Cold Turkey

Strict locked modes for people who need high friction.

Freedom

The same blocklists on Mac and phone.

The apps in detail

  1. Nudge

    Best for: Blocking Instagram during work sessions

    $9.99 once
    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.
    Download Nudge for macOS
  2. Apple Screen Time

    Best for: A built-in block with no Terminal

    Free, built into macOS
    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.
    Visit Apple Screen Time
  3. SelfControl

    Best for: A free block that holds until a timer ends

    Free
    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.
    Visit SelfControl
  4. Cold Turkey

    Best for: Maximum friction

    Free, Pro one-time
    Choose it if
    You need strict blocks and hard-to-bypass modes.
    Skip it if
    You want a gentle session workflow.
    Visit Cold Turkey
  5. Freedom

    Best for: Blocking on Mac and phone together

    $8.99/mo or $99.50 lifetime
    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.
    Visit Freedom
  6. 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.
    Visit BlockSite

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.

MethodEffortBrowsersEasy to undo?
Screen Time (built in)LowBuilt for Safari; test other browsersEasy: anyone with admin access can switch it off in System Settings
Hosts fileMedium (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 optionsLowOne browser onlyEasy: switch to another browser or profile
Nudge focus sessionLowSafari and ChromeBlocks 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.
  1. Click the Apple menu, open System Settings and click Screen Time in the sidebar (you may need to scroll). Turn it on if needed.

  2. Click Content & Privacy and turn it on.

  3. Open App Store, Media, Web & Games.

  4. Under Safari, choose Limit Adult Websites, then click Customize.

  5. 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.

  6. 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.
  1. Open Terminal and run:

    sudo nano /etc/hosts
  2. Enter your Mac password. Move to the bottom of the file and add:

    0.0.0.0 instagram.com
    0.0.0.0 www.instagram.com
  3. Press Control-O, then Return to save, and Control-X to exit.

  4. Flush the DNS cache so the change applies now:

    sudo dscacheutil -flushcache
    sudo killall -HUP mDNSResponder
  5. Quit 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.

  1. On the iPhone, open Settings and tap Screen Time.

  2. To cap the app, tap App Limits, add Instagram and set a time allowance.

  3. 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.
  1. Open Nudge and create a preset, such as Deep Work.

  2. Add instagram.com to the websites to block. If you use an Instagram app on your Mac, add that app too.

  3. Start the preset from the menu bar, or use Quick Focus for a one-off session.

  4. 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.

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
Nudge preset with its app list and blocked websites

Sources

How-toHow to block websites on a Mac (2026)Website blockingBest website & app blockers for Mac in 2026Blocking strategyApp blocker vs website blocker for Mac: which do you need?PomodoroPomodoro timer with website blocking: a Mac setup that actually helps