• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

Understanding Outlook's AutoComplete Cache

Slipstick Systems

› Outlook › Email › Understanding Outlook’s AutoComplete Cache

Last reviewed on April 8, 2025     144 Comments

Applies to: Outlook (classic), Outlook 2010

One of my email contacts has a new email address as their company changed their domain name. I have deleted and re-entered her correct email address about half a dozen times in the address book and yet my PC still thinks I am sending her emails to her old domain.com instead of her new domain.com. When I entered her name it defaults to the "olddomain.com" address even though it is nowhere to be found on my PC. I have to select her "newdomain.com" address from the address book for it to work. Has anyone experienced where Outlook is keeping this old email address info? How can I can purge it?

This is an all too common experience for many users.

Use the arrow key to select the incorrect address and press the Delete key.

You can clear the entire autocomplete file: in older versions you need to delete the *.NK2 file from your hard drive, while Outlook 2010 and newer has a button to clear the Autocomplete cache in Options (screenshot below).

 

Outlook 2010 and newer

Beginning with Outlook 2010, Outlook does not use the NK2 file; it stores the autocomplete cache in the mailbox or data file and caches the addresses in an autocomplete stream at C:\Users\%username%\AppData\Local\Microsoft\Outlook\RoamCache. You can type or paste %localappdata%\Microsoft\Outlook\RoamCache in the address bar of Windows Explorer then press Enter to open the folder location where the cache is stored in a file named Stream_Autocomplete_0_[long GUID].dat.

Clear the autocomplete cache using the File, Options, Mail, Empty Auto-complete list button.
Empty Autocomplete cache
You can also use the /cleanautocompletecache switch to clear the cache.

Close Outlook. Press Windows key + R to open the Run command and type or paste the following line and press enter to start Outlook. (There is a space before /.)

outlook.exe /cleanautocompletecache

If addresses are not saving in the auto-complete list between Outlook sessions and clearing the cache doesn't fix the problem, you may need to delete the RoamCache file. Instructions are at Outlook doesn't save Autocomplete.

See Suggested Contacts and Auto-Complete Lists to learn more about Outlook 2010's autocomplete cache and suggested contacts.

Outlook 2010 also creates a contact for people you send mail to, as insurance if the autocomplete cache becomes corrupt. Look for these contacts in the Suggested Contacts folder. This unpopular feature was removed from Outlook beginning with Outlook 2013.

Clear the NK2 file in Outlook 2007

The nickname files (.nk2) used by Outlook 2007 (and 2003) is found at C:\Documents and Settings\%username%\Application Data\Microsoft\Outlook if you are using Windows XP/2000 or C:\Users\%username%\Application Data\Microsoft\Outlook.

You can access this folder by pasting %USERPROFILE%\Application Data\Microsoft\Outlook in the Address bar of Windows Explorer.

Close Outlook then delete or rename the *.NK2 file. When you restart Outlook it will create a new, empty NK2 file.

Nickname cache is empty

We use Outlook and my users aren't very good at adding email addresses to the Contacts folder and rely heavily on the autocomplete cache, but it gets replaced often. Why does it seem so fragile?

If the users are losing addresses of people they recently replied to (but not older addresses), it's because Outlook crashes or does not close properly and the changes are not written to the NK2 file. The existing *.NK2 shouldn't be replaced by a clean *.NK2 if this happens, but new addresses you've sent new mail to or replied to won't be saved to the file. Less used addresses are replaced by new addresses when the NK2 contains 1000 addresses in Outlook 2003 or 2000 address if using Outlook 2007.

If all addresses disappear, it means something is corrupt and Outlook is replacing the NK2 with a new, clean one.

See OUTLOOK.EXE continues running after you exit Outlook

If you're using the autocomplete cache as your address book because it's too much effort to right click on an address and save it as a new Contact, you should use a utility that creates contacts from all addresses you reply to, as the autocomplete cache is not a good substitute for contacts.
 

Import addresses from NK2

When you upgrade from Outlook 2007 and earlier in-place and use the same profile, Outlook 2010 or 2013 should import the NK2 you used with your previous Outlook version automatically on the first run. If Outlook didn't import the NK2 automatically, or you are using a new computer and didn't think to move the NK2 file, or you made a new profile, you can import the NK2 after the first run by using the ImportNK2 switch.

When you import the NK2, the contents of the file are merged into the existing nickname cache that is currently stored in your mailbox.

To import .nk2 files into Outlook 2010 and newer, follow these steps:

  1. Make sure that the .nk2 file is in the following folder:
    %appdata%\Microsoft\Outlook
    The .nk2 file must have the same name as your current Outlook profile. (By default, the profile name is "Outlook.")
  2. Press Windows Key + R to open the Run dialog.
  3. In the Open box, type (or paste) outlook.exe /importnk2, and click OK to import the NK2 into your profile.

The .nk2 file is renamed with a .old file name extension on the first start of Outlook 2010. If you need to re-import the .nk2 file, remove the .old file name extension.

Use the nicknames with new profiles

If you create a new profile you can copy the NK2 file used by your old profile. You'll need to rename it so it matches the name of your new profile.

How to clear names from the cache

To remove single addresses, select the name using the arrow keys then press Delete. In Outlook 2010, you can also click the x beside the name to delete it or use the Backspace key.

To remove all of the addresses from the autocomplete cache in Outlook 2007 or 2003, either delete the NK2 file (at %USERPROFILE%\Application Data\Microsoft\Outlook ) or go to Tools, Options, Email Options, Advanced Email Options and deselect the option to suggest names near the bottom of the dialog.

In Outlook 2010, clear the cache using the File, Options, Mail dialog, Empty Auto-complete List button.

Remove an Address from the Auto-Complete Cache Tutorial

Auto-Complete Cache Editing Tools

 

Tools

debunk2

Open source project to read MS Outlook autocomplete (NK2) files and extract email addresses. Beta version 0.5

NK2Edit

Use NK2Edit to edit or delete information stored in the NK2 file or Outlook 2010/2013's Autocomplete Stream, including the display name, the email address, the exchange string, the Drop-Down display name, and the search string. Free for home use; Commercial license available.

NK2View

Use NK2View to view, edit or delete entries in Outlook's .NK2 AutoComplete file. Export the records to text, html, or xml files. Freeware. Version 1.37

Autocomplete List Cache Size

There is a limit of 1000 names on the autocomplete cache in Outlook. The limit can be raised in Outlook by use of a registry setting. Note: this value will not exist by default and is only needed if you want to change the limit.

Outlook 2016, 2019, 365:
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoNameCheck

Outlook 2013:
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\AutoNameCheck

Outlook 2010:
HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\AutoNameCheck

Outlook 2007:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\AutoNameCheck

Outlook 2003:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\AutoNameCheck

Outlook 2002:
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\AutoNameCheck

DWORD: MaxNicknames
Value: Between 1 and 2000, in decimal

Do It For Me

The following registry files will change the registry key to 2000 entries. Download the file for your version of Outlook and double click to run.

Outlook 2003 Outlook 2007 Outlook 2010

More Information

To learn more about the files Outlook uses and where they are stored, visit
Outlook & Exchange/Windows Messaging Backup and Dual-Boot.
OUTLOOK.EXE continues running after you exit Outlook
Outlook 2010's Suggested Contacts and Auto-Complete Lists

Understanding Outlook's AutoComplete Cache was last modified: April 8th, 2025 by Diane Poremsky

Related Posts:

  • Could not complete the operation. One or more parameter values are not valid.
  • Moving Outlook's auto-complete address list to a new account
  • Suggested Contacts and Auto-Complete Lists
  • Outlook Contacts, Address Book, and Autocomplete

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Subscribe
Notify of
144 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

Robert M (@guest_220692)
October 28, 2023 9:56 am
#220692

Hi - I put in a detailed comment yesterday but it disappeared. I'll be brief here. Is there a way to move an autocomplete cache from one Outlook [2019] Profile to another? Your steps aren't working when I follow them in this case, though they have worked for me a number of times before.

Thanks in advance!

0
0
Reply
Robert M (@guest_220686)
October 27, 2023 10:06 am
#220686

Hi Diane, I have used your suggestion(s) here to move the Autocomplete file before but today I have what I think is different. Briefly, I HAD TO create a new Outlook Profile [Tim] as the ownership of this particular email address went from the tech support guy whom set up my friend Tim's website and email address. Tim took over ownership and the account was not migrated but deleted from the tech's GoDaddy account and added to Tim's GoDaddy account. I still can see the Autocomplete working in the old Outlook Profile (but the email doesn't) but not in the new one. I have made extra copies of the 925 KB .dat file just in case. But - and I can tell by putting a "new" address in the new Autocomplete - I close Outlook, find the new Profile's Autocomplete, rename it to the one from the other Profile [Outlook], then restart Outlook. But when I send a test email to an "old" address, nothing comes up in Autocomplete. If I send that email, then close Outlook, I see that the .dat file is back to 6 KB or something around there. And the time stamps keep me looking at… Read more »

0
0
Reply
Ron Bohlander (@guest_219051)
January 4, 2022 4:49 pm
#219051

I found the info in this article about the autocomplete cache from Outlook (applicable to Version 2111 in the section about Outlook 2010 or Newer) very helpful in moving a family member from one computer to a new one. Thank you!!

0
0
Reply
Thomas Richardson (@guest_218612)
August 10, 2021 7:55 am
#218612

Hi Diane, Great article, really useful. Any idea how MS calculates the weights in the NK2/autocomp file?

0
0
Reply
Matt van Leeuwen (@guest_218575)
July 26, 2021 9:45 pm
#218575

Hi Diane,
I know you're an Outlook mastermind, but not sure if this extends into Excel! Is it possible to pull the Auto-complete list into Excel using VBA? I have code that pulls the "Contacts" list, but I'm trying to do the same with the Auto-complete. To do so, the code needs to know the "name" of the list. For example, "Contacts", "Global Address List", etc... as seen in the following code snippet.

***** Set olAL = olNS.AddressLists("Global Address List")

Appreciate any insight!

0
0
Reply
Diane Poremsky(@diane-poremsky)
Author
Reply to  Matt van Leeuwen
July 26, 2021 10:24 pm
#218576

You can't use VBA (I don;t think redemption can read it either, but will check) to access the autocomplete list - but nirsoft.net's NK2Edit can read the autocomplete file.

1
0
Reply
Matt van Leeuwen (@guest_218577)
Reply to  Diane Poremsky
July 26, 2021 10:31 pm
#218577

Thanks for the prompt reply! I was hoping to avoid external programs, as I'm building this for my company. Greatly appreciate your response!

0
0
Reply
S.S (@guest_217541)
February 9, 2021 3:23 am
#217541

Hi, Diane
Outlook 365; "There is a limit of 1000 names on the autocomplete cache in Outlook" So.. what happens when cache is full (>over 1000 names)
How does Outlook then "behaves" with new email addresses? Many thanks!

0
0
Reply
Diane Poremsky(@diane-poremsky)
Author
Reply to  S.S
March 4, 2021 11:23 am
#217670

The oldest addresses are removed. Outlook orders the address by recently used - so old addresses you haven't used should be removed.

0
0
Reply
Navid (@guest_215829)
September 3, 2020 4:03 pm
#215829

I have Outlook 365/2016 64 bit. The AutoNameCheck registry SubKey does not exist on 2 PCs I have checked: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoNameCheck

0
0
Reply
Diane Poremsky(@diane-poremsky)
Author
Reply to  Navid
March 4, 2021 11:23 am
#217671

If the key doesn't exist, you need to add it.

0
0
Reply
JpaulJ (@guest_212550)
January 15, 2019 4:36 pm
#212550

I'm using Outlook 2013 (IMAP) and when I add a contact from within an email it is only stored in the autocomplete list(?). I was hoping to add the contact directly to the Contacts address book. I can only see this person when I click on To: and search the displayed list. He never actually shows up in my People address book.

How do I fix this? I thought I might import the autocomplete list, but it appears to also include my address book contacts.

0
0
Reply
Diane Poremsky(@diane-poremsky)
Author
Reply to  JpaulJ
June 14, 2019 9:46 am
#213439

When you save a contact by right-clicking on the address and choosing Add to Contacts, it is added to the default contacts folder. That is why you see it when you click on To.

Can you find it if you search People? How many contacts folders do you have?

0
0
Reply

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 30 Issue 19

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Use Classic Outlook, not New Outlook
  • How to Remove the Primary Account from Outlook
  • Adjusting Outlook's Zoom Setting in Email
  • Disable "Always ask before opening" Dialog
  • How to Hide or Delete Outlook's Default Folders
  • This operation has been cancelled due to restrictions
  • Remove a password from an Outlook *.pst File
  • Reset the New Outlook Profile
  • Save Attachments to the Hard Drive
  • Outlook SecureTemp Files Folder
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
  • Google Workspace and Outlook with POP Mail
  • Import EML Files into New Outlook
  • Opening PST files in New Outlook
  • New Outlook: Show To, CC, BCC in Replies
  • Insert Word Document into Email using VBA
  • Delete Empty Folders using PowerShell
  • Warn Before Deleting a Contact
  • Classic Outlook is NOT Going Away in 2026
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Google Workspace and Outlook with POP Mail

Import EML Files into New Outlook

Opening PST files in New Outlook

New Outlook: Show To, CC, BCC in Replies

Insert Word Document into Email using VBA

Delete Empty Folders using PowerShell

Warn Before Deleting a Contact

Classic Outlook is NOT Going Away in 2026

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2025 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.

wpDiscuz

Sign up for Exchange Messaging Outlook

Our weekly Outlook & Exchange newsletter (bi-weekly during the summer)






Please note: If you subscribed to Exchange Messaging Outlook before August 2019, please re-subscribe.

Never see this message again.

You are going to send email to

Move Comment