If Outlook’s Personal Folders file (.pst) is damaged, you can often recover it with the built-in Inbox Repair Tool (Scanpst.exe), by restoring from a backup, or by using third-party recovery software. This guide explains each method in order, what to try first, and how to avoid making the damage worse.
What a PST File Is and Why It Gets Corrupted
A .pst file stores your Outlook emails, contacts, calendar items, tasks, and notes on your computer. It is a single file that Outlook locks while running, so any interruption—a power loss, a forced shutdown, an overfilled hard drive, or a sync error—can leave it in an inconsistent state. The file can also exceed its 2 GB limit in older Outlook versions (2003 and earlier), which often caused corruption. Modern versions support much larger PSTs, but the file can still be damaged by malware, disk errors, or improper copying.
Corruption usually shows up as one of these symptoms:
- Outlook says “The file … is not a valid Personal Folders file” when you try to open it.
- Your mailbox appears empty or missing recent items.
- Outlook crashes or freezes when you click on certain folders.
- You get an error like “Cannot open your default e-mail folders” at startup.
First Step: Run the Inbox Repair Tool (Scanpst.exe)
Every Windows version of Outlook ships with a repair utility called Scanpst.exe. It is not listed in the Start menu, so you need to locate it manually. The exact path depends on your Outlook version and whether Windows is 32-bit or 64-bit:
- Outlook 2019, 2016, 2013, or Microsoft 365 (64-bit):
C:\Program Files\Microsoft Office\root\OfficeXX\Scanpst.exe - Outlook 2019, 2016, 2013, or Microsoft 365 (32-bit):
C:\Program Files (x86)\Microsoft Office\root\OfficeXX\Scanpst.exe - Outlook 2010:
C:\Program Files\Microsoft Office\Office14\Scanpst.exe - Outlook 2007:
C:\Program Files\Microsoft Office\Office12\Scanpst.exe
Replace OfficeXX with the actual version folder (e.g., Office16 for 2016/2019/365). If you cannot find it, search your entire C: drive for Scanpst.exe.
Before running the tool, close Outlook completely. Then:
- Open Scanpst.exe.
- Click Browse and select your .pst file. The default location is
C:\Users\YourName\Documents\Outlook FilesorC:\Users\YourName\AppData\Local\Microsoft\Outlook. - Click Start. The tool scans the file and reports errors.
- Check Make a backup of the scanned file before repairing to create a copy before changes.
- Click Repair and wait. The process can take several minutes for large files.
After repair, open Outlook and see if your data is back. If the tool says “The file was repaired successfully” but Outlook still fails, the damage may be beyond what Scanpst can fix.
Second Step: Restore from a Backup
If Scanpst does not work, your next best option is a backup. Outlook does not back up PST files automatically, but you may have one from:
- File History (Windows 8/10/11) if you added the PST folder to it.
- Windows Backup or a third-party backup tool.
- OneDrive or another cloud sync folder if you copied the PST there manually.
- An older copy you made before a major update or migration.
To restore, close Outlook, copy the backup .pst file over the corrupted one, then reopen Outlook. If you are unsure which file is the backup, check the file dates in File Explorer. A common mistake is to restore the wrong file—make sure the backup is newer than the last time you remember your mailbox working.
Third Step: Use a Third-Party PST Recovery Tool
When Scanpst fails and no backup exists, specialized recovery software is the next option. These tools scan the raw data in the PST and attempt to rebuild the folder structure. They vary in cost and effectiveness, but the general approach is:
- Download and install a reputable recovery tool (e.g., Stellar Phoenix PST Repair, Kernel for Outlook, or SysTools PST Recovery).
- Open the tool and select the corrupted PST file.
- Run the scan. The tool will show a preview of recoverable items.
- Choose to save the recovered data as a new PST file.
- Open that new PST in Outlook using File > Open & Export > Open Outlook Data File.
These tools are not free, and they do not guarantee 100% recovery. They work best when the file is logically corrupted rather than physically damaged. If the PST is on a failing hard drive, you should first clone the drive or copy the file to another disk before running any software.
How to Avoid Losing Data in the Future
Prevention is far easier than recovery. The most important habit is to back up your PST file regularly. You can do this manually by copying the file to an external drive, or automatically with a backup program. Also consider:
- Use IMAP or Microsoft 365 accounts instead of POP3, so most of your data stays on the server and can be re-downloaded.
- Keep your hard drive healthy—run
chkdskoccasionally, and replace a drive that shows bad sectors. - Do not store PST files on network drives or USB flash drives; Outlook does not support them there.
- Keep your Outlook version up to date with patches.
- If you use Outlook 2003 or earlier, upgrade—the 2 GB limit is a real corruption risk.
Common Mistakes and Misconceptions
One widespread myth is that Scanpst.exe can fix any PST problem. In reality, it only repairs structural errors in the file’s index and table of contents. It cannot recover deleted items or restore data that was overwritten. Another mistake is running Scanpst while Outlook is open—this can cause further damage because the file is locked. Also, people often ignore the “Make backup” checkbox, which is risky because the repair process itself can sometimes make the file worse. If you have a very large PST (over 20 GB), Scanpst may take hours or appear to hang—let it run, but make sure your computer does not go to sleep.
What to Do If Nothing Works
If all recovery attempts fail, you still have options. Check if the PST is stored in a location that Windows has a shadow copy of (right-click the file, select Properties, then the Previous Versions tab). If you have a Microsoft 365 or Exchange account, your mailbox may still exist on the server—you can export it again via Outlook Web App. For POP3 accounts, your emails might still be on the mail server if you have not deleted them there. Finally, if the data is truly lost, you may need to rebuild your mailbox manually from sent items, contacts, and any exported CSV files you have.
Frequently Asked Questions
Can I recover a PST file after Outlook is uninstalled?
Yes. The PST file is a separate file on your disk. As long as you did not delete it, you can reinstall Outlook and then use File > Open & Export > Open Outlook Data File to attach it.
How long does Scanpst take?
It depends on the file size. A 2 GB file might take 5–10 minutes; a 50 GB file can take hours. Do not interrupt it once started.
Will Scanpst delete my emails?
No. It repairs the file’s structure. However, if it finds severe damage, it may move some items to a folder called “Lost and Found” or discard items that are beyond repair. Always enable the backup option.
What is the difference between a PST and an OST file?
A PST is a personal folder file used for POP3, IMAP, and archived data. An OST is an offline cache for Exchange or Microsoft 365 accounts. You cannot open an OST directly with Scanpst in the same way; you would typically recreate it by re-syncing.
Can I recover a PST from a formatted drive?
Possibly, but only with specialized data recovery software that works on the raw disk. The success rate depends on whether new data has overwritten the old file. Stop using the drive immediately and seek professional help if the data is critical.
Is there a free way to recover a PST?
Scanpst.exe is free and built into Outlook. For more severe cases, some third-party tools offer free trials that let you preview recovered items, but you must pay to export them. No reliable free tool can fully replace the paid ones for extensive corruption.