How to Fix a Self Assigned IP Address on Mac: Step-by-Step Solutions

Learn easy step-by-step solutions to fix a self assigned IP address on Mac and regain reliable internet connectivity.

Share
Fixing self assigned IP address on Mac by adjusting network settings

You connect your Mac to Wi-Fi or Ethernet only to find the network icon showing a self-assigned IP address beginning with 169.254. This means your Mac failed to get a valid IP from the DHCP server, cutting off internet access.

Finding a reliable self assigned IP address on Mac fix depends on diagnosing where the failure occurs. Often, the problem starts with the DHCP lease not renewing properly or network settings conflicting, especially IPv4 and IPv6 configurations. Your Mac’s System Preferences hold the key: under Network settings, the Renew DHCP Lease button and exact menu paths differ slightly by macOS version but are crucial to resolving the issue.

Sometimes the fix requires deleting specific system configuration files to reset network preferences or creating a new network location to clear persistent errors. Other times, changing DNS servers to trusted public IPs or checking physical network connections solves the problem. Understanding these specific steps and the order in which to apply them can restore your Mac’s connectivity efficiently.

Last verified November 2026 against Techbout, iGeeksBlog, The Gadget Buyer | Tech Advice (full list at the end).

Which fix fits your situation and device type

  1. If your Mac shows a self-assigned IP address but you use either Wi-Fi or Ethernet and the issue is minor, start by renewing the DHCP lease. This requests a new IP from the router and often resolves temporary glitches.
  2. If renewing the lease does not work and the self-assigned IP error persists or recurs on either connection type, reset your network preferences. This involves deleting specific system configuration files to clear corrupted settings.
  3. If resetting preferences still does not fix the problem, create a new network location in System Preferences. This provides a fresh network setup, avoiding conflicts from previous configurations.
  4. For Ethernet users with persistent problems, inspect the physical connections first. A faulty or loose Ethernet cable or weak Wi-Fi signal can prevent communication with the DHCP server, causing self-assigned IP errors. Also, restart your modem and router to refresh network devices.
  5. If you suspect IPv6 conflicts, adjust the setting for IPv6 configuration. Change it from Automatic to Link-Local Only under Network > Advanced > TCP/IP to prevent DHCP conflicts that macOS sometimes experiences.
  6. If your Mac obtains a valid IP address but connectivity remains unreliable, change your DNS servers. Add reliable public DNS such as Google DNS (8.8.8.8, 8.8.4.4) or Cloudflare DNS (1.1.1.1) in Network preferences to fix name resolution issues.

This decision matrix guides you from the simplest fix to more involved steps, based on your device type and symptom severity. Checking cables and signal strength early can save time, especially for Ethernet users. For a detailed explanation of these steps and when to apply each, see this resource.

Renew the DHCP lease to request a new IP address

This process refreshes your IP configuration, replacing any expired or conflicting lease.

  1. Click the Apple logo and open System Settings.
  2. Select Wi-Fi if you use wireless, or Network for Ethernet connections.
  3. For Wi-Fi, click Details next to your connected network; for Ethernet, choose the interface and click Details.
  4. Switch to the TCP/IP tab.
  5. Click the Renew DHCP Lease button to force your Mac to ask the DHCP server for a new IP address.
  6. Wait a few moments for the new IP address to appear in the IPv4 section, indicating success.

Try this step first for minor or recent connection issues before trying more complex fixes. Renewing the DHCP lease must come after confirming your Mac is connected to the network; otherwise, the request fails. If you run this without a proper connection, your Mac might keep the self-assigned address, prolonging the issue.

This method is effective because it overrides the current self-assigned IP, compelling the DHCP server to assign a valid address. For details on macOS settings navigation and the button location, see this guide.

Reset network preferences by deleting system configuration files

Corrupted or conflicting network settings can cause persistent self-assigned IP address issues on your Mac. To clear these, you must delete specific system configuration files that store your network preferences. macOS will automatically recreate fresh versions of these files when you restart.

  1. Open Finder and click the Go menu at the top of the screen.
  2. Select "Go to Folder" and enter /Library/Preferences/SystemConfiguration/, then click Go.
  3. Locate and delete the following files: com.apple.airport.preferences.plist, NetworkInterfaces.plist, Preferences.plist, and com.apple.network.identification.plist.
  4. Close Finder and restart your Mac. Upon reboot, macOS will generate new, default network preference files.

Deleting these files resets your network settings without affecting personal data or installed applications.

After restarting, verify your network connections and attempt to connect again. This reset often resolves stubborn self-assigned IP errors that other steps do not fix.

Create a new network location for a fresh network setup

If you face persistent self-assigned IP address issues after other fixes, creating a new network location lets you start with a clean network configuration without deleting any files. This approach resets your Mac’s network settings to default for that location and often resolves hidden conflicts.

  1. Open System Preferences and select Network. You will see your current network connections listed.
  2. Click the Location dropdown menu at the top of the Network window, then choose Edit Locations.... A dialog listing your existing locations will appear.
  3. Press the + button to add a new location. Enter a name, such as "Fresh Setup", and click Done. This creates a separate network profile with default settings.
  4. Select the new location from the Location dropdown menu and click Apply in the lower-right corner. This activates the new location and resets your network settings.
  5. Check your network status. The Mac begins network configuration anew, which often clears persistent self-assigned IP problems.

This method does not remove any system files but effectively isolates your network settings. Use it especially if resetting preferences by deleting system files did not resolve the issue. Creating a new network location is a straightforward way to bypass corrupted or conflicting configurations.
Learn more about creating new network locations.

Configure IPv4 and IPv6 settings to prevent conflicts

Properly configuring your Mac’s IP protocols is essential to avoid self-assigned IP address errors caused by misconfiguration. Start by setting Configure IPv4 to Using DHCP. This ensures your Mac requests a valid IP address from the network automatically.

Create a new network location to start fresh with network settings – self assigned IP address on Mac fix

Next, adjust the IPv6 settings. By default, Configure IPv6 is set to Automatically. While this works in many cases, it can sometimes conflict with the DHCP process, leading to self-assigned IP issues. If you notice persistent problems after renewing the DHCP lease or resetting network preferences, switch IPv6 to Link-Local Only.

  1. Open System Settings by clicking the Apple logo and selecting System Settings.
  2. Navigate to Network and choose your active network connection (Wi-Fi or Ethernet).
  3. Click Details, then go to the TCP/IP tab.
  4. Set Configure IPv4 to Using DHCP. You should see your IP address update to a valid number assigned by your router.
  5. Set Configure IPv6 to Automatically. If this causes IP conflicts or errors, change it to Link-Local Only instead. This limits IPv6 to local network addresses, preventing interference with DHCP.
  6. Apply the changes and check your connection. A valid IP address should appear without the "self-assigned" label.

Switching IPv6 from Automatic to Link-Local Only resolves conflicts specific to macOS’s DHCP handling and is a recommended step when other fixes fail. This adjustment ensures your Mac obtains a proper IP address without protocol clashes, stabilizing your network connection. More details.

  1. Open System Preferences and select Network. You will see a list of your network interfaces on the left.
  2. Select your active network connection, either Wi-Fi or Ethernet, then click the Advanced button in the lower right.
  3. Go to the DNS tab. Here you will see a list of DNS servers currently configured.
  4. Click the + button below the DNS Servers box and add one of the reliable public DNS addresses: 8.8.8.8 (Google), 8.8.4.4 (Google), 1.1.1.1 (Cloudflare), or 9.9.9.9 (Quad9).
  5. You can add more than one by repeating the previous step. These servers are known for stability and speed, reducing DNS resolution failures that cause connectivity problems despite having a valid IP address.
  6. After adding DNS servers, click OK to close the advanced settings window.
  7. Click Apply in the main Network preferences pane to save changes. Your Mac will now use these DNS servers for name resolution.
  8. Test your internet connection by browsing or pinging a website. Successful loading indicates DNS-related issues are resolved.

This step targets DNS resolution rather than IP assignment, addressing a common overlooked cause of network issues on macOS.

Check physical network connections and restart devices

If you use Wi-Fi, assess the signal strength. A weak connection can lead to DHCP failures. Move closer to your router to improve signal quality and reduce packet loss.

Turn off your modem and router, unplug them if possible, and wait at least 30 seconds. This pause allows any temporary glitches or memory issues in the devices to clear.

After powering the modem and router back on, restart your Mac. This refreshes the network stack and helps your Mac establish a new connection with the DHCP server.

  1. Inspect Ethernet cables for damage or looseness; a good connection should feel secure and free of frays. If the cable is damaged, replace it.
  2. Check Wi-Fi signal strength by clicking the Wi-Fi icon in the menu bar; if the signal is weak, move closer to the router until the signal improves.
  3. Power off your modem and router by unplugging them, wait at least 30 seconds to allow a full reset.
  4. Plug in and power on the modem and router, wait until all lights indicate normal operation.
  5. Restart your Mac to clear any cached network errors and attempt to obtain a valid IP address anew.

Hardware issues often underlie self-assigned IP errors and can waste time if overlooked.

Detailed hardware checks and restarts help resolve DHCP communication failures that cause self-assigned IP addresses.

Common mistakes that prolong self-assigned IP errors

  1. Skipping physical connection checks and device restarts. Users often dive straight into software settings without verifying Ethernet cables or router status. Faulty cables or router glitches can cause DHCP failures that produce self-assigned IP addresses. Confirm cable integrity and power cycle your router and modem first to avoid wasting time on ineffective software fixes.
  2. Leaving IPv6 set to Automatic despite conflicts. The default IPv6 setting can clash with DHCP, causing persistent IP assignment issues. Switch IPv6 to Link-Local Only in Network > Details > TCP/IP to prevent these conflicts and stabilize IP address allocation.
  3. Deleting firewall preference files without preparation. Removing files like com.apple.alf.plist resets firewall settings and triggers unexpected permission requests for apps. Be ready to reauthorize software access before deleting these preferences to avoid disruptions.
  4. Not creating a new network location after resetting preferences fails. If deleting system configuration files does not resolve the issue, applying a new network location in System Settings > Network provides a fresh setup. Skipping this step can prolong errors by retaining problematic configurations.
  5. Ignoring DNS server updates when connectivity issues persist. Even with a valid IP, outdated or unreliable DNS servers can block internet access. Switch to trusted public DNS addresses like 8.8.8.8 or 1.1.1.1 in Network > DNS to restore proper name resolution.

How to confirm your Mac has a valid IP address after fixes

  1. Open System Preferences and go to Network.
  2. Select your active network interface, such as Wi-Fi or Ethernet, from the list on the left.
  3. Click Details or Advanced, then open the TCP/IP tab.
  4. Check the IPv4 Address field. A valid IP address will not start with 169.254.. If the address begins with 169.254., your Mac is still using a self-assigned IP, indicating DHCP assignment failed.
  5. Open Terminal and enter ifconfig. Look for your network interface (e.g., en0 for Ethernet or en1 for Wi-Fi) and verify the inet value is not in the 169.254.x.x range.
  6. If using Ethernet, ensure the cable is physically connected and the Status in System Preferences shows Connected.
  7. Test your internet connection by opening a website in a browser or running ping -c 3 google.com in Terminal. Successful replies confirm network access.

Repeat these checks periodically after fixes. If the IP reverts to 169.254.x.x, the issue persists and needs further troubleshooting. Valid IP addresses indicate your Mac is correctly obtaining network settings from the DHCP server and should have normal connectivity. This method ensures confirmation beyond appearance, verifying your Mac's network functionality at both the system and command-line levels. More details on self-assigned IP addresses.

How to check your Mac’s IP and MAC addresses using ipconfig – self assigned IP address on Mac fix

Common mistakes that prolong self-assigned IP errors

  • Ignoring the DHCP lease order: Renewing DHCP lease without first disconnecting and reconnecting the interface often fails because the Mac does not properly request a new IP, so always disconnect your Wi-Fi or Ethernet before renewing the lease.
  • Deleting incorrect system files: Removing unrelated or wrong network preference files can cause configuration loss or other network issues; only delete the specific files named com.apple.network.identification.plist, com.apple.airport.preferences.plist, NetworkInterfaces.plist, and preferences.plist in /Library/Preferences/SystemConfiguration/.
  • Overlooking IPv6 settings: Leaving IPv6 enabled in automatic mode can cause IP conflicts; setting IPv6 to "Link-local only" is necessary to prevent DHCP-related problems.
  • Using outdated DNS servers: Default or ISP DNS servers sometimes fail; switching to reliable public DNS servers like 8.8.8.8 and 1.1.1.1 helps resolve name resolution issues linked to self-assigned IP errors.
  • Skipping physical checks: Not verifying cables, ports, or router status can mask hardware problems as software issues, so confirm all connections are secure and devices powered on before deeper troubleshooting.

Essential steps to fix a self-assigned IP address on your Mac

For Ethernet, physical connection checks and creating a new network location often resolve persistent issues. If resets and leases fail, deleting the specified system configuration files can clear corrupted preferences.

Sources checked

More on this topic