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

Getting Started with the Mail App

The Mail app is a great way to access your e-mail. This tip shows you how to get started quickly and easily.

Discover More

Better Sound with Windows Sonic

Windows 10 allows for better sound through the use of Windows Sonic. Windows Sonic is Microsoft's solution for better ...

Discover More

Connecting a Bluetooth Speaker

Bluetooth speakers allow you to play your computer's audio wirelessly. Connecting a Bluetooth speaker to a ...

Discover More
More WindowsTips

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

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

Changing Font Size in a Command Prompt Window

If you work at the command level very much, you may want to change the fonts that are used. You can control what ...

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 2 + 2?

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


Newest Tips