Default Gateway Is Not Available: How to Fix It in Windows 11 and 10

In this guide
- Quick fixes to try first
- 1. Restart your modem and router
- 2. Check whether the PC can reach the router
- 3. Reset TCP/IP and renew your IP address
- 4. Stop Windows turning off the adapter to save power
- 5. Roll back the network adapter driver
- 6. Update or reinstall the driver from your PC maker
- 7. Use Network reset
- What causes it
- Still not fixed? When it is the router or hardware
- FAQ
"Default gateway is not available" is a Windows network troubleshooter result that points to a problem between your PC and your router, which is the default gateway your PC uses to get to the internet. Microsoft has no support page for this exact message, so the causes here come from its Wi-Fi and Ethernet guides: adapter power saving, an outdated or recently updated driver, TCP/IP settings that need a reset, or a router that needs a restart. The fixes below go from quickest to most involved, so test your connection after each one.
Quick fixes to try first
- Turn Wi-Fi off and on again, then reconnect to your network.
- Restart the PC with Start > Power > Restart.
- Check that Airplane mode is off in Settings > Network & internet > Airplane mode.
- If your router shows two networks (2.4 GHz and 5 GHz), connect to the other one.
- On a cable, check it is firmly plugged into one of the router's Ethernet ports, not the Internet port used for the modem.
- Try another phone or laptop on the same network. If it connects, the problem is on your PC.
1. Restart your modem and router
A restart helps create a new connection to your internet provider. Everyone on your network is disconnected until it comes back.
- Unplug the router's power cable, then the modem's. If the modem's lights stay on, remove its backup battery.
- Wait at least 30 seconds, then refit the battery if you removed it.
- Plug the modem back in and wait for its lights to stop blinking.
- Plug the router back in and wait a few minutes for both to power on fully.
- Reconnect on the PC.
If you have a single modem and router combo box, restart only that device.
2. Check whether the PC can reach the router
This ping test shows whether the fault is the link between your PC and the router, or the internet connection beyond it.
- Select Search on the taskbar, type Command prompt, then select Run as administrator > Yes.
- Run:
ipconfig - Under your Wi-Fi or Ethernet adapter, note the address next to Default Gateway, for example 192.168.1.1.
- Ping that address, using your own gateway address:
ping 192.168.1.1
If you get replies, the PC reaches the router, so the problem might be your modem or your provider. If there are no replies, try a cable straight to the modem. If a wired connection works, the Wi-Fi router is at fault, so install its latest firmware using the maker's instructions.
If your IPv4 address starts with 169.254, Windows did not get an address from the router at all. Our guide to fixing "Ethernet doesn't have a valid IP configuration" covers that case.
3. Reset TCP/IP and renew your IP address
These commands from Microsoft's guide to fixing Wi-Fi connection issues reset the TCP/IP stack, release and renew the IP address, and clear the DNS cache.
- Open Command Prompt as administrator, as in fix 2.
- Run these commands in this order, pressing Enter after each one:
netsh winsock reset netsh int ip reset ipconfig /release ipconfig /renew ipconfig /flushdns - Check your connection. If it still fails, restart the PC.
4. Stop Windows turning off the adapter to save power
If the connection keeps dropping, a power-saving setting may be turning off the adapter. Microsoft documents these steps for Wi-Fi adapters.
- Select Search, type Device Manager and open it.
- Expand Network adapters, right-click your Wi-Fi adapter and select Properties.
- Open the Power Management tab and clear Allow the computer to turn off this device to save power.
- Select OK.
If you do not see that tab, skip this part. Also check the power plan:
- Go to Control Panel > Hardware and Sound > Power Options.
- Next to your plan, select Change plan settings, then Change advanced power settings.
- Expand Wireless Adapter Settings and set Power Saving Mode to Maximum Performance.
5. Roll back the network adapter driver
If the message started straight after a Windows or driver update, going back to the previous driver often fixes it. You need to be signed in as an administrator.
- Right-click Start and select Device Manager.
- Expand Network adapters, right-click your adapter and select Properties.
- On the Driver tab, select Roll Back Driver.
- Choose a reason, select Yes, and restart if asked.
If Roll Back Driver is not available, go to the next fix.
6. Update or reinstall the driver from your PC maker
A current driver from the maker of your PC or motherboard replaces a damaged or mismatched one. Microsoft's page on updating drivers through Device Manager covers each method.
- On the support site of your PC or motherboard maker, download the latest Wi-Fi (WLAN) or Ethernet (LAN) driver for your exact model and Windows version. If this PC is offline, use another device and copy the file over on a USB drive.
- In Device Manager, right-click your adapter and select Update driver > Browse my computer for drivers.
- Select Browse, choose the folder with the driver you downloaded, select OK, then Next.
If that does not help, reinstall the driver from scratch:
- In Device Manager, right-click the adapter and select Uninstall device.
- Tick Attempt to remove the driver for this device, then select Uninstall.
- Select Start > Power > Restart. Windows looks for and installs a driver automatically.
- If the adapter does not come back, install the driver you saved.
Skip driver download sites and driver updater tools.
7. Use Network reset
Network reset removes every network adapter and its settings, then reinstalls them with defaults. Microsoft says it should be the last step you try.
- On Windows 11, open Settings > Network & internet > Advanced network settings > Network reset. On Windows 10, open Settings > Network & internet > Status > Network reset.
- Select Reset now > Yes and let the PC restart.
Afterwards you may need to reinstall VPN software, and your known networks may be set to the public profile.
What causes it
Your router hands your PC an IP address and a default gateway address, usually the router itself. The message suggests Windows could not reach that gateway. Microsoft does not list its causes, but its Wi-Fi and Ethernet guides fix these problems:
- A power-saving setting turning the Wi-Fi adapter off.
- A network driver that is outdated or was changed by a recent update.
- TCP/IP or Winsock settings that need a reset.
- A router or modem that needs a restart or a firmware update.
- Weak Wi-Fi or interference. Changing the router's wireless channel can help.
Still not fixed? When it is the router or hardware
- Every device drops at the same time. The router or your internet service is the likely problem. Check the router maker's support site for a firmware update or reset steps, or contact your provider. Our tips on preventing disruptions when your internet goes down help in the meantime.
- Only this PC drops. If the message returns after a driver reinstall and Network reset, check whether the adapter is listed under Network adapters in Device Manager. If it is missing, Windows does not detect it. Install the driver from your PC maker's site, and if the adapter still does not appear, contact the maker, as the hardware may be faulty.
- Only Wi-Fi drops. Create a wireless network report to see when and why it disconnected (see the FAQ below).
- You use a USB-to-Ethernet adapter. The adapter itself can be the fault. Try another one, or the PC's built-in port if it has one.
FAQ
What is a default gateway?
It is the router your PC uses to reach other networks, including the internet. Microsoft's TCP/IP addressing guide explains that when a destination is not on the local network, Windows forwards the traffic to the default gateway. On a home network this is your router, and ipconfig shows its address as Default Gateway.
Why does the error keep coming back after I fix it?
If it returns, the cause is still there. For Wi-Fi that drops often, Microsoft points to power settings and router channel interference, so start with fix 4, then try the driver fixes 5 and 6.
How can I see why my Wi-Fi keeps disconnecting?
Open Command Prompt as administrator and run netsh wlan show wlanreport. Windows saves a report as an HTML file covering the last three days of Wi-Fi sessions, including disconnect reasons and errors marked with a red circle. Microsoft explains each section in its guide to analyzing the wireless network report.
Should I set a manual gateway or static IP to stop it?
Usually not. Microsoft recommends leaving IP assignment on Automatic (DHCP) so the router sets your IP address settings, and you do not have to change anything when you move networks. Its TCP/IP guide also notes that a PC with an incorrect default gateway can reach its own network but not some or all other networks.
Does this message mean my internet provider is down?
Not on its own. The default gateway is your router, so the message points at the link between your PC and the router. Use the ping test in fix 2: if the router replies, check the modem or contact your provider.



