Wi-Fi doesn't have a valid IP configuration, explained and fixed

The Windows Network troubleshooter reports “Wi-Fi doesn’t have a valid IP configuration” when the PC cannot get a usable IP address from the router. Without a valid address, the PC cannot talk to the router or the internet, even though the Wi-Fi signal is fine.

The fix, in order

  1. Restart the PC and the router. A stuck DHCP service on either side is the most common cause, and a restart clears it.
  2. Release and renew the IP address. Open Command Prompt as administrator and run ipconfig /release, then ipconfig /renew. Check ipconfig afterwards: a 169.254 address means DHCP still failed. You can also check the public IP address your connection is currently showing with the IP address lookup tool.
  3. Reset the TCP/IP stack. In the same admin Command Prompt, run netsh winsock reset and netsh int ip reset, then restart.
  4. Set the IP address to automatic. Open the adapter properties, open Internet Protocol Version 4 (TCP/IPv4), and make sure both “Obtain an IP address automatically” and “Obtain DNS server address automatically” are selected.
  5. Reinstall the Wi-Fi driver. In Device Manager, uninstall the wireless adapter and restart so Windows reinstalls it. If the problem returns, install the latest driver from the computer maker's support site.
  6. Check the router's DHCP. If other devices also fail to get an address, the router's DHCP service may be off or its address pool may be full, so check the router settings and restart it.
Do not set a static IP address as a first fix. A wrong static address can make the problem worse and can clash with another device on the network.

If it still happens

If the PC gets a 169.254 address on every network, the network stack or the adapter is at fault, so run a full Network reset and, if that fails, test with a USB Wi-Fi adapter. If only the home router fails, check its DHCP settings and firmware.

Common questions

What is a valid IP configuration? It is the set of network details a device needs: an IP address, a subnet mask, a default gateway, and DNS servers. On a home network these are handed out automatically by the router's DHCP service.

What does a 169.254 address mean? It is a self-assigned address Windows gives itself when DHCP fails. It means the PC could not get an address from the router, so it cannot reach the internet.

Related errors

Default gateway not available · No internet, secured · Unidentified network

Was this helpful?