March 7, 2026

WiFi Connected But No Internet? Here's How to Fix It on Windows 10 and 11

You open your laptop, connect to WiFi, and everything looks fine. The network name appears and your other devices are online, but the laptop won't load anything.

The taskbar icon shows a warning sign, and Windows says "No internet connection."

This is a surprisingly common problem, and restarting the laptop often doesn't help. A few simple steps fix it almost every time.


Step 1: Forget the Network and Reconnect

Sometimes Windows holds on to a broken connection. Forgetting the network and reconnecting fresh can clear this up:

  1. Open Settings → Network & Internet → Wi-Fi
  2. Windows 10: Click Manage known networks, find your network, and click Forget
  3. Windows 11: Go to Wi-Fi → Manage known networks, find your network, and click Forget
  4. Reconnect to your WiFi by clicking it and entering your password

If this doesn't help, move on to Step 2.


Step 2: Run the Network Troubleshooter

Windows has a built-in tool that can automatically detect and fix common network problems:

  • Windows 10: Settings → Update & Security → Troubleshoot → Additional troubleshooters → Internet Connections → Run the troubleshooter
  • Windows 11: Settings → System → Troubleshoot → Other troubleshooters → Internet Connections

Follow the on-screen instructions and let Windows attempt to fix the issue automatically.

If the troubleshooter reports "Default gateway is not available," that's a useful clue. Step 3 is the fix for exactly this situation.

If the troubleshooter didn't resolve the issue, continue to Step 3.


Step 3: Reset Your Network Stack (The Most Effective Fix)

This is the step that fixes the problem most reliably. It resets the core networking components of Windows back to a clean state. Don't be put off by the command prompt. You only need to copy and paste a few lines.

How to open Command Prompt as Administrator

  1. Click the Start button and type cmd
  2. Right-click Command Prompt in the results
  3. Select Run as administrator
  4. Click Yes if Windows asks for permission

Run these commands one at a time, pressing Enter after each

netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /flushdns
ipconfig /renew

Important: After running all five commands, restart your laptop. The commands take full effect only after a reboot.

This combination resets the Winsock catalogue (how Windows handles network connections) and the TCP/IP stack (how your computer communicates over the internet). It also releases and renews your IP address and clears the DNS cache. In most cases, this is all that is needed.


Why Does This Happen?

The most common cause is a stuck or corrupted DHCP lease. In plain terms, your laptop got confused about how to ask the router for an internet address. This can happen after:

  • A Windows update
  • Switching between different WiFi networks
  • The laptop waking from sleep or hibernate
  • A brief power outage or router restart

Other devices on the same network are unaffected because the problem is specific to your laptop's networking configuration, not the router or internet connection itself.


Quick Summary

  1. Forget the WiFi network and reconnect
  2. Run the built-in Network Troubleshooter
  3. Run the netsh and ipconfig commands in Command Prompt, then restart

Steps 1 and 2 are quick and worth trying first. Step 3 is the most reliable solution and resolves this problem in the vast majority of cases.


Prefer to have this done for you?

If this guide feels like too much, that’s exactly what we’re here for. We can help you troubleshoot common problems over the phone or in person. We’ll take care of the technical side so you don’t have to.

Contact Us

Get tips like this by email

If this article was useful, you can receive about one similar tip per month in your inbox.