Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Outlook Remove Default Data File: How to Change It

· 6 min read · Home Tech

In this article
  1. What Is the Default Data File in Outlook?
  2. Why Would You Want to Remove the Default Data File?
  3. How to Change the Default Data File
  4. How to Remove the Old Data File
  5. What Happens to the Old Data File?
  6. Common Problems and Misconceptions
  7. Frequently Asked Questions

If you are asking how to remove the default data file in Outlook, the short answer is: you cannot delete the file that is currently set as the default, but you can set a different data file as the default and then remove the original. This article explains exactly how to change the default data file, what happens when you do, and how to delete the old file safely without losing your emails.

What Is the Default Data File in Outlook?

Outlook stores your emails, contacts, calendar items, tasks, and other data in a personal folders file (PST) or an offline Outlook data file (OST). The default data file is the one Outlook uses for new items, such as when you create a new email or calendar entry. When you first set up an email account, Outlook automatically creates a data file and sets it as the default. For most users, this is the file associated with their primary email account.

If you have multiple data files (for example, one from an old account and one from a new account), you might want to change which one is the default. This is a common need when you switch to a new email address but still want to access old emails, or when you want to move your data to a different drive.

Why Would You Want to Remove the Default Data File?

There are several reasons you might want to remove a default data file:

  • You have an old PST file that you no longer use, and you want to free up disk space.
  • You set up a new email account and want the new data file to be the default, so new items go to the correct place.
  • You are migrating to a new computer and want to remove the old data file from the profile.
  • The default data file is corrupted and Outlook keeps giving errors.

However, Outlook does not allow you to simply delete the default data file while it is still set as the default. The option to remove a data file is greyed out for the default one. You must first set another data file as the default, and then you can remove the old one.

How to Change the Default Data File

Changing the default data file is straightforward, but the exact steps vary slightly depending on your Outlook version. Here are the general steps for Outlook 2016, 2019, 2021, and Microsoft 365:

  1. Open Outlook and go to the File tab.
  2. Click Account Settings and then select Account Settings again from the dropdown.
  3. In the Account Settings window, go to the Data Files tab.
  4. You will see a list of all data files associated with your profile. The current default data file is marked with a checkmark or the word “Default”.
  5. Select the data file you want to make the new default.
  6. Click the Set as Default button (or “Set as Default” on older versions).
  7. Click OK to save the changes.

After this, Outlook will use the new default data file for new items. The old default data file is no longer the default, so you can now remove it if you wish.

How to Remove the Old Data File

Once you have set a new default, you can remove the old data file from your profile. Here’s how:

  1. Go to File > Account Settings > Account Settings.
  2. Click the Data Files tab.
  3. Select the data file you want to remove (the one that is no longer the default).
  4. Click Remove.
  5. Confirm that you want to remove the data file.

Removing a data file from Outlook does not delete the actual .pst or .ost file from your computer. It only removes it from the Outlook profile, so Outlook will no longer try to load it. If you want to free up disk space, you will need to delete the file manually from your hard drive. But be careful: if you delete the file, you will permanently lose all the emails, contacts, and other items stored in that file. Make sure you have a backup if you need the data.

What Happens to the Old Data File?

When you remove a data file from Outlook, the file itself remains on your computer in its original location (usually in %userprofile%\Documents\Outlook Files or %userprofile%\AppData\Local\Microsoft\Outlook). The data is still there, but Outlook no longer shows it in the navigation pane. You can re-add it later by going to File > Account Settings > Data Files > Add and browsing to the file.

If you want to delete the file permanently, you can do so after removing it from Outlook. However, before deleting, consider whether you need any of the data. Once deleted, the file cannot be recovered easily.

Common Problems and Misconceptions

One common misconception is that removing a data file will delete your emails. As explained above, it only removes the file from the Outlook profile. Your emails are still in the .pst file on disk. Another issue is that some users try to delete the default data file without setting a new default first. Outlook will not allow this, and the Remove button is greyed out. You must set a new default first.

Another problem is that after changing the default, some users notice that old emails are still in the old data file, but new emails go to the new one. This is expected. If you want all your emails in one place, you can move items from the old data file to the new one by dragging them in Outlook, or you can import the old PST into the new one. However, moving items manually can be time-consuming, and it may not preserve all metadata perfectly. A simpler approach is to keep the old data file as a separate folder in the navigation pane, so you can still access old emails without them being the default.

Frequently Asked Questions

Can I delete the default data file without setting a new one?

No. Outlook requires at least one data file to be the default. If you try to remove the default, the Remove button is greyed out. You must first set another data file as the default, then you can remove the old one.

Does removing a data file delete my emails?

No. Removing a data file from Outlook only removes it from the profile. The .pst or .ost file remains on your computer, and you can re-add it later. To permanently delete the emails, you would need to delete the file itself from your hard drive.

How do I find where my data file is stored?

In Outlook, go to File > Account Settings > Data Files. Select the data file and click Open File Location. This will open the folder where the file is stored. You can also see the full path in the Data Files tab.

What is the difference between a PST and an OST file?

A PST (Personal Storage Table) is used for POP3 and IMAP accounts, and it stores a copy of your emails locally. An OST (Offline Storage Table) is used for Microsoft Exchange or Microsoft 365 accounts, and it caches a copy of the server data for offline use. OST files are usually not meant to be backed up or moved; they are recreated automatically when you set up the account again.

Can I change the default data file without losing my signature or settings?

Yes, changing the default data file does not affect your Outlook settings, signatures, or rules. Those are stored separately in your profile. Only the location where new items are saved changes.

Why is the Remove button greyed out for my data file?

The Remove button is greyed out because that data file is currently set as the default. You need to select another data file and click Set as Default first. After that, the Remove button will become available for the old default file.