Quick Answer
Run ipconfig /release, then ipconfig /renew in an admin Command Prompt. If that doesn't work, flush DNS and reset Winsock. Still stuck? Change your DNS to 8.8.8.8 and 1.1.1.1.
This happens more often than you'd think. Your laptop connects to the router fine, but the router can't get a valid IP from the ISP, or your DNS cache is full of junk. Sometimes it's a stale IP lease that needs renewing. Other times, Windows just gets confused after a sleep/wake cycle. I've seen it on Dell, HP, and Lenovo laptops, on Windows 10 and 11, at home and in offices. The fix is usually the same.
Fix 1: Release and Renew Your IP
- Press
Win + Xand choose Windows Terminal (Admin) or Command Prompt (Admin). - Type
ipconfig /releaseand press Enter. Wait a few seconds. - Type
ipconfig /renewand press Enter. That grabs a fresh IP from the router. - Try loading a website. If it works, you're done. If not, move on.
In my experience, this fixes about 60% of “connected but no internet” cases. It's the first thing because it's fast and non-destructive.
Fix 2: Flush DNS and Reset Winsock
DNS is the phonebook of the internet. If it's corrupted, you get errors like DNS_PROBE_FINISHED_NXDOMAIN even though the network is fine. Here's the cleanup:
- In the same admin prompt, type
ipconfig /flushdnsand press Enter. - Then
netsh winsock resetand press Enter. This resets the Winsock catalog — it's like restarting Windows' network stack. - Finally,
netsh int ip resetand press Enter. - Restart your PC. I know, it's annoying, but it's necessary for the changes to fully take effect.
I've fixed a ton of stubborn cases with this combo. It clears out any bad entries and resets the network stack to default.
Fix 3: Change Your DNS Server
Sometimes your ISP's DNS is the problem. It's slow, or it's down, or it's blocking things it shouldn't. The easiest way around that is to use public DNS. I prefer Google's (8.8.8.8) and Cloudflare's (1.1.1.1) — both are fast and reliable.
- Right-click the Wi-Fi icon in the system tray and choose Network and Internet settings.
- Click Advanced network settings, then More network adapter options.
- Right-click your Wi-Fi adapter and select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Choose Use the following DNS server addresses and enter:
8.8.8.8and1.1.1.1. - Click OK, then close everything. Try your browser again.
This is also a good permanent change for anyone who does online gaming or video calls. It can shave a few milliseconds off your DNS lookups.
Alternative Fixes If Those Don't Work
Run the Windows Network Troubleshooter
People crack jokes about it, but it sometimes works. Go to Settings > System > Troubleshoot > Other troubleshooters, and run Network Adapter. It'll try to diagnose and fix issues automatically. It's saved my ass a few times.
Restart Your Router
Don't skip this. Unplug the power cable, wait 30 seconds, plug it back in. This clears the router's memory and forces it to re-establish the connection with your ISP. I've seen routers go bad after weeks of uptime.
Check for a VPN or Proxy
If you have a VPN running, turn it off. Sometimes VPN clients mess with your network settings, especially if they crashed. Also, check Settings > Network & Internet > Proxy and make sure “Use a proxy server” is off. Malware or leftover software can enable this and break everything.
Update or Roll Back Your Wi-Fi Driver
A bad driver update can cause this. Open Device Manager, expand Network adapters, right-click your Wi-Fi device, and choose Update driver. If you recently updated, try Roll back driver instead. I've seen Intel and Realtek drivers cause exactly this issue.
Prevention Tips
- Set your DNS to public servers (like 8.8.8.8) permanently. It avoids a whole class of DNS-related problems.
- Don't let Windows turn off your Wi-Fi adapter to save power. Go to Device Manager, right-click your adapter, Properties > Power Management, and uncheck “Allow the computer to turn off this device to save power.” That setting causes more issues than it solves.
- Reboot your router at least once a month. Just unplug it for a minute. It keeps the firmware fresh and clears any memory leaks.
- Keep your network drivers updated, but not bleeding-edge. Wait a few days after a new driver is released, then update. That way you avoid any early bugs.
That's it. If you've gone through all these steps and still have no internet, it's likely a hardware issue — maybe the Wi-Fi card is dying. But honestly, 9 times out of 10, one of the above fixes will get you back online.