How to Repair an Outlook PST File (ScanPST)
To fix Outlook PST file errors, close classic Outlook, copy the .pst somewhere safe, then run Microsoft’s Inbox Repair tool, SCANPST.EXE, from C:\Program Files\Microsoft Office\root\Office16. Select Browse, choose the file, select Start, then Repair, and run it again until it finds no errors. A damaged .ost file is rebuilt by IT, not repaired.
Try these quick fixes first
- Close Outlook and make sure it isn’t still running in Task Manager.
- Find the file in classic Outlook under File > Account Settings > Account Settings > Data Files.
- Copy the .pst to another folder or drive before you repair it.
- Run
SCANPST.EXEfromC:\Program Files\Microsoft Office\root\Office16. - Repeat the scan until it reports no errors.
- If the damaged file ends in .ost, call IT instead of repairing it.
Is it a .pst or an .ost file?
The fix depends on the type: a .pst can hold mail that exists nowhere else, while an .ost is a local copy of a mailbox whose master copy stays on the server.
- In classic Outlook, select File > Account Settings > Account Settings, then the Data Files tab. It lists every .pst and .ost file with the account it belongs to.
- Microsoft 365, Exchange, Outlook.com and IMAP accounts store their mail in an .ost file. POP accounts, archives and data files you created yourself use a .pst.
- New .pst files are saved in
Documents\Outlook Files. Older .pst files and .ost files are usually inC:\Users\<name>\AppData\Local\Microsoft\Outlook, a hidden folder. In File Explorer, select View > Show > Hidden items to see it. - If Outlook won’t open at all, you can still find the file in those folders and repair it.
These files belong to classic Outlook. New Outlook can open a .pst under Settings > Files > Outlook Data Files only when classic Outlook is installed too, with the same 32-bit or 64-bit version, and not on Arm-based PCs. Repairs still use classic Outlook’s tool.
Back up the .pst file before you repair it
The repair tool can remove items it can’t read, so Microsoft recommends backing up the file first, and a copy of the original lets you start over.
- Save any email you’re writing, then close Outlook. If you also use new Outlook with this .pst, close it too.
- Right-click Start and select Task Manager. If Microsoft Outlook is still listed, select it, then End task.
- In File Explorer, open the folder that holds the .pst file.
- Copy the file to a different folder on your PC or to a USB drive. Don’t use a network drive or a OneDrive folder.
- Keep the copy until you’re sure all your mail is back.
Find and run the Inbox Repair tool (SCANPST.EXE)
SCANPST.EXE comes with classic Outlook and checks a data file’s internal structure, fixing the errors it finds.
- In File Explorer, go to
C:\Program Files\Microsoft Office\root\Office16, the folder for the 64-bit Microsoft 365 apps that Microsoft installs by default. With 32-bit Office, go toC:\Program Files (x86)\Microsoft Office\root\Office16. - Double-click SCANPST.EXE. If you can’t find it or it won’t start, Microsoft suggests repairing Office. This needs administrator rights. At work, ask your IT team.
- Select Browse, choose the .pst file, then select Start.
- If the scan finds errors, leave the backup option selected, note the backup file’s name, and select Repair.
- Run the scan again until it finds no errors. Microsoft says it can take several runs.
- Start Outlook with the profile that uses the repaired file.
SCANPST fixes the file’s structure. It can’t bring back items that were permanently deleted or damaged beyond repair, and it doesn’t connect to an Exchange or Microsoft 365 mailbox.
Move recovered items into a new .pst file
After a repair, rescued items can land in a Lost and Found folder, and moving them into a fresh data file leaves the damaged one behind.
- Start Outlook and press Ctrl+6 to show the folder list.
- Look for Recovered Personal Folders and Lost and Found. The recovered default folders are often empty, and the items the tool rescued are in Lost and Found.
- From the Inbox, select New Items > More Items > Outlook Data File, type a name and select OK.
- Drag the items from Lost and Found into the new data file.
- When you’ve moved everything you need, right-click Recovered Personal Folders in the folder pane and choose Close. Closing doesn’t delete the file from your PC.
- Still missing items? In File Explorer, select View > Show > File name extensions. Copy the .bak file the tool saved next to the .pst, and rename the copy so it ends in .pst.
- In Outlook, select File > Open & Export > Import/Export > Import from another program or file > Outlook Data File (.pst). Browse to the renamed copy, choose Do not import duplicates, and import it into your new data file. It may add nothing, since the .bak is a copy of the original damaged file.
Damaged .ost file? Have IT rebuild it
An .ost is only a cached copy of your mailbox, so Microsoft’s fix is to delete it and let Outlook download a fresh copy from the server rather than patch the old one.
- Signs of a damaged .ost include mail that doesn’t match Outlook on the web, or a message that the .ost “is not an Outlook data file”.
- Ask IT to rebuild it rather than deleting it yourself. Items that exist only on your computer would be lost, so Microsoft says to export them to a .pst first.
- IT checks your mail in Outlook on the web, exports any local-only items, closes Outlook and renames the .ost so Outlook ignores it.
- When Outlook restarts, it shows Preparing for first use and downloads your mailbox again. Leave it open until it finishes. Large mailboxes take longer.
- If the problem is still there after the rebuild, the .ost wasn’t the cause. See Outlook won’t open, keeps crashing or freezes.
Keep .pst files from getting damaged again
Where a .pst is stored affects how safe it is, and Microsoft suggests archive mailboxes in Microsoft 365 as an alternative to .pst files.
- Keep .pst files on your PC’s own drive. Microsoft doesn’t support .pst files on a network drive and says a dropped connection can corrupt them.
- Don’t save .pst files to a OneDrive folder. Microsoft says OneDrive blocks automatic syncing for them.
- Copy your .pst files to a backup regularly, or ask IT to include them in your PC’s backups.
- Ask IT about moving old mail out of .pst files and into a Microsoft 365 archive mailbox.
Why does this happen?
- Outlook or the PC stopped while Outlook was using the file, such as after a crash, a forced shutdown or a power cut.
- The .pst is on a network drive and the connection dropped.
- The drive that holds the file is failing.
- An .ost can be damaged too. Microsoft says sync problems between Outlook and the server can be a sign of it.
When should you call IT?
- The damaged file is an .ost, or Outlook can’t open your mailbox.
- SCANPST won’t start, keeps finding errors after several runs, or Outlook still can’t open the file.
- Mail is missing after the repair and the .pst holds records you have to keep. IT may have a backup of your PC.
- The .pst is on a network drive or shared with other people.
- The PC reports disk errors or makes clicking noises. Stop using it.
If your team still keeps mail in .pst files, read about our Microsoft 365 support.
OAC Technology’s IT support team fixes problems like this for businesses across the Twin Cities. Clients can call 952-548-5558, Monday to Friday, 8 a.m. to 6 p.m. Central. Not a client yet? Call the same number or send us a message.
Common questions
How do I fix a corrupted Outlook PST file?
Run Microsoft’s Inbox Repair tool. Close Outlook, copy the .pst as a backup, open SCANPST.EXE from C:\Program Files\Microsoft Office\root\Office16 (or Program Files (x86) with 32-bit Office), select Browse, Start and Repair, and repeat until it finds no errors.
Can I repair an Outlook PST file online?
No. Microsoft’s repair tool runs on your own computer and comes with classic Outlook. Don’t upload a .pst to a repair website, because it holds your mail and contacts.
What software can I use to repair an Outlook PST file?
Use SCANPST.EXE, the Inbox Repair tool that Microsoft installs with classic Outlook. If it can’t fix the file, talk to IT before you download or buy anything else, and keep your backup copy in case you need to start over.
How can I repair a corrupted Outlook OST file?
Have IT rebuild it instead. An .ost is a copy of your mailbox, so once the damaged file is renamed or deleted, Outlook downloads your mail again from the server. IT saves anything stored only on your computer first.









