The Default Gateway Is Not Available on Wi-Fi? How to Fix It in Windows
Your Wi-Fi keeps dropping, and the Windows network troubleshooter reports The default gateway is not available — often fixing it for a few minutes before it disconnects again.
Why: The default gateway is your router. This error means Windows briefly loses the path to it. The two common causes are a corrupted TCP/IP / Winsock configuration and the Wi-Fi adapter being put to sleep by Windows power management. Resetting the stack and stopping the adapter from sleeping usually keeps the connection stable.
Fix 1: Reset TCP/IP and Winsock, then renew the address
Open Command Prompt as administrator (right-click Start → Terminal (Admin) or Command Prompt (Admin)) and run these one at a time:
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
Then restart the PC. This rebuilds the network stack and pulls a fresh IP and gateway from the router, which clears most cases caused by a corrupted configuration.
Fix 2: Stop Windows from turning off the Wi-Fi adapter
If the connection drops after idle time, power management is the likely culprit:
- Press Win + X → Device Manager.
- Expand Network adapters, right-click your Wi-Fi adapter, choose Properties.
- On the Power Management tab, untick Allow the computer to turn off this device to save power.
- Click OK and restart.
Fix 3: Update or reinstall the network adapter driver
An old or flaky Wi-Fi driver causes the same symptom:
- In Device Manager, expand Network adapters, right-click your Wi-Fi adapter, choose Uninstall device.
- Tick Attempt to remove the driver for this device, then confirm.
- Restart — Windows reinstalls the adapter and a fresh driver automatically.
For the most reliable result, also grab the latest Wi-Fi driver from your PC or adapter manufacturer’s site.
Fix 4: Run a full network reset
If it still drops, reset all network adapters and settings to defaults:
- Settings → Network & internet → Advanced network settings → Network reset.
- Click Reset now → Yes and let the PC restart.
This removes and reinstalls every network adapter and returns networking components to their defaults, so you’ll need to reconnect to Wi-Fi (and any VPN) afterward.
FAQ
What is the “default gateway” exactly? It’s your router — the device your PC sends traffic through to reach other networks and the internet. “Not available” means Windows temporarily can’t reach it.
Which fix should I try first? Start with Fix 1 (reset the stack and renew the address). If the drops line up with idle time, Fix 2 (power management) is the most common cure.
Will Network reset delete my files? No. It only removes saved networks and resets networking components, so you’ll re-enter Wi-Fi passwords and reconfigure VPNs afterward.
Sources: Microsoft Support — Fix Wi-Fi connection issues in Windows · Microsoft Learn — Guidance for troubleshooting TCP/IP communication