How to Fix Self-Assigned IP Address Error

A self-assigned IP address error occurs when your device cannot obtain a valid IP address from your router's DHCP server. This prevents internet access and typically appears as an IP address starting with 169.254 on Windows or a similar range on Mac.

Difficulty
Intermediate
Time
15 minutes

Step by step

  1. Restart your network hardware

    Power off your modem and router by unplugging them for 30 seconds. Plug in your modem first and wait for all lights to stabilize. Then plug in your router and wait 2-3 minutes for full startup. This clears temporary network conflicts that prevent proper IP assignment.

    Note: If using a combined modem-router unit, unplug it for 60 seconds instead of 30 to ensure complete power cycle.
  2. Renew your IP address on Windows

    Press Windows key + R, type cmd and press Enter. In the command prompt, type ipconfig /release and press Enter. Wait for the process to complete, then type ipconfig /renew and press Enter. Close the command prompt and check your connection.

    Note: Run Command Prompt as Administrator for better success rates with network commands.
  3. Renew your IP address on Mac

    Click the Apple menu and select System Preferences. Choose Network, then select your Wi-Fi connection from the left sidebar. Click Advanced, then go to the TCP/IP tab. Click Renew DHCP Lease and confirm the action. Click OK and Apply to save changes.

    Note: Hold Option while clicking the Wi-Fi icon in the menu bar to access advanced network diagnostics.
  4. Forget and reconnect to your Wi-Fi network

    On Windows, go to Settings > Network & Internet > Wi-Fi > Manage known networks. Select your network and click Forget. On Mac, go to System Preferences > Network > Wi-Fi > Advanced, select your network and click the minus button. Restart your device and reconnect using your Wi-Fi password.

    Note: This step clears corrupted network profiles that may interfere with proper DHCP negotiation.
  5. Reset network settings

    On Windows, open Command Prompt as Administrator and run these commands in order: netsh winsock reset, netsh int ip reset, and netsh advfirewall reset. Restart your computer. On Mac, delete these files from /Library/Preferences/SystemConfiguration: NetworkInterfaces.plist, com.apple.airport.preferences.plist, and preferences.plist. Restart your Mac.

    Note: Back up important network settings before performing this step, as it will remove all saved Wi-Fi passwords and custom configurations.
  6. Check DHCP settings on your router

    Access your router's admin panel by entering 192.168.1.1 or 192.168.0.1 in a web browser. Log in with admin credentials and navigate to LAN or DHCP settings. Verify DHCP is enabled and the IP address pool has available addresses. The pool should typically range from 192.168.1.2 to 192.168.1.254.

    Note: If the DHCP pool is full, increase the ending IP address or reduce the lease time to free up addresses more quickly.
  7. Manually assign a static IP address

    If DHCP continues failing, assign a static IP manually. On Windows, go to Network Adapter settings, select Properties, then Internet Protocol Version 4. Choose 'Use the following IP address' and enter an unused IP in your network range (like 192.168.1.100), subnet mask 255.255.255.0, and your router's IP as the gateway. Set DNS to 8.8.8.8 and 8.8.4.4.

    Note: Use ping commands to verify your chosen IP address is not already in use before assigning it statically.