Outlook Data File Corruption Error Fix Guide
In this article
Fix Outlook data file corruption by running the built-in Inbox Repair Tool (ScanPST.exe) to scan and repair damaged PST files, restoring access to emails, contacts, and calendar items without data loss in most cases.
What You'll Need
- Microsoft Outlook installed on a Windows PC
- Administrator access to the computer
- The location of the corrupted .pst or .ost file (usually in C:\Users\[YourName]\AppData\Local\Microsoft\Outlook)
- Optional: Backup of the data file before repair
Step-by-Step
- Close Outlook completely. Ensure no Outlook processes are running by checking Task Manager (Ctrl+Shift+Esc) and ending any outlook.exe or similar processes.
- Navigate to the Outlook installation folder. For 64-bit Windows with Outlook 2016/2019/2021/365, this is typically C:\Program Files\Microsoft Office\root\Office16. For 32-bit Office on 64-bit Windows, check C:\Program Files (x86)\Microsoft Office\root\Office16. For older versions like Outlook 2013, look in Office15; for 2010, Office14.
- Locate ScanPST.exe in that folder. Double-click it to launch the Inbox Repair Tool.
- In the ScanPST window, click "Browse" and navigate to the location of your Outlook data file. Default locations are: - For POP/IMAP accounts: C:\Users\[YourName]\AppData\Local\Microsoft\Outlook\ [filename].pst - For Exchange/Office 365 accounts using offline mode: C:\Users\[YourName]\AppData\Local\Microsoft\Outlook\ [filename].ost Note: .ost files are offline copies; corruption here often resolves by rebuilding the OST, but ScanPST can still attempt repair.
- Select the data file and click "Open". The file path will now appear in the ScanPST window.
- Click "Start" to begin the scan. The tool will first check for errors without making changes.
- If errors are found, a prompt will appear asking if you want to repair the file. Click "Repair". Do not skip this step if corruption is detected.
- Wait for the repair process to complete. This can take several minutes to over an hour depending on file size and severity of corruption. Do not interrupt the process.
- Once finished, a confirmation window will show the number of errors found and fixed. Click "OK".
- Reopen Outlook and check if you can access your emails, folders, calendar, and contacts. If the file was an .ost, Outlook will automatically synchronize with the server to refill the offline cache.
- If the repair fails or ScanPST reports it cannot fix the error, proceed to the troubleshooting section below.
Common Mistakes
- Running ScanPST while Outlook is open or running in the background, which locks the file and prevents repair.
- Attempting to repair an .ost file as the primary solution when the issue is server-side synchronization; .ost corruption often resolves by deleting and letting Outlook rebuild it.
- Not backing up the data file before running ScanPST, risking potential data loss if the repair fails unexpectedly.
- Using an incorrect version of ScanPST.exe that doesn't match the Outlook version or file format (e.g., using an old tool on a newer Unicode PST).
- Stopping the repair process early because it appears frozen; large files take time and the tool may seem unresponsive.
- Ignoring repeated corruption after repair, which may indicate underlying hardware issues like a failing hard drive or RAM problems.
Tips
- Always create a backup of the .pst or .ost file before running ScanPST by copying it to another location or external drive.
- For .ost files, consider renaming the file (e.g., to [filename].ost.bak) and letting Outlook recreate it by reopening the application—this downloads a fresh copy from the server and avoids repair risks.
- If ScanPST finds no errors but Outlook still fails to open, the issue may be with the Outlook profile; try creating a new profile via Control Panel > Mail > Show Profiles.
- After repair, compact the data file to reduce size and prevent future corruption: In Outlook, go to File > Account Settings > Account Settings > Data Files, select the file, click Settings > Compact Now.
- Regularly archive old emails to keep PST files under 50 GB (for Unicode format) to reduce strain and corruption risk.
- If using a network drive or external storage for PST files, move them to the local C: drive—Outlook is not designed for network-based PST access and this increases corruption likelihood.
Troubleshooting
If ScanPST does not resolve the corruption error:
- First, verify you used the correct ScanPST.exe for your Outlook version. Right-click Outlook.exe > Properties > Details to see the version number, then match it to the Office folder (e.g., Office16 for 2016-2024).
- If repairing a .pst file and ScanPST fails, try creating a new PST file and importing data: In Outlook, go to File > Open & Export > Import/Export > Export to a file > Outlook Data File (.pst), select folders, save to new location, then set as default.
- For persistent .ost issues, disable Cached Exchange Mode temporarily: File > Account Settings > Account Settings > Email tab > select account > Change > uncheck "Use Cached Exchange Mode", restart Outlook, then re-enable after sync completes.
- Check disk health: Run chkdsk /f in Command Prompt (as admin) to fix file system errors that may be corrupting the file.
- Test RAM: Use Windows Memory Diagnostic to rule out memory errors causing file corruption during writes.
- If all else fails and data is critical, consider Microsoft’s official Support Assistant or a third-party PST repair tool rated highly by trusted tech sources—only as a last resort and after backing up.
- Never delete or format the drive containing the file without exhausting recovery options.
Frequently Asked Questions
Can I repair an OST file with ScanPST?
Yes, ScanPST can attempt to repair corrupted OST files, but since OST files are offline copies of Exchange/IMAP data, it’s often faster and safer to rename the OST file and let Outlook rebuild it by restarting the application.
Will ScanPST delete my emails if it finds errors?
ScanPST only repairs the file structure; it does not delete user data like emails or contacts unless the item is severely damaged and unrecoverable—in which case it may be lost during repair, hence the need for a backup first.
How long does ScanPST take to run?
Time varies from a few minutes for small files (<1 GB) to several hours for large PSTs (>10 GB) or severe corruption. Factors include file size, disk speed, and extent of damage.
What if ScanPST says no errors were found but Outlook still won’t open?
The problem may be with the Outlook profile, a conflicting add-in, or a damaged registry key. Try starting Outlook in safe mode (hold Ctrl while launching) or create a new profile via Control Panel > Mail.
Is it safe to run ScanPST on a file stored on a USB drive or network folder?
Technically yes, but not recommended. Network or removable drives increase the risk of interruption during repair, which can worsen corruption. Always copy the file to the local C: drive first, run ScanPST there, then copy back if needed.
Can I prevent Outlook data file corruption?
Yes: avoid sudden shutdowns, keep Outlook and Windows updated, don’t exceed 50 GB for PST files, disable add-ins you don’t need, and never store PST files on network drives.