Wi-Fi Connected but No Internet? Fix It by Layer
"Connected, no internet" is the least useful error message a computer produces, because it describes the symptom and hides the fault. The Wi-Fi radio has done its job - it associated with the access point, exchanged keys, and got an IP address. Everything above that layer is broken, and there are five separate places the break can be: the address itself, name resolution, the gateway to the internet, the router's own uplink, or a proxy sitting in the middle telling Windows to route traffic somewhere that no longer exists.
The order below is deliberate. Each step eliminates one layer and tells you whether to keep going or stop, so you are not randomly flushing caches and reinstalling drivers while the actual problem is a dead DHCP lease on the router.
What the Status Actually Says
Before touching anything, read the exact wording. Windows distinguishes between several states, and each one points somewhere different:
| Status text | What it means | First thing to check |
|---|---|---|
| No internet, secured | Wi-Fi link and encryption are fine; the traffic path beyond the access point is not | Gateway reachability and DNS |
| Identifying... | DHCP never completed, so no address was issued | Router DHCP pool, or a stale lease |
| No internet, open | Associated to an open network, usually a captive portal that has not been accepted | Open a browser and complete the portal page |
| Connected, but pages fail with DNS_PROBE_FINISHED_NO_INTERNET | Addressing works, name resolution does not | DNS servers and the hosts file |
| Pages fail with ERR_NAME_NOT_RESOLVED but ping by IP works | Same as above, confirmed at the resolver | Manual DNS, then flush the cache |
That table rules out half the internet's advice immediately. If the status reads "No internet, secured" and ping by IP succeeds, you do not have a DNS problem, a driver problem, or a router problem - you have a name resolution problem. If ping by IP also fails, DNS is irrelevant and the fault is below it.
Step 1: Test the Two Halves Separately
Open Command Prompt - press Win + R, type cmd, press Enter - and run these three commands in order. Each one tests a different layer, and the pattern of pass and fail is the diagnosis.
- ipconfig - read the IPv4 address on the wireless adapter. An address in the 169.254.x.x range is an APIPA address: the machine asked for a lease and nobody answered. That is a DHCP failure, not an internet failure, and nothing above this layer will work until it is fixed.
- ping 192.168.1.1 - replace with your gateway, which ipconfig lists as "Default Gateway". This tests the local network only. Success means the router is alive and reachable.
- ping 1.1.1.1 - a public address that needs no DNS. Success here means routing and NAT work, and the internet path is fine.
- nslookup example.com - the name resolution test. A timeout or "server can't find" here, with the previous ping succeeding, is the classic DNS-only failure.
Read the results as a ladder. Fail at ping 1.1.1.1 but pass at the gateway: the router's uplink is down. Pass at 1.1.1.1 but fail at nslookup: DNS. Fail at the gateway entirely: the local link, the DHCP scope, or client isolation on the access point. Every step after this one assumes you now know which rung you are on.
Step 2: Rule Out the Proxy Before Anything Else
A proxy setting left behind by a VPN client, a security suite, or a one-off troubleshooting session produces exactly this symptom: the adapter reports connected, ping by IP works, and every browser fails. VPN clients are the usual culprit, because several of them install a local proxy and then fail to remove it when the tunnel drops unexpectedly.
Check it in Settings > Network & internet > Proxy. If "Use a proxy server" is on, or if "Automatically detect settings" is on alongside a manual script address you did not configure, turn both off and retry. Then open Internet Options (inetcpl.cpl) > Connections > LAN settings and confirm nothing is ticked there either - the legacy dialog still overrides the modern page on some builds. If a VPN is installed, disconnect it properly rather than just closing its window, and check that its virtual adapter is not still listed as the default route with route print.
Step 3: Fix Name Resolution
Only run this section if the ladder above pointed at DNS. The sequence matters, because flushing the cache before checking the resolver throws away the evidence.
- Look at the configured servers. ipconfig /all lists "DNS Servers" per adapter. An address that belongs to your router is normal on a home network. An address from a different subnet, or a duplicate entry pointing at a VPN's DNS, is a leftover.
- Set a public resolver. Go to Settings > Network & internet > Wi-Fi > Hardware properties, find "DNS server assignment", click Edit, and switch to Manual with IPv4 on. Use 1.1.1.1 and 8.8.8.8, or 9.9.9.9 as a third. Save, then run ipconfig /flushdns.
- Check the hosts file. Open C:WindowsSystem32driversetchosts in Notepad as administrator. Every line that is not a comment and not a standard localhost entry is a redirect. Malware and some "crack" installers write entries here that blackhole update and search domains.
- Disable Private DNS on phones. Android's Private DNS setting (Settings > Network & internet > Private DNS) set to a hostname that no longer resolves will break every app while the Wi-Fi icon stays perfectly happy. Set it to Automatic to test.
One more check that catches a surprising number of cases: if DNS works in Command Prompt but not in the browser, the browser has its own secure DNS setting. In Chrome it is Settings > Privacy and security > Use secure DNS; in Edge, Privacy, search, and services > Use secure DNS. Turn it off to test. If that fixes it, your chosen DNS-over-HTTPS provider is being blocked upstream.
Step 4: Renew the Address Properly
If ipconfig showed a 169.254.x.x address, the client never got a lease. The fix is not "disable and re-enable the adapter" - that often produces the same APIPA address - but a full release and renew:
- Open Command Prompt as administrator.
- Run ipconfig /release, wait for the address to clear, then ipconfig /renew.
- If it still comes back in the 169.254 range, the router's DHCP pool is exhausted or the service is off. Log in to the router, check the DHCP client list, and look for a pool of 50 addresses with 50 leases.
Two other causes of the same symptom are worth knowing. A static IP set on the adapter that belongs to the wrong subnet - common after carrying a laptop between an office network and home - will connect and fail identically. Check Settings > Network & internet > Wi-Fi > Hardware properties > IP assignment and set it back to Automatic. And on networks with MAC filtering or a device limit, the access point will accept the association and silently drop the client; a phone that connects fine while the laptop does not is the tell.
Step 5: The Router Side
If the gateway answers but the internet does not, the fault is upstream of your machine. Log in to the router's admin page - usually 192.168.1.1 or 192.168.0.1, with credentials on the label - and read the WAN status page before changing anything:
- WAN IP 0.0.0.0 or "disconnected" - the router has no uplink. Power-cycle the modem and router in order: modem off for 30 seconds, then on, wait for the sync light, then the router.
- WAN IP present but no traffic - check whether the ISP requires PPPoE credentials that were reset after a firmware update, or whether the connection type switched from DHCP to static.
- MTU problems - pages load partially or hang on large responses while small ones work. Test with ping 1.1.1.1 -f -l 1472; if it fails with "packet needs to be fragmented", lower the MTU on the router in steps of 8 until it passes, then set the router's MTU to that value plus 28.
Also check whether the router's own DNS relay is the broken part. Setting the router's DNS to a public resolver rather than "obtain automatically from ISP" fixes a family of failures where the ISP's resolver is up but returning SERVFAIL for specific domains.
When It Is Not Your Equipment
Three patterns mean stop troubleshooting: every device on the network fails at the same moment; the failure started within minutes of a power cut or a storm; or the router's WAN light is off while the modem's own status page shows no downstream channel. In all three, the fault is on the ISP side and no local change will help. Before calling, capture the evidence that shortens the call: the WAN IP from the router, whether ping to 1.1.1.1 fails from two different devices, and the exact time the failure began.
If you are working through a broader desktop problem at the same time, the same ladder approach applies to storage and startup faults - see the startup delay checklist and the Task Manager guide to high CPU usage. For adapter-level faults where the Wi-Fi drops entirely rather than losing the internet, the disconnection guide covers the driver and power-saving side. And if the machine will not hold a connection long enough to finish a download, the Windows Update fix explains how to resume an interrupted package transfer.
What to Write Down Before You Call Support
Five numbers turn a vague complaint into a ticket that gets resolved: the IPv4 address and default gateway from ipconfig, the result of pinging the gateway, the result of pinging 1.1.1.1, the DNS servers listed in ipconfig /all, and the router's WAN IP. With those, any support agent can tell within a minute whether the problem is inside your network, at the modem, or on their side of it - and you avoid the standard script of unplugging things you already unplugged.
Editorial review
- First published
- Last reviewed
- Applies to
- Windows 11 22H2 through 24H2, Android 13 and later
- Reviewed by
- The TechFix Guide editorial team
First published. Verified the Settings > Network & internet > Proxy and Hardware properties paths, the ipconfig /release sequence, and the Private DNS wording on Android.
Menu paths, option names and file paths in this guide were checked against the version named above. We do not claim to have tested every brand of hardware, so if your build shows something different, tell us and we will correct the page. How we check our guides · Report an error