Clearing the Address Resolution Protocol Cache

Written by Eric Wyatt (last updated November 15, 2021)

There are many inner workings required for computers to run correctly. Many of these inner workings occur without the average user ever knowing that they are taking place. Windows tries its best to ensure that you never need to peek behind the curtain and that your computer will run properly without you needing to know about these items.

One such area is what is known as the Address Resolution Protocol (ARP) cache. Without getting too technical, ARP is used to track an IP address back to a specific device in a local area network (LAN) by converting the 32-bit IP address to the 48-bit Media Access Control (MAC) address that is unique for each device. What this means is, when you enter an IP address such as 192.168.0.1 (a default IP address for many wireless routers), your computer will connect to the correct device. If that all sounds complex, think of ARP as a data guide for your computer.

As with many things on your computer, Windows speeds things up by maintaining a list or a cache of commonly used ARP-to-MAC references. Caches speed things up by being referred to quickly, rather than creating a new translation each time. Typically, your computer tries to clear caches at various times, perhaps when you close a program, plug something in, or when restarting your machine. However, sometimes these caches can become inundated with errors or unwanted entries that may not be removed automatically. When this happens, you might begin experiencing network connection issues. Fortunately, Windows makes clearing out the ARP cache easy. (The process of clearing your ARP cache is referred to as "flushing the ARP cycle.")

The first thing you need to do is make sure that the "Routing and Remote Access" service is stopped. To do this:

  1. Press Windows+R to open the Run prompt.
  2. Type (without quotes) "services.msc" then press Enter. This opens the Services window.
  3. In the list of services, locate the "Routing and Remote Access" service. Right-click on the service and select Properties from the Context menu. This opens the Routing and Remote Access Properties window.
  4. On the General tab, next to Service Status, ensure it says "Stopped." If it doesn't say it is stopped, click the Stop button, and then OK.
  5. Close the Routing and Remote Access Properties window.

Now you can proceed to actually flush the cache. To flush the ARP cycle, we need to run a command in Command Prompt.

  1. Press the Windows key and type (without quotes) "CMD." In the results window, choose the Run as Administrator option. Windows opens a Command Prompt window.
  2. Enter one of the following commands and then press Enter.
  3. arp -d
    

    or

    netsh interface IP delete arpcache
    
  4. Close the Command Prompt window.
  5. Restart your computer.

When your computer restarts, it will create a new ARP cache. This should help any ARP-related issues that your computer was having.

 This tip (9137) applies to Windows 10 and 11.

Author Bio

Eric Wyatt

Eric Wyatt is a swell guy (or so his friends tell him). He is a formally trained designer and branding expert, bringing a wide range of skills to his Tips.Net articles. ...

MORE FROM ERIC

Downloads and Storage Sense

Storage Sense can free up limited storage space on your computer automatically. Make sure you don't have it delete files ...

Discover More

Quick Assist for Quick Help

Many times, in our lives we will be asked, or we will ask, for computer help. Windows 10 offers a quick way of doing this ...

Discover More

Setting Time Limits for Windows 10 Users

If your computer is set up in crowded environment, it may be helpful to establish times that an account can be used. You ...

Discover More
More WindowsTips

Setting Time Limits for Windows 10 Users

If your computer is set up in crowded environment, it may be helpful to establish times that an account can be used. You ...

Discover More

Renaming Files Using the Command Line

The rename command can really be a timesaver over trying to do the similar sort of thing with Windows Explorer. You can ...

Discover More

Displaying the Command Prompt Window

You may have the need to perform repetitive operations or group several commands together to run as a batch. In such ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 - 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips