by Marcus Reed Updated Apr 12, 2026
The "Default gateway is not available" error in Windows means your computer has lost its connection path to the router. The default gateway is your router's IP address—it is the door your computer uses to reach the internet. When that door becomes unavailable, you lose all internet connectivity even though you may still appear connected to WiFi.
This error is almost exclusively a Windows problem and is most commonly caused by power management settings, network driver issues, or IP configuration conflicts. This guide provides 7 targeted fixes, starting with the most effective.
| Cause | Frequency | Fix |
|---|---|---|
| Windows power management disabling the adapter | Very common | Fix 1 |
| Outdated/buggy network driver | Common | Fix 2 |
| IP address conflict | Moderate | Fix 3 |
| Third-party antivirus interference | Moderate | Fix 4 |
| Corrupted TCP/IP stack | Occasional | Fix 5 |
| Wrong IP configuration (DHCP issue) | Occasional | Fix 6 |
| Router-side issue | Rare | Fix 7 |
This is the most common cause. Windows aggressively powers down the WiFi adapter to save battery, and sometimes it does not power it back up correctly.
Also adjust the Windows power plan:
powercfg /setacvalueindex SCHEME_CURRENT 19cbb8fa-5279-450e-9fac-8a3d5fedd0c1 12bbebe6-58d6-4636-95bb-3217ef867c1a 0
powercfg /setactive SCHEME_CURRENT
Windows Update sometimes installs a generic or buggy driver that breaks WiFi connectivity. You may need to install the correct driver from the manufacturer.
If the problem started after a recent Windows Update:
A corrupted TCP/IP stack or stale IP configuration can make the gateway unreachable. Open Command Prompt as Administrator and run:
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /flushdns
ipconfig /renew
Restart your computer after running these commands.
Security software like McAfee, Norton, Avast, and Kaspersky can interfere with network connections. Their "network shield" or "firewall" components sometimes block or modify gateway traffic.
Temporarily disable your third-party antivirus to test. If the gateway error resolves, add an exception for your network adapter or switch to Windows Defender (which rarely causes this issue).
If DHCP is assigning incorrect settings, manually configuring your IP and gateway eliminates the variable:
netsh interface ip set address name="Wi-Fi" static 192.168.1.100 255.255.255.0 192.168.1.1
netsh interface ip set dns name="Wi-Fi" static 1.1.1.1
netsh interface ip add dns name="Wi-Fi" 8.8.8.8 index=2
Replace 192.168.1.1 with your actual router IP (check other devices or the router label).
If individual fixes have not worked, a full network reset reinstalls all adapters and clears all configurations:
While this error is usually Windows-side, a frozen or overloaded router can stop responding to gateway requests. Power-cycle the router by unplugging it for 30 seconds. If the problem persists with all devices, a factory reset may be needed.
Your network configuration has three critical components:
| Component | Example | Purpose |
|---|---|---|
| IP Address | 192.168.1.105 | Your device's unique address on the local network |
| Subnet Mask | 255.255.255.0 | Defines the network boundaries |
| Default Gateway | 192.168.1.1 | The router's address—the exit point to the internet |
You can verify your gateway with:
ipconfig | findstr "Default Gateway"
If this shows blank or 0.0.0.0, your device has no gateway configured, which means DHCP failed or your adapter is not properly connected.
Pro Tip: If this error keeps recurring, the most permanent fix is to update the WiFi driver directly from the chipset manufacturer (Intel, Realtek, Qualcomm) rather than using the Windows Update driver. The manufacturer's driver is almost always more stable and includes fixes for known issues that the generic Windows driver does not have.
It means your computer cannot find or reach your router. Since the router is the path to the internet, losing the connection to it means no internet access. Think of it as losing the road between your house and the highway.
The most common reason is Windows power management repeatedly turning off the WiFi adapter. Disabling this feature (Fix 1) usually stops the recurrence permanently. If it persists, a driver update from the manufacturer (Fix 2) is the next step.
The exact error message "default gateway is not available" is Windows-specific (from the Windows Network Diagnostics tool). However, the underlying issue (losing the connection to the router) can happen on any OS, just with different error messages.
Yes. VPN clients modify routing tables and can interfere with the default gateway configuration. Disconnect the VPN, and if the error resolves, check the VPN's "split tunneling" settings or update the VPN client.
Almost never. This is a Windows-side issue in 95%+ of cases. If other devices connect to the router fine, the router is not the problem. Focus on the Windows fixes in this guide.
A Windows reset is extreme overkill. Start with Fix 1 (power management) and Fix 2 (driver update). If those do not help, try Fix 6 (network reset) which only resets network components, not your entire system.
![]() |
![]() |
![]() |
![]() |
About Marcus Reed
Marcus is a network technician and tech writer who has configured thousands of routers across major ISPs including Comcast, AT&T, and Spectrum. He brings hands-on expertise to RouterHax's troubleshooting guides and brand-specific setup tutorials. Marcus is passionate about making networking accessible to everyone.
Promotion for FREE Gifts. Moreover, Free Items here. Disable Ad Blocker to get them all.
Once done, hit any button as below
![]() |
![]() |
![]() |
![]() |