The “Wi-Fi doesn’t have a valid IP configuration” error prevents your PC or laptop from connecting to the internet over Wi-Fi. This error usually means that the network adapter is unable to get a valid IP address (Internet Protocol address) from the router or DHCP server. Several factors can prevent Windows from obtaining a valid IP address from the router (DHCP server), including issues with the Wi-Fi adapter, DHCP settings, TCP/IP configuration, corrupted network settings, outdated drivers, or the router itself. In some cases, a temporary network problem can also trigger the error. In this guide, we’ll explain why the “Wi-Fi doesn’t have a valid IP configuration” error occurs and practical solutions to fix the problem on Windows 11.
What Does “Wi-Fi Doesn’t Have a Valid IP Configuration” Mean?
Windows needs a valid IP address, subnet mask, and default gateway to communicate with your router and access the internet. Normally, your router automatically provides these network details through DHCP (Dynamic Host Configuration Protocol).
If, for some reason, Windows fails to get a valid IP address, it may prevent your PC from connecting to the Internet and display the “Wi-Fi doesn’t have a valid IP configuration” error. Some common reasons include:
- DHCP problems: Your router may fail to assign an IP address to the PC.
- Network adapter issues: A faulty, outdated, or temporarily malfunctioning Wi-Fi driver can interfere with the connection.
- Corrupted network settings: Incorrect TCP/IP or Winsock configuration can prevent Windows from communicating properly with the router.
- IP address conflicts: Another device on the network may be using the same IP address.
- Router problems: The issue may be caused by the router rather than the Windows PC.
- Manually configured IP settings: An incorrect static IP address, DNS server, or gateway can cause the error.
- Recent Windows or driver changes: An update or driver installation can sometimes affect network connectivity.
The exact cause can vary, so it is best to start with simple checks before resetting Windows networking settings.
1. Restart Your Router and PC
A temporary problem with the router, DHCP service, or Windows network adapter can prevent your PC from receiving a valid IP address. Restarting both devices can clear the temporary network state and force Windows to request a fresh IP address.
- Turn off your Wi-Fi router.
- Unplug the router from the power outlet.
- Wait about 30 seconds.
- Plug the router back in and wait until the Wi-Fi lights return to normal.
- Restart your Windows PC.
- Connect to your Wi-Fi network again.
Then check whether you can access the internet.
Quick Insight: If other devices connected to the same Wi-Fi also cannot access the internet, the problem is more likely with the router or internet connection than with Windows.
2. Release and Renew Your IP Address
If your router is not assigning a usable IP address to Windows, releasing the current IP configuration and requesting a new one can resolve the problem.
You can do this using Command Prompt.
- Press Windows + S and search for Command Prompt.
- Right-click Command Prompt and select Run as administrator.
- Type the following command and press Enter:
ipconfig /release- After it finishes, run:
ipconfig /renew- Wait for Windows to obtain a new IP address.
- Restart your PC and check the Wi-Fi connection.
You can also run:
ipconfig /flushdns
This clears the local DNS cache, which can help if DNS-related problems are also affecting internet access.
Quick Insight: The ipconfig /renew command asks the DHCP server usually your router to assign your PC a fresh IP configuration. If Windows successfully receives a valid address after this step, the problem was likely related to the previous DHCP/IP configuration.
3. Restart the DHCP Client Service
The DHCP Client service allows Windows to automatically obtain an IP address and other network configuration from your router. If the service is not running correctly, your PC may fail to get a valid IP address and show the “Wi-Fi doesn’t have a valid IP configuration” error.
- Press Windows + R to open the Run dialog.
- Type
services.mscand press Enter. - Find DHCP Client in the list.
- Right-click it and select Restart.
- If the service is stopped, select Start instead.
- Double-click DHCP Client and make sure Startup type is set to Automatic.
- Click Apply and then OK.
- Restart your PC and reconnect to Wi-Fi.

Quick Insight: If the DHCP Client service is stopped or cannot start, Windows may not be able to receive an IP address from your router. In that situation, restarting the service can fix the problem without changing your network adapter settings.
4. Reset TCP/IP and Winsock
Windows uses TCP/IP and Winsock to communicate with your network and the internet. If these components have incorrect or corrupted settings, you may see the “Wi-Fi doesn’t have a valid IP configuration” error.
Resetting them restores the default network configuration without reinstalling Windows.
- Press Windows + S and search for Command Prompt.
- Right-click it and select Run as administrator.
- Run these commands one at a time:
netsh winsock resetnetsh int ip reset- Close Command Prompt.
- Restart your PC.
- Connect to your Wi-Fi network and check the internet connection.

Quick Insight: This fix is particularly useful when the problem started after changing network settings, installing networking software, using a VPN, or making other system changes.
5. Set IP and DNS to Automatic
If your Wi-Fi adapter is using a manually assigned IP address, subnet mask, gateway, or DNS server, an incorrect setting can prevent Windows from communicating with the router.
For most home Wi-Fi networks, Windows should be configured to obtain these settings automatically from the router.
- Press Windows + R to open the Run dialog.
- Type
ncpa.cpland press Enter. - Right-click your Wi-Fi adapter and select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Select:
- Obtain an IP address automatically
- Obtain DNS server address automatically
- Click OK and then Close.
- Disconnect from Wi-Fi and connect again.

If you are using IPv6, you can also check its properties to ensure it is set to obtain an address automatically, unless your network specifically requires manual configuration.
6. Disable and Re-enable the Wi-Fi Adapter
Sometimes the Wi-Fi adapter gets stuck in an incorrect network state. Disabling and re-enabling it forces Windows to restart the adapter and re-establish the wireless connection.
- Press Windows + R to open Run.
- Type
ncpa.cpland press Enter. - Right-click your Wi-Fi connection.
- Select Disable.
- Wait about 10 seconds.
- Right-click the Wi-Fi connection again and select Enable.
- Connect to your Wi-Fi network and check whether the internet works.
If the error remains, you can also restart the adapter through Device Manager:
- Right-click the Start button and select Device Manager.
- Expand Network adapters.
- Right-click your wireless network adapter.
- Select Disable device.
- Wait a few seconds, then right-click it again and select Enable device.
- Restart your PC.
Quick Insight: This does not remove the Wi-Fi driver or your saved networks. It simply restarts the network adapter and can clear temporary adapter-related problems.
7. Update/Roll Back the Wi-Fi Driver
An outdated, incompatible, or corrupted Wi-Fi driver can prevent Windows from communicating correctly with the wireless adapter and obtaining an IP address.
- Right-click the Start button and select Device Manager.
- Expand Network adapters.
- Find your wireless adapter. It may include names such as Wi-Fi, Wireless, WLAN, Intel, Realtek, MediaTek, or Qualcomm.
- Right-click the adapter and select Update driver.
- Select Search automatically for drivers.
- If Windows finds a newer driver, install it and restart your PC.

If Windows says the best driver is already installed, check your PC or laptop manufacturer’s support website for the latest Wi-Fi driver. Manufacturer-provided drivers can sometimes be newer or better suited to your specific hardware.
Quick Insight: If the Wi-Fi problem started immediately after a driver update, try Properties → Driver → Roll Back Driver in Device Manager instead. The newest driver is not always the most compatible one.
8. Turn Off Wi-Fi Adapter Power Saving
Windows can turn off the Wi-Fi adapter to save power. Although this is normally harmless, the adapter may sometimes fail to reconnect properly afterward, which can contribute to network and IP configuration problems.
Steps to change the setting
- Right-click Start and select Device Manager.
- Expand Network adapters.
- Right-click your wireless adapter and select Properties.
- Open the Power Management tab.
- Clear the checkbox for Allow the computer to turn off this device to save power.
- Click OK.
- Restart your PC and reconnect to Wi-Fi.

If the Power Management tab is not available, skip this fix and proceed to the next troubleshooting method.
Quick Insight: This setting is more relevant when the Wi-Fi problem appears after sleep, hibernation, or waking the PC, rather than immediately after connecting to the network.
9. Reset Windows Network Settings
If the previous fixes haven’t worked, your Windows network configuration may be corrupted or stuck in an incorrect state. The Network Reset feature can restore the networking components to their default configuration.
- Press Windows + I to open Settings.
- Go to Network & internet.
- Select Advanced network settings.
- Scroll down and select Network reset.
- Click Reset now.
- Confirm the reset when Windows asks.
- Restart your PC.

After restarting, Windows will reinstall the network adapters. You may need to reconnect to your Wi-Fi network and re-enter the Wi-Fi password.
Quick Insight: Network Reset is more comprehensive than simply restarting the Wi-Fi adapter. Use it after trying the less disruptive fixes, as it can remove saved network settings and may require you to reconfigure your VPN or other networking software.
What If the Error Still Appears?
If “Wi-Fi doesn’t have a valid IP configuration” still appears after trying the fixes above, the problem may not be limited to Windows.
First, connect another phone, laptop, or PC to the same Wi-Fi network. If other devices also cannot connect to the internet, restart the router and check with your internet provider.
If other devices work normally but only your Windows PC has the problem, the issue is more likely related to the Wi-Fi adapter, driver, or Windows network configuration. In that case, installing the latest driver from your PC manufacturer’s website or testing with another Wi-Fi adapter can help identify the cause.
If the problem started immediately after a Windows update or driver update, consider rolling back the affected driver or uninstalling the recent update if the issue persists.
Frequently Asked Questions
This usually means Windows could not obtain a valid IP address from your router. DHCP problems, incorrect network settings, Wi-Fi driver issues, or corrupted TCP/IP configuration can cause the error.
Start by restarting your router and PC, then release and renew the IP address. If that doesn’t help, restart the DHCP Client service, reset TCP/IP and Winsock, check your IP settings, and update the Wi-Fi driver.
It can. Restarting the router can clear temporary DHCP or network issues and allow your PC to obtain a new IP address. If other devices also have connection problems, the router or internet connection may be the cause.
A 169.254.x.x address usually means Windows could not obtain an IP address from the router’s DHCP server. Restarting the router, renewing the IP address, and checking the DHCP Client service can help resolve the problem.
Windows may remove saved network connections during a Network Reset, so you may need to reconnect to your Wi-Fi and re-enter the password. It also resets network adapters and related networking settings to their defaults.
