How to Fix Wi-Fi Connected But No Internet on macOS

Quickly resolve self-assigned IP address errors, DNS lookup failures, and stale network plist files on macOS.

How to Fix Wi-Fi Connected But No Internet on macOS

Your Mac displays the Wi-Fi connected icon, but every browser tab displays “You are not connected to the Internet” or DNS resolution timed out. Let’s resolve this common macOS network stack lockup.

Why This Problem Happens

  • Corrupted configuration plist files in /Library/Preferences/SystemConfiguration/.
  • Stale DNS cache or failed DHCP lease renewal.

Step-by-Step Troubleshooting Procedure

Step 1: Renew the DHCP Lease in macOS Settings

Objective: Requests a fresh IP address from your router.

  1. Go to Apple Menu > System Settings > Wi-Fi.
  2. Click “Details…” next to your connected Wi-Fi network.
  3. Click the “TCP/IP” tab on the left.
  4. Click “Renew DHCP Lease”, then click OK.

Step 2: Add Reliable Public DNS Servers (Cloudflare / Google)

Objective: Bypasses slow or offline ISP DNS servers.

  1. In the same Wi-Fi Details dialog, click the “DNS” tab.
  2. Click the “+” button under DNS Servers.
  3. Add 1.1.1.1 and 8.8.8.8.
  4. Click OK to save and test opening a website.

Verified Troubleshooting Tips

  • Flush the macOS DNS cache in Terminal: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder.

Frequently Asked Questions

What does a 169.254.x.x IP address mean on Mac?

That is an Automatic Private IP Address (APIPA). It means your Mac connected to the Wi-Fi signal, but your router’s DHCP server failed to hand it an IP address.