How to Fix PST Is Not an Outlook Data File

Clear Read-only, use ScanPST.exe from the right Office16 folder, check file header and size limit, then reset your profile. Five fixes for classic Outlook.

By · Published 27 Jan 2025 · Updated 10 Oct 2026 · 12 min read

How to Fix PST Is Not an Outlook Data File

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:

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.

  1. Enable file name extensions in File Explorer, then confirm your file ends in .pst, not .pst.txt or .ost.
  2. Check file size. A 0 KB or tiny file contains nothing so restore from a backup.
  3. Close Outlook fully. End any OUTLOOK.EXE process in Task Manager.
  4. Right click your PST, select Properties, clear Read-only and Hidden, then select Apply.
  5. 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 installScanPST.exe folder
Microsoft 365, 2024, 2021, 2019 and 2016 (Click-to-Run), 64-bit OfficeC:\Program Files\Microsoft Office\root\Office16
Same versions, 32-bit Office on 64-bit WindowsC:\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.

  1. Close Outlook and open your ScanPST.exe folder.
  2. Open SCANPST.EXE, select Browse and choose your .pst file.
  3. Select Start. Wait until scanning ends.
  4. If errors appear, select Repair with the backup box ticked.
  5. 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:

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 versionPST typeDefault limitWarning level
97 to 2002ANSI2 GBNot set
2003 and 2007Unicode20 GB19 GB
2010 to 365Unicode50 GB47.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.

  1. Check your disk. Failing drives corrupt files again. Open Command Prompt as administrator and enter chkdsk C: /f /r for drives that store your PST. Repair your PST again once it finishes.
  2. 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.
  3. Update Outlook. Select File, Office Account, Update Options, Update Now.
  4. Repair Office. Open Settings, Apps, select Microsoft 365 or Office, then Modify and Quick Repair.
  5. 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.
  6. 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 seeLikely causeFixTime
File opened before, fails nowRead-only flag or network moveClear flags, copy to local folder2 min
0 KB fileFailed backup copyRestore older backup5 min
ScanPST.exe finds errorsMinor corruptionRepair, repeat if needed10 to 60 min
ScanPST.exe does not recognize fileBroken header or wrong file typeCheck header, restore backup, repair tool15 min
File near its limitOversized PSTSplit or archive folders20 min
Error returns after repairFailing disk or add-inChkdsk, Safe Mode, new profile30 min

How to stop PST errors from coming back?

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

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.

Jared Young

Jared is an engineering graduate in Computer Science who specializes in data recovery and backup. He writes Corbett Software guides on email attachments, backups and mail migration.

Last checked 10 Oct 2026 against Microsoft docs and live steps.