sodcalculator

10 Tech How-To

Fix Self-Assigned IP Address Error on Mac

Guide 10-42718 · Updated · Step by step

If your Mac shows a self-assigned IP address (like 169.254.x.x) in Network settings, it means your computer couldn’t get a proper IP from your router or DHCP server. This usually results in no internet access, even though Wi-Fi appears connected. This guide walks you through proven fixes, from quick renewals to deeper system resets, to get you back online.

What You’ll Need

  • Your Mac’s admin password (for some steps).
  • Access to your router (to restart it, if needed).
  • Patience — some steps require waiting for your Mac to refresh settings.

Step-by-Step

  1. Renew the DHCP Lease (Quickest Fix)
    Go to System Settings (or System Preferences on older macOS) → Network. Select your active Wi-Fi (or Ethernet) connection, click Details (or Advanced), then click TCP/IP. Click Renew DHCP Lease, then click OK. Wait 10 seconds and check if the IP changes to something like 192.168.x.x or 10.x.x.x.
  2. Turn Wi-Fi Off and On
    Click the Wi-Fi icon in the menu bar and toggle Wi-Fi off. Wait 15 seconds, then turn it back on. This forces your Mac to re-associate with the network and request a new IP.
  3. Restart Your Router and Mac
    Unplug your router’s power cable, wait 30 seconds, and plug it back in. Wait until the router’s lights stabilize (about 1–2 minutes). Then restart your Mac. This clears both the router’s DHCP table and your Mac’s network cache.
  4. Forget and Rejoin the Wi-Fi Network
    Go to System Settings → Wi-Fi. Click Details next to your network, then click Forget This Network. Rejoin by clicking the network name and entering the password. This resets any corrupted network profile.
  5. Disable Wi-Fi and Use Ethernet (Temporary)
    If you have an Ethernet cable, plug it in and turn off Wi-Fi. This gives you internet immediately and lets you verify the issue is Wi-Fi-specific. If Ethernet works, the problem lies with your Wi-Fi router or its settings.
  6. Set a Manual IP Address (Advanced)
    In Network → Details → TCP/IP, change Configure IPv4 from Using DHCP to Manually. Enter an IP like 192.168.1.50 (use your router’s subnet), Subnet Mask 255.255.255.0, and Router as your router’s IP (e.g., 192.168.1.1). Click OK. This bypasses DHCP but requires you to know your network’s range.
  7. Delete Wi-Fi Configuration Files (Last Resort)
    Open Finder → Go → Go to Folder (Cmd+Shift+G) and type /Library/Preferences/SystemConfiguration/. Look for files named com.apple.airport.preferences.plist, com.apple.network.identification.plist, NetworkInterfaces.plist, and preferences.plist. Back them up to your Desktop, then delete them. Restart your Mac. This forces macOS to rebuild network settings from scratch.

Common Mistakes

  • Not waiting long enough after router restart — Routers can take 2–3 minutes to fully boot. If you reconnect too early, you’ll still get a self-assigned IP.
  • Forgetting to renew after toggling Wi-Fi — Simply turning Wi-Fi off/on may not trigger a new DHCP request; you often need to also renew the lease.
  • Using the wrong manual IP range — If you set a manual IP outside your router’s subnet, you’ll have no connectivity. Check another device’s IP to see the correct range.
  • Skipping the router restart — Many users only restart their Mac, but the router’s DHCP pool may be exhausted or stuck. A router reboot clears that.

Tips

  • Check other devices — If your phone and other computers also have no internet, the problem is your router/ISP, not your Mac.
  • Update macOS — Occasionally, Wi-Fi bugs are fixed in system updates. Go to System Settings → General → Software Update.
  • Use a different DNS server — Even if you get a proper IP, DNS issues can mimic connectivity problems. Try setting DNS to 8.8.8.8 and 8.8.4.4 in network settings.
  • Reset NVRAM (Intel Macs only) — Shut down, then turn on and immediately press and hold Option+Command+P+R for 20 seconds. This can clear network-related hardware settings.

Troubleshooting

If you’ve tried all steps and still see a self-assigned IP:

  • Test in a different environment — Connect to a mobile hotspot or a public Wi-Fi. If it works, your home router is the issue. Consider resetting the router to factory defaults (check its manual).
  • Check for MAC address filtering — Some routers are set to only allow specific devices. Log into your router and ensure your Mac’s MAC address is not blocked.
  • Create a new network location — In Network settings, click the location menu (top of the window) and choose Edit Locations. Add a new location and switch to it. This gives a fresh network configuration.
  • Run wireless diagnostics — Hold the Option key and click the Wi-Fi icon, then choose Open Wireless Diagnostics. Follow the prompts to analyze your Wi-Fi environment.
  • Contact your ISP — If your router is fine but you still get a self-assigned IP, your ISP’s DHCP server may be down. A quick call can confirm.

Frequently Asked Questions

What does self-assigned IP mean?

It means your Mac couldn’t get an IP address from the router, so it assigned itself a link-local address (169.254.x.x). This allows local communication but not internet access.

Why does my Mac keep getting a self-assigned IP?

Common causes include: router DHCP issues, Wi-Fi interference, outdated network settings, or incorrect router configuration (like MAC filtering or exhausted IP pool).

Will resetting the router help?

Yes, in many cases. Restarting the router clears its DHCP table and forces it to hand out fresh IPs. A full factory reset is more drastic but can fix persistent issues.

Can I fix this without restarting my Mac?

Yes, you can try renewing the DHCP lease or toggling Wi-Fi first. Those are less disruptive and often work.

Is it safe to delete the plist files?

Yes, macOS will recreate them automatically. However, you’ll lose saved Wi-Fi passwords and network settings, so back them up first.

Does this happen on all Macs?

It can happen on any Mac, but it’s more frequent after macOS updates or when switching networks. The fixes are the same across recent versions.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →