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

Turning on Night Light

When you work on your computer late at night the glow from your computer monitor can affect your sleep. Why not setup ...

Discover More

New Windows 10 Shortcuts

At times, it is helpful to work quicker to get things done faster. Windows 10 offers several new shortcuts to help you ...

Discover More

Removing Temporary Files

Windows provides a workspace for programs to create temporary files, the Temporary folder. You can remove files from the ...

Discover More
More WindowsTips

Introduction to Regular Expressions

Regular expressions are usually the domain of computer programmers. There are times, though, when an end-user might find ...

Discover More

Using the Findstr Command

Finding data within files is a common need. If what you're looking for is in a flat file, you can find what you're after ...

Discover More

Command Prompt's New Tricks

Command Prompt has been around for a while in various versions of Windows. With Windows 10 the Command Prompt window has ...

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 nine minus 5?

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


Newest Tips