Quick Answer
PST is not an Outlook data file has 5 fixes. Try quick checks, ScanPST, header test, size fix and new profile.
Quick checks fix flags, file names and local copies. ScanPST repairs minor damage and saves a backup first. Header test shows a broken file start. Size fix splits any file near its limit. New profile clears add-in and profile errors.
New Outlook has no ScanPST so use classic Outlook.
You double-click an old archive and Outlook answers "File is not an Outlook data file (.pst)". Years of mail sit behind that message and it feels gone. In most cases your mail is still inside your file. One flag, one wrong folder or one broken header triggers it and five fixes below match eight causes.
Why does Outlook say PST is not an Outlook data file?
Outlook shows that message when it cannot open your file as valid PST. PST files store mail, contacts, calendars and tasks in strict structure. One damaged block or wrong attribute stops Outlook from mounting it. Eight causes explain almost every PST error:
- Corruption from power cuts, forced shutdowns, bad disk sectors or viruses.
- Read-only or hidden flag on files copied from a CD, backup drive or locked folder.
- A network share or USB drive. Outlook does not support live PST files there.
- Wrong extension. Renamed OST files, .pst.txt names and files from other applications are not PST files.
- An empty or truncated file, like 0 KB copies from failed backups.
- A size above its limit, which makes PST files unstable.
- An outdated Outlook build, bad add-in or broken Outlook profile.
- A PST still open in another window or background process.
Real user reports match these causes. One TechSpot user restored a PST backup from a reimaged PC, got that message in Outlook 2010 and 2013 and saw other PST files from that folder import fine. One Slipstick forum user lost access to a 7 GB archive after a ransomware infection and one reply asked whether a virus changed the file extension. One Microsoft Q&A thread on corrupt PST files lists sudden shutdowns, oversized files, drive errors, virus attacks and network drops.
How to fix a PST error with quick checks?
Start with five checks that take under two minutes. They fix many PST errors with no repair tool.
- Enable file name extensions in File Explorer, then confirm your file ends in .pst, not .pst.txt or .ost.
- Check file size. A 0 KB or tiny file contains nothing so restore from a backup.
- Close Outlook fully. End any OUTLOOK.EXE process in Task Manager.
- Right click your PST, select Properties, clear Read-only and Hidden, then select Apply.
- Copy it to a local folder like Documents. Open it with File, Open & Export, Open Outlook Data File.
OST files renamed to PST always fail. OST and PST are different formats so renaming does not convert them. Open OST files through their own Outlook profile or export data first.
How to repair a PST file with ScanPST.exe?
Use ScanPST.exe, Microsoft's Inbox Repair Tool, which installs with classic Outlook. It fixes minor structural errors and saves a backup copy before repair. Many guides send you to wrong folders so match your install type to find it:
| Outlook install | ScanPST.exe folder |
|---|---|
| Microsoft 365, 2024, 2021, 2019 and 2016 (Click-to-Run), 64-bit Office | C:\Program Files\Microsoft Office\root\Office16 |
| Same versions, 32-bit Office on 64-bit Windows | C:\Program Files (x86)\Microsoft Office\root\Office16 |
| Outlook 2013, 2010 and 2007 (MSI) | Office15, Office14 or Office12 under Program Files or Program Files (x86) |
Microsoft's repair page lists (x86) root\Office16 for Outlook 2016 and 2019. Users on Microsoft Q&A report finding no ScanPST.exe there on Microsoft 365 and finding it under C:\Program Files instead. When neither folder has it, search drive C: for scanpst.exe.
- Close Outlook and open your ScanPST.exe folder.
- Open SCANPST.EXE, select Browse and choose your .pst file.
- Select Start. Wait until scanning ends.
- If errors appear, select Repair with the backup box ticked.
- Start Outlook and open your repaired file.
Repeat ScanPST.exe if errors remain. That sequence fixes many PST errors with no extra software. Microsoft says some files need several passes and items deleted for good or damaged past repair do not return. Check your Lost and Found folder after repair. One Microsoft Q&A user reported missing subfolders after repair so do not delete your backup copy until your mail checks out.
What to do when ScanPST.exe does not recognize your PST?
ScanPST.exe says it does not recognize your file when its header is broken or your file is not PST. Test your header bytes first. Real PST files start with characters !BDN, which is hex 21 42 44 4E. Enter that command in PowerShell with your own path:
Format-Hex -Path "C:\Users\you\Documents\old.pst" -Count 4
You see 21 42 44 4E when your header is intact. Any other bytes mean damage at file start or another file type under PST name. Then try these steps:
- Restore an older copy from backup, File History or cloud storage.
- Check whether your file is really OST data. In one forum thread from 2007, a user whose PST failed in ScanPST renamed it to .ost, repaired it with ScanOST, renamed it back and recovered mail. Try it on copies only.
- Use a PST repair tool, which rebuilds files ScanPST.exe rejects. Our guide to Repair PST file without ScanPST tool includes that path.
What to do about an oversized PST file?
PST files past their limit become unstable and trigger errors. Limits depend on file type and Outlook version:
| Outlook version | PST type | Default limit | Warning level |
|---|---|---|---|
| 97 to 2002 | ANSI | 2 GB | Not set |
| 2003 and 2007 | Unicode | 20 GB | 19 GB |
| 2010 to 365 | Unicode | 50 GB | 47.5 GB |
Microsoft sets ANSI files near 1.93 GB and caps them at 2 GB whatever registry values say. Past a warning level, Outlook blocks sending, copying and moving new items. Split old folders into a second PST file or archive them to fix an oversized PST. Our guide to Reduce Outlook mailbox size shows how and Outlook mailbox is full includes warning messages.
How to fix an Outlook data file error when nothing works?
Work down that list when quick checks and ScanPST.exe fail. Every step targets one cause.
- Check your disk. Failing drives corrupt files again. Open Command Prompt as administrator and enter
chkdsk C: /f /rfor drives that store your PST. Repair your PST again once it finishes. - Start Outlook in Safe Mode. Start it with
outlook.exe /safe. If it disappears, disable add-ins in File, Options, Add-ins, COM Add-ins, Go. - Update Outlook. Select File, Office Account, Update Options, Update Now.
- Repair Office. Open Settings, Apps, select Microsoft 365 or Office, then Modify and Quick Repair.
- Create a new profile. Open Control Panel, Mail, Show Profiles, Add, set it as default and attach your PST. One university service desk lists that reset for staff who hit it at first launch. Old profiles remain so you lose nothing.
- Check antivirus. Pause live scanning for one test, because security software can lock PST files while it scans.
If Outlook reports disabled data file usage, see Outlook data file usage is disabled error. If Import and Export option is missing, see Import Export option greyed out in Outlook.
Does new Outlook open PST files?
New Outlook for Windows does not mount live PST files and it has no ScanPST.exe. Microsoft added PST import to new Outlook in March 2026 so you can bring mail from PST files into your mailbox. Microsoft says more PST features are coming. See Microsoft 365 Message Center post RM485739 for rollout notes.
Repair steps here apply to classic Outlook. If you see it in new Outlook, switch to classic Outlook or open your PST in tools that open PST files directly.
Which fix matches your PST error?
Match what you see to your fix, then start at that row.
| What you see | Likely cause | Fix | Time |
|---|---|---|---|
| File opened before, fails now | Read-only flag or network move | Clear flags, copy to local folder | 2 min |
| 0 KB file | Failed backup copy | Restore older backup | 5 min |
| ScanPST.exe finds errors | Minor corruption | Repair, repeat if needed | 10 to 60 min |
| ScanPST.exe does not recognize file | Broken header or wrong file type | Check header, restore backup, repair tool | 15 min |
| File near its limit | Oversized PST | Split or archive folders | 20 min |
| Error returns after repair | Failing disk or add-in | Chkdsk, Safe Mode, new profile | 30 min |
How to stop PST errors from coming back?
- Prevent PST errors by keeping every live PST on a local drive and out of OneDrive, network shares and USB sticks.
- Close Outlook before you copy, move or back up PST files.
- Save dated backup copies of every PST you cannot lose.
- Split any PST near 40 GB into yearly files.
- Check your disk with chkdsk when Outlook closes unexpectedly twice, before errors repeat.
- Update Outlook so every build opens all PST versions.
Our view
Fix a copy of your PST, never your only file. We start with five quick checks, because a Read-only flag or a network move causes more cases than real corruption. Use ScanPST.exe only after those fail.
Key takeaways
- Clear Read-only, check .pst extension and copy PST files to local folders first.
- ScanPST.exe sits in Office16 on Click-to-Run installs, under Program Files or Program Files (x86).
- Header bytes 21 42 44 4E prove a file is real PST.
- ANSI PST files cap at 2 GB. Unicode files cap at 20 GB in Outlook 2003 and 2007 and 50 GB in Outlook 2010 and later.
- New Outlook imports PST files but has no ScanPST.exe. Fix this error in classic Outlook.
Questions About PST Errors in Outlook
Why does Outlook show a PST error when it opened yesterday?
Something changed your file between sessions. Read-only flags, network drive moves or corruption from forced shutdowns cause it. Clear Read-only, copy your file to a local folder, then repair it with ScanPST.exe.
Can ScanPST.exe fix this PST error?
Yes, for minor damage. ScanPST.exe repairs structural errors and saves a backup first. It cannot rebuild PST files with broken headers or files from non Outlook applications.
Where is ScanPST.exe in Microsoft 365 and Outlook 2021?
It sits in C:\Program Files\Microsoft Office\root\Office16 for 64-bit Office and in C:\Program Files (x86)\Microsoft Office\root\Office16 for 32-bit Office. Search drive C: for scanpst.exe when neither folder has it.
Why does ScanPST say it does not recognize your file?
PST headers are broken or your file is another type. Check header bytes in PowerShell. Real PST files start with 21 42 44 4E.
Is my mail lost when Outlook shows this PST error?
No. Outlook cannot open your file but your mail remains inside it. Work on copies so your original remains safe while you test fixes.
How big can a PST file get?
ANSI PST files cap at 2 GB. Unicode PST files cap at 20 GB in Outlook 2003 and 2007 and 50 GB in Outlook 2010 and later.
Does new Outlook for Windows support PST files?
New Outlook imports mail from PST files since March 2026. It does not mount live PST files and has no Inbox Repair Tool so repairs need classic Outlook.
More PST and Outlook guides
PST repair and size
Open and move PST data