Skip to content
ErrorsToolsDriversGet Help
Error Guide
networkbeginner

Fix "Wi-Fi doesn't have a valid IP configuration" on Windows

  • 5-15 min
  • Windows 10 · Windows 11
  • Updated 2026-05-20
  • By PCDoc Team

At a glance

Difficulty
beginner
Reading time
5-15 min
Steps
5
Last verified
2026-05-20

Overview

"Wi-Fi doesn't have a valid IP configuration" appears in the Network Troubleshooter when your PC connects to your Wi-Fi but can't get a working IP address from the router. The Wi-Fi looks connected (you see the network name), but no internet works.

The cause is usually a stuck DHCP lease, a corrupted Winsock catalog, or an IP conflict on your network. None require contacting your ISP. Most fixes take under 5 minutes.

This guide goes from quickest fixes to deeper resets.

Before you start

  • Administrator access
  • Router accessible (you may need to power-cycle it)
The fix

5-step guide

Read time: ~5-15 min

Power-Cycle Router and PC

30% of "invalid IP" cases fix themselves with a clean restart of router + PC.

Steps:

  • Unplug your router from power.
  • Wait 30 seconds (this clears its DHCP cache).
  • Plug router back in. Wait 2 minutes for it to fully boot.
  • Restart your PC.
  • Test the Wi-Fi.

Release and Renew IP Address

Force Windows to request a new IP from the router.

Steps:

  • Open Command Prompt as Administrator.
  • Run these commands one by one:
bashipconfig /release
ipconfig /flushdns
ipconfig /renew

Reset Winsock and TCP/IP Stack

If renewing didn't work, the network stack itself may be corrupted.

Steps:

  • Open Command Prompt as Administrator.
  • Run:
bashnetsh winsock reset
netsh int ip reset
ipconfig /flushdns

Set IP and DNS to Automatic

Sometimes a previous network configuration leaves manual IP settings stuck on. Force them back to automatic.

Steps:

  • Press Windows + R, type ncpa.cpl, press Enter.
  • Right-click your Wi-Fi adapter → Properties.
  • Select Internet Protocol Version 4 (TCP/IPv4) → Properties.
  • Choose Obtain an IP address automatically.
  • Choose Obtain DNS server address automatically.
  • Click OK and reconnect.

Still seeing Invalid IP Configuration?

If the guide is not enough, describe the issue first. We will explain whether remote help is appropriate before any access is granted.

Talk to a tech

No automatic remote access.

  • DIY steps first
  • Permission before access
  • Hardware limits explained
FAQ

Common questions

Why does Windows say my Wi-Fi has no IP when it's connected?
Connecting to Wi-Fi (the radio link) is one step. Getting an IP (so other computers know where to send your data) is another. The radio link works; the IP step failed. Common cause: router's DHCP server didn't hand out an IP correctly, often after sleep/restart.
Will this happen again?
If it recurs frequently, your Wi-Fi driver is likely outdated or your router is overloaded. Update both. If router is more than 5 years old and still recurring, consider replacing it.
My phone connects fine but PC doesn't. Why?
PCs are stricter about IP configuration than phones. Your phone may be running on cached DHCP data, while PC needs a fresh request that's failing. The fixes above target your PC's IP request specifically.
Should I set a static IP?
Generally no for home users. Static IPs can fix this temporarily but cause conflicts later when other devices get the same IP. Stick with automatic and fix the root DHCP issue.
Could it be my ISP?
Almost never for this specific error. The error means your PC and router aren't talking properly, which is local. ISP issues show up differently (no connection at all, slow speeds, intermittent drops on all devices).

Written by PCDoc Team

Tested on a real Windows machine on 2026-05-20. Found a mistake? Tell us.

More fixes you may need

Common errors that often come up alongside this one.