You plug in a network cable, Windows shows a "No internet" icon, and the network troubleshooter reports "Ethernet doesn't have a valid IP configuration". It sounds technical, but the cause is usually simple, and most people fix it in a few minutes without changing any advanced settings.
What the message means
Every device on your home network needs an IP address, which works like a house number. Normally your router hands one out automatically, using a system called DHCP. This error means Windows asked for an address over the cable and did not get a usable one.2,8
When no answer comes back, Windows gives itself a temporary address beginning 169.254. That address only works between computers on the same cable, not for reaching the internet, and Windows keeps asking the router for a proper one every few minutes.5 If you run ipconfig and see an address starting 169.254, the router never answered.3,5
Common causes are a router that needs a restart, a loose or damaged cable, a network adapter driver that has gone wrong, or an IP address that someone set by hand.8,9
Fix 1: Restart the router, modem and PC
This clears up the problem more often than anything else. Microsoft suggests restarting your equipment in this order:1
Unplug the router, then the modem (they may be one box). If the modem has a backup battery that keeps its lights on, take the battery out.
Wait at least 30 seconds.
Plug the modem back in and wait until its lights stop flashing.
Plug the router back in and give it a few minutes to start up.
Restart your PC.
Fix 2: Check the cable and the port
Make sure the cable clicks firmly into the PC and the router. On the router, use one of the numbered LAN ports, not the port marked Internet or WAN, which connects to your modem. If you have a spare cable, try it.1
Then go to Settings > Network & internet and look at the status at the top. It should say Connected. If it shows an error such as "Action needed", select Ethernet to see more detail.1
If Wi-Fi works on the same PC, the internet connection itself is fine and the problem lies with the cable, the port or the PC's wired adapter.1
Fix 3: Run the network troubleshooter
On Windows 11, Microsoft now points people to the Network and Internet troubleshooter in the Get Help app, which replaced the older built-in troubleshooters.1,6 Windows 10 still has the older troubleshooters: search Settings for "Troubleshoot" and look under Other troubleshooters.6,7
Troubleshooters run a series of automatic checks and suggest or apply fixes for common problems.7
Fix 4: Reset the network settings with commands
These commands clear out old network settings and ask the router for a fresh address. They do not delete your files.1,3,4
Select Start, type Command Prompt, then choose Run as administrator and select Yes.
Type netsh winsock reset and press Enter.
Type netsh int ip reset and press Enter.
Type ipconfig /release and press Enter.
Type ipconfig /renew and press Enter.
Type ipconfig /flushdns and press Enter.
Restart the PC.
What they do: /release gives up the current address, /renew asks the router for a new one, and /flushdns empties the list of website addresses Windows has remembered.3 The winsock reset puts a core part of Windows networking back to a clean state, which can undo damage left by some VPN or security software.4 Restarting afterwards makes sure the changes take effect.8,9
Note that ipconfig /renew only works when the adapter is set to get its address automatically, which is the next check.3
Fix 5: Make sure the IP address is set to automatic
If someone typed in an IP address by hand, perhaps for an old router or a work network, it may no longer match your router. On Windows 11:2
Go to Settings > Network & internet > Ethernet and select your Ethernet network.
Next to IP assignment, select Edit.
Under Edit IP settings, choose Automatic (DHCP), then select Save.
Microsoft recommends the automatic setting for most home networks.2
Fix 6: Reinstall the network adapter driver
A damaged driver can stop the adapter talking to the router. Because your PC may be offline, first download the latest network driver from your PC maker's website on another device and copy it over on a USB stick.1
Right-click Start and open Device Manager.
Expand Network adapters, right-click your Ethernet adapter and select Uninstall device.
Tick Attempt to remove the driver for this device, then select Uninstall.
Restart the PC. Windows should reinstall the driver by itself. If it does not, install the copy you saved.1
Some guides also suggest turning off Fast Startup in Power Options, then restarting, if the error keeps coming back.9
Fix 7: Network reset (last resort)
On Windows 11, go to Settings > Network & internet > Advanced network settings > Network reset, then select Reset now. The PC restarts, and every network adapter is removed and reinstalled with its default settings.1
What a network reset removes
A network reset wipes saved network settings. You may need to reinstall VPN software afterwards, and your home network may switch to "Public", so you may want to set it back to Private.1
When to get help
Try another computer on the same cable and router port. If that one connects, the fault is in your PC; if neither connects, the problem is more likely the router, the cable or your broadband provider.1 If every device on your router has lost the internet, contact your provider. For related problems, see our guides on Wi-Fi that says connected but no internet, the DNS_PROBE_FINISHED_NXDOMAIN error and our slow internet checklist.
Common questions
Will these fixes delete my files?
No. The commands and settings above change network settings only. A network reset does remove saved network settings and some VPN setups, so note them down first.1,4
I get the same message for Wi-Fi. Is it the same problem?
Yes, "Wi-Fi doesn't have a valid IP configuration" has the same causes, and the same steps apply: restart the router, renew the address and check the driver.8 If your laptop cannot see any networks at all, try our guide to Wi-Fi not showing on a laptop.
