Safari "You Are Not Connected to the Internet" (But You Are) on Mac? Fixes (2026)

Your Wi‑Fi icon shows full bars. Messages sync, Spotify plays — but Safari throws up a gray page: "You Are Not Connected to the Internet." It is one of the most confusing errors on a Mac, because the Mac is telling you two different things at once. The good news: nine times out of ten this is a software or network hiccup you can clear in a couple of minutes, not a broken MacBook.

Work through these fastest‑first. Stop as soon as pages load.

First: is it Safari only, or the whole Mac?

Open a second browser (Chrome, or the App Store app) and try to load anything. This one test splits the problem in half:

  • Only Safari fails → it is Safari's cache, an extension, or a stale DNS entry (fixes 4–7 below).
  • Everything fails → it is the network layer: a captive portal, DNS, or the router (fixes 1–3 and 8).

If every app is offline, this is really the same family as Safari's "Server cannot be found" error — the same fixes apply.

The fixes, fastest first

1. Look for a captive‑portal login (the #1 cause on public Wi‑Fi)

Coffee shops, hotels, airports and campus Wi‑Fi make you accept terms or sign in on a web page before they let traffic through. Your Mac is connected to the router but the router is blocking the internet until you log in — which is exactly the "connected but not connected" state you are seeing. Force the login page to appear: open Safari and go to http://captive.apple.com (or http://neverssl.com). The portal should pop up. Sign in and the error disappears.

2. Toggle Wi‑Fi off and on

Click the Wi‑Fi menu (Control Center), turn Wi‑Fi Off, wait five seconds, turn it back On, and rejoin the network. This forces a fresh DHCP lease — which fixes a "self‑assigned IP" or a bad address that leaves you connected with no route out.

3. Restart the router (and give it two minutes)

If every device in the house is affected, the router is the suspect. Unplug it for 30 seconds, plug it back in, and wait a full two minutes for it to fully boot before testing. If only your Mac is affected, skip this and keep going.

4. Flush the DNS cache

A stale or poisoned DNS cache makes your Mac "connected" but unable to translate site names into addresses — pages just won't resolve. In Terminal run:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Enter your password (it stays blank as you type) and press Return, then reload Safari.

5. Switch to a public DNS server

If your ISP's DNS is down, you are online but nothing loads. Go to System Settings → Wi‑Fi → Details… → DNS, click +, and add 1.1.1.1 (Cloudflare) and 8.8.8.8 (Google). Save and reload. Full walkthrough: how to change DNS on a Mac.

6. Check the date, time, and time zone

This is the sneaky one. If your Mac's clock is wrong, every secure (HTTPS) site's certificate looks "expired" and Safari can refuse the connection — sometimes reporting it as being offline. Go to System Settings → General → Date & Time and turn on "Set time and time zone automatically."

7. Clear Safari's cache and disable extensions

If only Safari fails, a corrupt cache or a misbehaving content blocker is the likely culprit. Test in a Private window (File → New Private Window) first — extensions are off there. If that works, the problem is an extension: turn them off in Safari → Settings → Extensions. To clear the cache, see how to clear the cache on a Mac.

8. Turn off any VPN or check Network Locations

A disconnected VPN, a leftover VPN configuration profile, or a "kill switch" can leave you connected to Wi‑Fi with no path to the internet. Disconnect the VPN entirely and retest. If you have set up Network Locations, make sure you are on the right one (Automatic).

9. Renew the DHCP lease and restart

Go to System Settings → Wi‑Fi → Details… → TCP/IP and click Renew DHCP Lease. If that fails, a full restart clears any wedged network state. If the error only appears after your Mac wakes from sleep, and it keeps coming back, that is the classic pattern in MacBook Wi‑Fi keeps dropping — start there.

When it is the hardware, not the software

If Wi‑Fi is greyed out entirely, shows "No hardware installed," or the signal is fine two feet from the router but useless across the room, you may be looking at a failing Wi‑Fi antenna or logic‑board fault. Those repairs are rarely worth it on an older Mac — a Wi‑Fi board repair can run $300–$600. Before you pay for that, it is often smarter to sell the Mac as‑is toward an upgrade, and a certified refurbished model from our Apple clearance section usually costs less than the repair.

Frequently Asked Questions

Why does my Mac say I'm not connected when Wi‑Fi shows connected?

Because "connected to Wi‑Fi" and "connected to the internet" are two different things. Your Mac has joined the router (full bars) but something between the router and the wider internet is blocking traffic — most often a captive‑portal login you haven't completed, a DNS failure, or your ISP being down.

How do I know if it's a captive portal?

You're on public or hotel/campus Wi‑Fi and you never saw a "sign in / accept terms" page. Open http://captive.apple.com to force the login page to appear.

My clock is right but it still fails — now what?

Switch to a public DNS server (fix 5) and flush the DNS cache (fix 4). If a single browser is the only thing failing, it's a Safari cache/extension issue, not a network one (fix 7).

Could this mean my MacBook's Wi‑Fi card is dying?

Possibly, if the signal is weak everywhere or Wi‑Fi keeps dropping right after waking from sleep. Test another device on the same network — if only your Mac struggles, and the software fixes above don't hold, it may be the antenna or board. See Wi‑Fi keeps dropping for how to confirm.

All my other apps work but only Safari says I'm offline. Why?

That points squarely at Safari — a corrupt cache, an out‑of‑date content blocker, or a stuck DNS entry for one site. Test in a Private window; if that loads, it's an extension.

Ready for a Mac that just works?

Every refurbished Mac from LuxuriousComputers comes with a 1-year warranty, 30-day returns, and saves you up to 55% vs retail.