How to Fix “Default Gateway Is Not Available”
“Default Gateway Is Not Available” means Windows cannot reach the device that routes local network traffic to the internet, usually the router. First determine whether the failure affects one Windows device, the router, or the wider internet connection; then restart and reconnect the equipment before changing Windows settings. If those steps fail, renew the IP address, reset Winsock and TCP/IP, and check the adapter, DHCP, router, and ISP in that order.
First, find out whether the gateway problem is your PC or the whole network
Windows commonly shows this message when the computer connects to Wi-Fi or Ethernet but cannot communicate reliably with the router. The message usually appears in Windows Network Troubleshooter:
Default Gateway Is Not AvailableBefore changing settings, test the scope of the failure. Check a phone, tablet, or another computer on the same Wi-Fi network. If every device has lost internet access, the problem is probably the router, modem, or ISP rather than this Windows computer. If other devices work normally, focus on the affected PC.
Check the router and modem lights. A missing or abnormal internet/WAN light can indicate an ISP or modem problem. A normal internet light with only one affected computer points more strongly to Windows or that computer’s network adapter.
If possible, compare Wi-Fi and Ethernet. Connect the computer to the router with an Ethernet cable, or test Wi-Fi after disconnecting Ethernet. If only Wi-Fi fails, investigate wireless interference, the Wi-Fi adapter, or a wireless-router setting. If both connection types fail on the same PC, investigate Windows networking, security software, or the router’s DHCP service.
Record which devices and connection types work. That result determines whether you should troubleshoot Windows, the router, or the ISP.
Which fixes are safe to try before changing Windows network settings?
These steps apply to Windows 10 and Windows 11, and to both Wi-Fi and Ethernet. Reconnecting to a network and restarting devices normally require only a standard user account. The later Command Prompt reset commands require Administrator permission. Restarting the router and PC briefly interrupts other users but does not erase saved settings. Forgetting a Wi-Fi network removes its saved password from this PC, so have the password available.
Start with these checks and reversible fixes:
- Save open work, then restart the computer normally. Sleep and hibernation are not substitutes for a restart.
- Unplug the router’s power cable. If you have a separate modem or fiber terminal, unplug that too. Wait briefly, reconnect the modem or fiber terminal first, then reconnect the router. Wait for its normal internet and Wi-Fi lights to return.
- Reconnect to the network. For Wi-Fi, select the network icon, disconnect from the current network, select the network again, and enter the password. For Ethernet, unplug the cable at the PC or router and reconnect it firmly.
- If Wi-Fi still fails, forget and re-add the network.
Settings > Network & internet > Wi-Fi > Manage known networks > [your network] > ForgetReturn to the Wi-Fi list, select the network, and connect again. If the network is missing, check that Wi-Fi is enabled and Airplane mode is off.
- Temporarily disconnect from any VPN. Quit the VPN application rather than deleting it. If the connection works afterward, update or repair the VPN client and check its network or kill-switch settings.
- Temporarily test without third-party firewall or internet-security software if it has a clear disable option. Re-enable it immediately after the test. Do not leave security protection disabled as a permanent fix.
- Run Windows’ built-in troubleshooter.
Settings > System > Troubleshoot > Other troubleshooters > Network and Internet > RunOn some Windows 10 installations, the path is Settings > Update & Security > Troubleshoot > Additional troubleshooters > Internet Connections or Network Adapter. Apply a suggested repair only if you understand what it changes. If other devices also cannot connect, stop changing Windows settings and inspect the router or contact the ISP.
Reset the connection, then fix the adapter if the error returns
If restarting and reconnecting did not help, use an elevated Command Prompt. These commands are built into Windows 10 and Windows 11. They affect the current computer only; they do not change the router.
- Open Start, type
Command Prompt, right-click it, selectRun as administrator, and approve the User Account Control prompt. - Release the current address, then request a new address from the router’s DHCP service.
ipconfig /release
ipconfig /renewA successful renewal gives the adapter a usable IPv4 address and gateway without an error such as “Unable to contact your DHCP server.” If renewal fails, Windows may not be communicating with the router, the adapter may be disabled, or the router’s DHCP service may be unavailable.
- Reset Winsock and the TCP/IP stack.
These resets can remove or alter custom networking components and settings used by VPNs, virtual machines, or security software. They do not normally erase saved Wi-Fi passwords, but you may need to restart and repair affected software afterward.
netsh winsock reset
netsh int ip resetRestart Windows after both commands. If the error began immediately after installing a VPN, firewall, or network utility, repair or uninstall that software instead of repeatedly running resets.
- Check Device Manager for an adapter or driver fault.
Right-click Start > Device Manager > Network adaptersLook for a warning icon, a disabled adapter, or a recent driver date. Enable a disabled adapter. Install the current driver from the computer or adapter manufacturer’s support site, not from an unknown driver-download site. If the problem began after a driver update, open the adapter’s Properties, choose the Driver tab, and select Roll Back Driver when available.
- Prevent Windows from powering down the Wi-Fi adapter while testing.
Device Manager > Network adapters > [Wi-Fi adapter] > Properties > Power ManagementClear Allow the computer to turn off this device to save power, then select OK. Some systems also expose wireless power options here:
Control Panel > Hardware and Sound > Power Options > Change plan settings > Change advanced power settings > Wireless Adapter SettingsSet the wireless adapter to Maximum Performance temporarily. If this fixes the connection, install updated chipset and Wi-Fi drivers and review the power plan instead of keeping an unnecessarily high-power setting on a battery-powered PC.
- Confirm that the adapter obtains its address and gateway automatically unless your network intentionally uses a static configuration.
Settings > Network & internet > Advanced network settings > More network adapter options > [adapter] > Properties > Internet Protocol Version 4 (TCP/IPv4) > PropertiesSelect Obtain an IP address automatically and Obtain DNS server address automatically, then select OK. A manually entered gateway, subnet mask, or DNS server that no longer matches the router can produce this error. Do not overwrite a deliberate business, school, or server network configuration without checking with its administrator.
If the adapter receives an address beginning with 169.254, Windows has assigned itself a link-local address because DHCP did not provide a normal address. Investigate the DHCP service, router or cable, and adapter communication rather than treating this as an ordinary DNS problem.
How to confirm the default gateway is working again
Reconnect to Wi-Fi or plug in Ethernet, then inspect the address Windows received.
- Open Command Prompt. Administrator permission is not required for this inspection.
ipconfigFind the active adapter and read its IPv4 Address and Default Gateway. A typical home network uses an IPv4 address in the same private range as the router, and the gateway is usually a private address such as 192.168.x.x or 10.x.x.x. The exact values depend on the router. Ignore disconnected adapters and virtual VPN adapters while checking the active connection.
- Test the local gateway. Replace the example address with the
Default Gatewayshown byipconfig.
ping 192.168.1.1Successful replies show that the PC can reach the router. If the gateway is blank, the adapter has not received a usable configuration. If the gateway does not reply, check the Wi-Fi association, Ethernet cable, adapter driver, and router LAN/Wi-Fi service. Some routers block ping, so a failed ping does not prove that the router is offline; open the router’s local administration address in a browser if you know it.
- Test an external address, then a domain name.
ping 1.1.1.1
ping example.comIf the gateway and 1.1.1.1 respond, routing to the internet is working. If the numeric address responds but example.com does not, the remaining problem is DNS. If the gateway works but external addresses do not, inspect the router’s WAN connection or contact the ISP.
- Open a normal website and use the connection for a few minutes. A connection that works only briefly points to unstable Wi-Fi, a failing adapter, or a router problem.
What to do when the same error keeps coming back
A recurring gateway error needs a specific diagnosis rather than more resets. If it started after a Windows update, driver update, VPN installation, or security-suite change, undo or repair that change first. Keep the previous driver only if it is compatible with your Windows version and hardware.
Network Reset is more disruptive than the earlier fixes. Record custom network, VPN, and virtual-machine settings and have Wi-Fi passwords available before using it.
If Windows networking remains confused, use the built-in network reset as a last Windows-side step. It removes and reinstalls network adapters and may remove VPN or virtual-network settings.
Settings > Network & internet > Advanced network settings > Network reset > Reset nowAfter the restart, reconnect to Wi-Fi and reinstall or reconfigure any VPN, virtual machine network adapter, or manually configured network service that disappeared. Network Reset can remove saved network relationships.
If every device loses access, sign in to the router’s administration page from a working local connection if possible. Check that DHCP is enabled for the LAN, the router has a valid WAN address, firmware is current, and no access-control or MAC-filter rule is blocking the computer. Avoid changing advanced WAN, VLAN, or clone-MAC settings unless the ISP or router documentation calls for it. Back up the router configuration before a firmware update or factory reset.
Contact the ISP when the router shows no usable WAN connection, the service is down for all devices, or the modem/fiber terminal reports a line or registration fault. Replace or repair the router when it repeatedly loses DHCP or LAN service, overheats, reboots, or fails with several known-good devices and cables.
Suspect the PC’s network adapter when only that computer fails, the driver is current, different networks produce the same symptom, and an external USB adapter works reliably. A repair shop or the computer manufacturer can confirm a failing internal adapter or motherboard port.
Conclusion
Start with the scope check and reversible fixes. If the gateway is still missing or unreachable after the IP renewal, Winsock/TCP/IP, and adapter checks, determine whether DHCP, the router, the adapter, or the ISP is responsible before using Network Reset or replacing hardware.
Frequently Asked Questions
Does “Default Gateway Is Not Available” mean my internet provider is down?
Not necessarily. If other devices on the same network work, the problem is probably limited to the Windows computer. If all devices fail or the router has no WAN connection, the router, modem, or ISP is more likely responsible.
Will `netsh int ip reset` delete my Wi-Fi password?
It normally does not remove saved Wi-Fi passwords, but it resets TCP/IP configuration and can affect custom VPN, virtual-machine, or security-software networking. Network Reset is more disruptive: it can remove network adapters and related settings.
Why does my IP address start with 169.254?
Windows uses a `169.254.x.x` link-local address when it cannot obtain a normal address from the router’s DHCP service. Check the router, cable or Wi-Fi connection, DHCP settings, and network adapter driver.