Yes, you can delete a personal storage table (PST) file from Microsoft Outlook, but doing so requires closing the application first to prevent corruption and data loss. This guide explains how to identify, close, and remove the specific PST file you no longer need, whether it is an offline file used on a single computer or a shared archive.

What You'll Need

  • A computer running Microsoft Outlook (2016, 2019, 2021, or Microsoft 365).
  • Administrative access to the file system where the PST is located.
  • Knowledge of which PST file corresponds to the data you want to remove (e.g., an old archive or a duplicate data file).

Step-by-Step

  1. Close Outlook completely. You cannot delete a file while it is open or being accessed by the application. Right-click the Outlook icon in the system tray (bottom right) and select "Close Outlook". If the icon is not visible, press Ctrl + Alt + Del and open the Task Manager. Find "Microsoft Outlook" in the list, right-click it, and choose "End Task". This ensures no background processes are locking the file.
  2. Locate the PST file path. You need to know exactly where the file is stored on your hard drive. There are two main ways to find this:
    • Method A: Via Outlook Settings (Recommended for identification). Open Outlook (if it opens automatically after closing, restart it to ensure the profile is fresh). Go to File > Account Settings > Account Settings again (sometimes it is just one click). Select the Data Files tab. You will see a list of all currently loaded PST files. Select the one you wish to delete and click Open File Location. Windows Explorer will open and highlight the file.
    • Method B: Via Windows Explorer. Press Windows Key + R to open the Run dialog. Type %localappdata% and press Enter. Navigate through the folders to Microsoft > Outlook. You will likely see numbered profiles (e.g., Outlook1, Outlook2) containing files ending in .ost (offline data) and .pst (archive/data files). The .pst files are the ones you want.
  3. Verify the file contents (Safety Check). Before deleting, ensure you are looking at the correct file. If you are unsure, right-click the PST file in Windows Explorer and select Properties. Click the General tab. You will see the file size. You can also click the Previous Versions tab (if System Restore is enabled) to see when the file was last modified, which can help distinguish between a rarely used archive and a daily working file. If you are deleting an archive, the modification date will likely be old. If you are deleting a duplicate, the size might be identical to another file in the list.
  4. Delete the PST file. With Outlook closed and the file identified, navigate to the folder containing the file in Windows Explorer. Right-click the .pst file and select Delete. Confirm the deletion when prompted. The file is now removed from your computer.
  5. Remove the file from Outlook (Optional but Recommended). Deleting the physical file is usually enough, but if you plan to add a new PST later or clean up the settings, it is safer to remove the reference. Open Outlook. Go to File > Account Settings > Data Files. Select the PST file you just deleted (it will show as missing or offline). Click Remove. Outlook will ask if you want to keep the data file. Select No. This ensures Outlook does not try to repair a corrupted or deleted file on startup.
  6. Restart Outlook. Launch Microsoft Outlook. If you removed the file reference in the previous step, the application may prompt you to create a new data file or it may simply load normally if you have a default mailbox connected to the cloud. If you see any errors regarding missing data files, simply click OK or Cancel to continue working.

Common Mistakes

One of the most common errors when attempting to delete a PST file is failing to close Outlook first. Outlook keeps a lock on the file, which prevents Windows from deleting it. If you try to delete the file while Outlook is open, you will receive an error message saying the file is in use by another program. Another mistake is deleting the wrong file. If you have multiple PST files, ensure you are selecting the one that ends in .pst and not the .ost file. OST files are used for offline access to Exchange or Microsoft 365 mailboxes and should generally not be deleted manually as it can corrupt your ability to sync email.

Tips

Before deleting a large archive PST file, consider creating a backup copy of it. Right-click the file in Windows Explorer and select Copy, then navigate to a different folder (like Documents or an external drive) and select Paste. This ensures you have a copy of the data in case you need to recover emails later. If you are unsure if you need the data in the PST, try renaming the file instead of deleting it. For example, rename Archive.pst to Archive_1.pst. If you do not open Outlook for a week and everything works fine, you can then safely delete the renamed file.

Troubleshooting

If Windows reports that the file is in use and you are certain Outlook is closed, it is possible that a background application or Windows Search is indexing the file. Press Ctrl + Shift + Esc to open Task Manager and check the processes tab. Look for any application named Windows Explorer or SearchIndexer. If you find SearchIndexer, right-click it and select End Task, then try to delete the PST file again. Once deleted, restart the SearchIndexer process by logging out and back in or restarting your computer.

If you deleted the PST file but Outlook continues to show it in the Data Files list, or if you receive an error on startup saying the file cannot be found, you must remove the reference from the settings as described in Step 6. If Outlook opens but you are missing email folders that you expected to be there, double-check the file path you used in Step 2. It is possible you deleted a PST file from a different profile or a different user account on the computer.

Frequently Asked Questions

Can I delete a PST file while Outlook is running?

No, you cannot. Outlook locks the PST file to prevent data corruption. You must fully close the application and ensure no background processes are running before attempting to delete the file.

Will deleting a PST file delete my emails?

If you delete the physical .pst file from your hard drive, yes, those emails will be gone unless you have a backup. If you simply remove the file reference within Outlook settings but keep the file on your computer, your emails will remain accessible.

What is the difference between a .pst and an .ost file?

A PST (Personal Storage Table) is a file used for local archives and data storage on a single computer. An OST (Offline Storage Table) is used to cache data from an Exchange or Microsoft 365 mailbox for offline access. You should not delete OST files manually.

How do I know which PST file to delete?

Look at the file size and the modification date. Large files that are rarely updated are likely archives. You can also open Outlook, go to File > Account Settings > Data Files, and see the list of files with their locations and sizes to match them to the files in your file system.

What happens if I delete the wrong PST file?

If you delete a PST file containing important emails, those emails are permanently removed from your computer unless you have a backup copy of the file. You should immediately stop using the computer to minimize the chance of overwriting the deleted data on the hard drive.

Why does Outlook ask for a password when I open it after deleting the PST?

If you delete a PST file that was password protected, Outlook may still try to load it if it has a saved reference in your profile. You may need to create a new data file or remove the old one from the settings to resolve this.