How to Fix “The Default Gateway is Not Available” Error?

The “Default gateway is not available” error happens when Windows can’t connect to the network router’s gateway. This usually means there’s a problem with the router. Restarting your router often fixes it. If not, the issue might be due to:

The Default Gateway is not Available Error Message
  • Third-Party Programs: Some firewalls and antivirus programs can block access to your router, causing this error.
  • DNS Server: Wrong DNS settings can cause this error.
  • Misconfigured Network: Incorrect network settings can change your router’s default gateway, causing this error.

Here are methods to solve this problem.

1. Change Network Adapter Power Settings

To stop Windows from putting the network adapter to sleep, adjust the power settings for your network adapter. This helps keep a stable network connection and avoids interruptions from power-saving mode. Incorrect power settings can cause the network adapter to go into a low-power state, leading to connectivity issues.

  1. Open Device Manager.
  2. Expand Network adapters.
    Device Manager
  3. Right-click your network adapter and select Properties.
  4. Go to the Power Management tab.
  5. Uncheck Allow the computer to turn off this device to save power.
    Disabling Power Management
  6. Click OK.
  7. Check if the issue is resolved.

2. Disable Third-Party Antivirus or Firewall

Third-party security programs can block network access due to their protective measures. They might misinterpret network traffic as suspicious and block it, causing connectivity issues. To troubleshoot this:

  • Temporarily disable your third-party antivirus program to see if it resolves the issue.
  • If disabling the program solves the problem, consider uninstalling or replacing it for better network connectivity.

3. Reset IP Settings

Resetting your IP settings can fix this issue. Follow these steps:

  1. Search for Command Prompt and click Run as administrator.
    Opening up Command Prompt as Admin
  2. Enter the following commands one by one, pressing Enter after each:
    netsh int ip reset C:\resetlog.txt
    netsh winsock reset
    ipconfig /flushdns
    Resetting IP
  3. Close the Command Prompt and restart your computer.
  4. Check if the problem persists after your PC restarts.

4. Update Network Drivers

Incompatible or corrupted network drivers can cause this issue, preventing your computer from communicating effectively with your router. Updating your network drivers ensures any bugs or issues in old drivers are fixed. To update your network drivers:

  1. Open Device Manager.
    Opening up Device Manager
  2. Expand the Network adapters list.
    Device Manager
  3. Right-click on your network adapter driver and select Update driver.
    Updating Network Driver
  4. Select Browse my computer for driver software.
    Looking for Driver Locally
  5. Click on Let me pick from a list of available drivers.
    Updating Network Driver
  6. Uncheck the Show compatible hardware checkbox.
    Choosing a different Network Driver
  7. Choose a different driver from the list and click Next.
  8. After it installs, check if the problem is resolved.
  9. If not, try reinstalling the network driver.
  10. Right-click the driver and select Uninstall device.
    Uninstalling Network Driver
  11. Restart your computer to reinstall it automatically by Windows.
  12. Check if the error message is gone.

5. Change DNS Server

Changing the DNS server to a more reliable one can help fix connectivity issues. DNS servers translate domain names into IP addresses. Using a reliable DNS service can improve speed and reliability. Popular DNS alternatives include Google’s DNS (8.8.8.8 and 8.8.4.4) and Cloudflare’s DNS (1.1.1.1 and 1.0.0.1). Here’s how:

  1. Right-click on the network icon on your taskbar.
  2. Select Network and Internet settings.
    Opening up Network Settings
  3. Navigate to Advanced network settings.
    Network Settings
  4. Click More network adapter options.
    Advanced Network Settings
  5. Right-click your network adapter and select Properties.
  6. Double-click Internet Protocol Version 4 (TCP/IPv4).
    Ethernet Properties
  7. Enter the following DNS addresses (Google or Cloudflare):
    Google: 8.8.8.8 8.8.4.4
    Cloudflare: 1.1.1.1 1.0.0.1
    Changing DNS Server
  8. Click OK and check if the issue is resolved.

6. Perform Clean Boot

A clean boot starts Windows with only essential services running, minimizing potential conflicts from third-party applications. This can help identify if a third-party service or application is causing network connection issues.

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Switch to the Startup tab and disable all listed applications by selecting them one by one and clicking Disable.
    Disabling Third-Party Apps
  3. Press Windows key + R, type msconfig, and hit Enter.
    Opening up System Configuration
  4. In the System Configuration window, switch to the Services tab and check the Hide all Microsoft services checkbox.
    Hiding Microsoft Services
  5. Click Disable all and then Apply.
    Disabling Third-Party Services
  6. Restart your computer to perform a clean boot and check if the problem is resolved.
ABOUT THE AUTHOR

Kamil Anwar


Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.

Comments

55
    WA
    watershipwoo Apr 24, 2016

    THANK YOU! I have spent almost 24 hours straight, upgrading Dell desktop PC Win7 to Win10 only to be perplexed and frustrated by not being able to connect to WiFi; could connect wirelessly to home network but not to Internet. No problem connecting to Internet via Ethernet, but wireless is more convenient. I tried so many different ‘repairs’ but nothing worked until your Solution #5. Dell listed THREE network adapters with three identical names, but evidently something is different about them. Switching to the second adapter now allows a WiFi connection! Bless you for this fix!

      KA
      K. Arrows Author Apr 24, 2016

      Thank you.

    ER
    EJ Romer Jun 25, 2016

    I have always had problems with my pc’s connection to my network, but this is the first time i have seen this problem when i troubleshoot it, i have tried all of this different solutions and none of them have worked. This is extremely stressful as i rely heavily on my pc.

    EDIT: I have just troubleshooted again it says it cannot detect a problem. I have just reset my computer to an earlier date just in case i had accidently made any changes that would of messed with my adapter settings.

    UN
    Uncommunist Oct 4, 2016

    I have an idea – how about an operating system that works properly ?

      KA
      K. Arrows Author Oct 5, 2016

      Good idea 🙂

    NK
    No thank-you Karen Oct 4, 2016

    I have an idea – how about an operating system that works properly ?

    PR
    Praveen Oct 22, 2016

    Thank you very much.
    Solution 3, fixed my problem

    DA
    DatBoi Dec 31, 2016

    #5 is where it’s at.

    DA
    DatBoi Dec 31, 2016

    #5 is where it’s at.

    CO
    connor Jan 4, 2017

    Oh goodie, I do all of these on a daily basis because they work for about 3 hours and then suddenly the problem comes back. I even went as far as to reset my computer but NOPE. It’s just gotta be a hardware issue but everything seems to be working GREAT. What is love, windows don’t hurt me, don’t hurt me, NO MORE.

    HK
    Heidi Knighton Feb 8, 2017

    None of these worked on my computer. About to throw it aw7ay.

    VE
    Venu Mar 11, 2017

    Solution 5 worked for me after many trials. many thanks. please note, the driver software of Broadcom 802.11b/c/n was showing as the up-to-date. But when i have actually tried to upgrade using the “Use my computer for the driver software”, it still showed the different version- Broadcom 802.11n. This version has resolved the issue.

    Reply
    VE
    Venu Mar 12, 2017

    Solution 5 worked for me after many trials. many thanks. please note, the driver software of Broadcom 802.11b/c/n was showing as the up-to-date. But when i have actually tried to upgrade using the “Use my computer for the driver software”, it still showed the different version- Broadcom 802.11n. This version has resolved the issue.

      KA
      K. Arrows Author Mar 13, 2017

      Thank you for the heads up.

    WB
    William Barnett May 4, 2017

    Mcafee makes me sick me not knowing how bad they are as a company and AV caused me nothing but trouble for my PC thank you for helping me

    IM
    Imani May 30, 2017

    Tried #5, so far so good! As an update to the article however, mine was a realtek wifi bgn or b/g/n, I changed it to the latter, and that seems to have done the trick! I’ll update again if otherwise.

    Thank you for writing this article, it definitely was a help to an issue that had plagued me for weeks!

      KA
      K. Arrows Author Jun 8, 2017

      Welcome 🙂

      MM
      meme magic Dec 17, 2018

      same. anyone have a solution?

    GI
    Ginger Nov 27, 2017

    Hi Kevin, I am tring to update the drivers but when I select any of them and click on next, it gives me a warning message saying that I should not do it because Windows cannot verify the source. Any advice? Thanks

      KA
      K. Arrows Author Dec 2, 2017

      Can you download the drivers from the manufacturer’s site? What is Network Adapter’s model #?

    AN
    Andy Jan 2, 2018

    For step #5 I really wanna try it because the others don’t work. But everytime I do it my pc says that the drivers might not be compatible and that my pc might not work correctly or it might even stop working completely and I’m just kinda worry it’s true. So do you have any other suggestion to fix this problem?

    RI
    Rizal Feb 10, 2018

    Thank you so much. Solution 5 is work for me. And that is the simplest way 😀

    MC
    mcresearch Apr 6, 2018

    Thank you. This (#5) did the job after spending a day on other solutions.

    YA
    yanger Apr 13, 2018

    I find my network disconnecting when i send files from one wifi to another. when it hits a certain amount of bandwidth, the wifi crashes and has to be restarted ;

    DA
    Daniel Jun 3, 2018

    Hi kevin, I have been having this issue along with many others brought up by the troubleshooter and have tried every possible fix i have seen under the sun including a full reset. My wifi is working fine, but ethernet connection is not working, any ideas?

    KR
    Krishna Jun 15, 2018

    Thanks a lot…#5 worked for me.

    NP
    Nathan Piekarski Nov 13, 2018

    Solution 6? I have my charging mode set to conservation mode(might have caused the problem) Ended up going to Device manager > network adapters > selected the driver I was using > power management > unchecking the box that says “Allow the computer to turn off this device to save power”. It has been working so far, hope this helps.

    Reply
      AZ
      Azazel Jan 5, 2019

      amazing, didn’t even knew that Microsoft would be so stupid that they would even turn off important drivers to save power. Solution 6 worked for me ! Just realised that this happened mainly when my laptop wasn’t connected to a power source

      Reply
    SP
    Stan Pikaliri Dec 10, 2018

    Still not working. After I updated W10 OS to the new file system or whatever it was, I have this issue. Thanks Windows 10. I even inserted a new lan card and I have the same issue. Maybe solution 5 will help I dunno yet.

    SP
    Stan Pikaliri Dec 10, 2018

    It will. I checked.

    SP
    Stan Pikaliri Dec 10, 2018

    I installed older driver (2008) and it’s helped me on W10. I suffered the year and a half. Update: Demmit It happend again, I was wrong, because I have the same problem still.

    NA
    Nadeoki Jan 15, 2019

    if it happends when you do heavy tasks like playing games or having many things open at the time, try to go into Device Manager > Network Adapter > Properties and uncheck “Allow to deactivated this device to save power”.

    Reply
    PA
    pajari Aleksi May 5, 2019

    doesnt help.

      SW
      Shane Warren Author Sep 13, 2019

      Open Run and type in “ncpa.cpl”. Press Enter and right-click on your internet connection.
      Select “Disable” and wait for 2 minutes.
      Right-click again and select “Enable”.

    WG
    Wanda Gilliland May 28, 2019

    I have battled this issue for weeks since getting a new HP laptop, no resolve contacting HP, no resolve changing power options/plan.
    Think I finally found solution: Go into device manager, select network adapters, select wifi adapter then right click, select properties, select power management tab then uncheck the box “allow computer to turn off device to save power”.

    Reply
    AV
    Another victim Jul 2, 2019

    Had this problem as well, closing some background programs seemed to work.

    IS
    István Szés Jul 25, 2019

    fix:
    -if use netbalancer util(netbalancer filter below LAN card options) ,in antivirus program change the ipv6 protocol filtering from block all to normal and no more gateway problem

    Reply
    SW
    Shane Warren Author Sep 14, 2019

    Thank for sharing your insight.

    SW
    Shane Warren Author Sep 21, 2019

    Did this work for you? Also, the article was updated to accommodate new methods, check them out.

    SW
    Shane Warren Author Sep 28, 2019

    Change the ethernet wire, it can most surely be the wire that is causing the issue, it might show up as connected but it might not provide a stable connection. Change the wire or try your current one on a different computer and see if it works. Also, check out the article again as some new solutions have been added to accommodate even more methods.

    SW
    Shane Warren Author Sep 29, 2019

    The bandwidth might have been limited from your ISP, have you tried to reset the router and the DNS on the computer?

      YA
      yanger Jan 14, 2020

      yup. not isp related. semi solved by buying a new laptop.

        SW
        Shane Warren Author Jan 16, 2020

        Hmm maybe the network card was affected on the previous one

    ƦC
    ƦᴀƈƈΦΦл ᴼᴥᴼ Go Chiefs! Nov 23, 2019

    #5 Worked for me. Thank you so much!:D

    TW
    tweetingisdumb Dec 2, 2019

    #6 worked for me

    KD
    Kev D Dec 28, 2019

    #5 fixed it for me, thanks a bunch

    IY
    Indian Yug Jan 21, 2020

    Unfortunately none of the solutions work for me.

      SW
      Shane Warren Author Jan 25, 2020

      Try to change DNS to 8.8.8.8 and secondry dns to 8.8.4.4

        IY
        Indian Yug Jan 25, 2020

        Yes this did work for me! Though still get the error sometimes. But very less. I also set the metric to gateway as 5 instead of default.

        Reply
    JL
    Joseph Lenard Jan 23, 2020

    definitely NOT h/w issue, MS strikes again… Only having problem since going to Win10Pro1909… But, foolishly deleted old (1903) copy and can’t rollback!!! Ran REIMAGE and it didn’t help either…
    DO NOT UPDATE TO WIN 10 1909!!!

      SW
      Shane Warren Author Jan 25, 2020

      Just downgrade to a previous version without deleting any files.

    JL
    Joseph Lenard Jan 23, 2020

    What are people’s thoughts on this!
    Is it possible to perhaps by an external piece of h/w???
    Say, one that would plug into Ethernet port and the external unit actually connect to the Wireless Router (which would interact/operate on it’s own terms with the Router, bypassing WIN10’s issue (hopefully) in this case)?!?!?
    Any external Wireless systems for a PC suggestions?!?!
    Absolutely PATHETIC we’d have to piss-away $$$ for this, but Microsoft will likely deny problem for months and then take many more months to actually bother to fix if they bother to admit their problem.

    DE
    Deepak Mar 24, 2020

    Its worked for me as well, thanks a lot

    SC
    SceptileScythe Jul 27, 2020

    None of these work for long, what’s going on?

      SW
      Shane Warren Author Jul 29, 2020

      Is the network adapter being reverted back by Windows? check if it is reverting back to the driver that we changed.