Your OST file keeps getting corrupted because a rebuild removes no cause. You can confirm the mailbox on the web, rebuild the file, use a new profile name, test add ins, trim the mailbox, check the disk, move the file off network folders, or add recovery software. Local items that never synced exist only in the old file, and SCANPST can't analyze Exchange mailbox data. Copy the file first and test recovery software on the copy.
Outlook shows the same data file error again after every repair and your OST file keeps getting corrupted. Local OST file of about 115 GB corrupts because of its size.
This guide explains why the OST file keeps getting corrupted, how to save the mail from the damaged file and the final checklist.
How to Identify OST File Corruption in Outlook
Decide first whether the problem is a damaged file or a sync fault. Match your sign to a first test:
| What You See | What It Can Mean | First Test |
|---|---|---|
| Message says errors were found in the OST file | Damaged file structure | Check the Windows Application log |
| Cannot open the set of folders | Damaged file or profile | Safe mode and a new profile |
| Outlook shows Not Responding | Large cache, add ins or disk faults | Check file size and Safe mode |
| New mail shows on the web only | Local sync fault | Check folder sync and connection |
| The error returns after a rebuild | An unresolved cause | Isolate profile, add ins and disk |
| Mail is missing on desktop and web | Server side problem | Check the mailbox before any rebuild |
What Causes an OST File to Keep Getting Corrupted?
Microsoft pages and an archived Microsoft support blog name four causes.
Oversized OST Files
Data is safe on the server and the oversized OST file is only a local copy. Keep the size under 50 GB.
Profile Names and Damaged Profiles
Different profile name solves a repair prompt that survives an Office reinstall.
Network Folders and Antivirus Scans
Microsoft support engineer says in an archived blog post on Outlook performance that the OST file must not sit on a network share or be scanned.
Add Ins and Cache Files
Unstable add in or a corrupted cache causes crashes and damage to the file.
Reinstalling Office does not stop an OST file that keeps getting corrupted. Repair prompt comes back after the reinstall. Outlook builds a clean OST file under a profile with a different name and the prompt ends.
What to Check Before You Repair or Delete the OST File
Check these items when your OST file keeps getting corrupted:
- Web check. Open the account in a browser to see whether the mail exists online.
- Server copy. The data is safe on the server for the account.
- Local items. Items that never synced exist only in the OST file.
- Spare copy. Store a spare copy of the OST file before any test.
- Free space. Check the disk that stores the file.
10 Fixes for an OST File That Keeps Getting Corrupted
Nine fixes use Windows and Outlook. Software handles the tenth:
| Method | Limit |
|---|---|
| Mailbox and sync check | Needs an online account |
| Rebuild the OST | Full download again |
| New profile name | Needs a full sync |
| SCANPST on a copy | Cannot analyze Exchange mailbox data |
| Add ins and RoamCache | Add ins need a retest |
| Smaller mailbox | Old mail drops out of the cache |
| Disk health check | Needs admin rights |
| Office repair | Repairs every Office app |
| Scan exclusion | Written for Outlook 2007 to 2016 |
| Recovery software | Free export cap |
Method #1: Verify the Mailbox and Sync Status (Free)
Confirm the server stores your mail before you rebuild anything. Four steps check it:
- Open your mailbox in a web browser.
- Compare the Inbox and Sent Items with Outlook.
- Look at the status bar in Outlook for Disconnected or Working Offline.
- Select Send/Receive and then Update Folder on the affected folder.
Note: Missing mail on the web too points to a server side problem. Stop and contact your administrator before any rebuild.
Method #2: Rebuild the Corrupted OST File (Free)
Microsoft says Outlook can make a new OST copy whenever you need one. Rebuilding ends the cache damage that makes an OST file keep getting corrupted. Recreate an OST file gives the full steps. Five steps move the old file and rebuild it:
- Quit Outlook.
- In Account Settings open the Data Files tab and highlight the OST.
- Choose Open File Location then drag the OST into a spare folder.
- Start Outlook.
- Wait until the folders fill with mail.
Note: A full download from the server follows. Retain the old file until the new one works.
Method #3: Create a Profile With a New Name (Free)
Different profile name fixes the error when it returns under the profile named Outlook after a reinstall. Seven steps build the profile:
- Close Outlook.
- Search for Control Panel and open the Mail item.
- Choose Show Profiles and press Add.
- Type a profile name that differs from the old one.
- Add your email account to the new profile.
- Select the new profile in the Always use this profile list.
- Start Outlook and let the new OST file finish syncing.
Note: Delete the old OST file from the Outlook folder after the new profile works.
Method #4: Scan a Copy of the File With SCANPST (Free)
Mailbox data from Exchange lies outside SCANPST according to Microsoft's repair article. Use the tool only to test a copy.
- Quit Outlook and duplicate the OST file.
- Start SCANPST.EXE from the Office16 folder.
- Use Browse to select the copy.
- Press Start and then Repair if errors appear.
Note: What to do when SCANPST does not work lists fixes for a failed scan.
Method #5: Test Add Ins and Reset RoamCache (Free)
Test the add ins first and clear the cache next. Testing takes seven steps:
- Close Outlook and press Win + R.
- Type
outlook.exe /safeand press OK. - Go to Add-ins under File and Options.
- Choose COM Add-ins from Manage and press Go.
- Uncheck all boxes and restart Outlook.
- Close Outlook and open
%localappdata%\Microsoft\Outlook\RoamCache. - Press Ctrl + A, delete the files and open Outlook to rebuild them.
Note: Switch the add ins back on singly until the error returns.
Method #6: Trim the Mailbox and the Cached Folders (Free)
Keep the size under 50 GB. Five steps cut the size:
- Go to
%localappdata%\Microsoft\Outlookin File Explorer. - Right click the OST file and open Properties to see its size.
- Open Outlook and delete the emails you no longer need.
- Save large attachments to a folder on your disk.
- Empty the Deleted Items folder.
Note: Reduce the size of an OST file explains more options.
Method #7: Check Windows Disk Health and Event Logs (Free)
Storage faults and sudden shutdowns can corrupt a local file. Five steps check them:
- Open Event Viewer and select Windows Logs then Application.
- Look for Outlook errors at the time of the failure.
- Open This PC and right click the disk that stores the file.
- Choose Properties then Tools and press Check.
- Test on another computer when errors repeat on one device only.
Note: Corruption on several computers with one account points to the mailbox. Contact your Microsoft 365 administrator.
Method #8: Update and Repair Microsoft Outlook (Free)
Updating and repairing Office takes six steps:
- Apply pending Windows updates.
- In classic Outlook press File, Office Account, Update Options and Update Now.
- Right click the Start button and choose Apps and Features.
- Select the Microsoft 365 or Office listing and click Modify.
- Choose Online Repair then click Repair.
- Reboot the PC.
Note: Online Repair works deeper than Quick Repair according to Microsoft.
Method #9: Move the File Off Network Folders and Out of Scans (Free)
According to Microsoft, the OST file must not live on a network share. Cached mode adds a second rule that real time antivirus must not scan the file. Five steps follow:
- Go to File and Account Settings then select Data Files.
- Select the OST file and click Open File Location.
- Confirm the folder sits on a local disk and not on a network share.
- Open your security software and find its exclusion list.
- Add the OST file path to the list and restart Outlook.
Note: The blog applies to Outlook 2007 to 2016. Check the exclusion steps in your antivirus documentation.
Method #10: Recover Mail From a Damaged Copy With EmailDoctor OST File Recovery Tool (Free Cap Applies)
Use recovery software when your OST file keeps getting corrupted and Outlook cannot open the mail. EmailDoctor OST File Recovery Tool scans the damaged file and recovers the mail. Scan a copy and store the original elsewhere.
Add the Damaged OST Copy
Scanning takes three steps:
- Open the OST recovery software and check its first window.
- Press Add File and choose the OST copy you saved.
- Start with Quick Scan. Use Advance Scan when Quick Scan finds nothing.
Preview and Save the Mail
Steps 4 to 6 end the process:
- Expand the folders and review the recovered mail.
- Click Export and set the output format.
- Set the save location and begin the export.
Note: The free export stops after 25 items in a folder.
Why Does OST Corruption Return After Rebuilding the File?
Match the moment of the return to a cause:
| When It Returns | What to Investigate | Response |
|---|---|---|
| Right after Outlook recreates the file | Profile or account setup | Test a new profile |
| After a large sync | Cache size and folder counts | Trim the mailbox |
| With certain add ins on | COM add in conflict | Test add ins singly |
| After a crash or shutdown | Disk faults | Check the disk and logs |
| On one computer only | Device settings or storage | Test another device |
| On many computers with one account | Mailbox side problem | Contact your administrator |
| After a security software update | Scan interference | Review exclusions with IT |
How to Recover Emails From a Corrupted or Orphaned OST File
Your choice depends on what the server still stores.
- Scenario A: the mailbox opens on the web. Rebuild the OST file with Method #2. Outlook downloads the mail again.
- Scenario B: the OST file has unique or unreachable data. Open a copy with recovery software and export the folders. Steps to PST appear in convert OST to PST in Outlook.
Outlook shows a related message when it picks the wrong file. the old copy of Outlook data file message explains that case.
How to Prevent Outlook OST File Corruption
Five habits protect the file when an OST file keeps getting corrupted:
- Keep the file local. Store the OST file on a local disk and never on a network share.
- Exclude the file from scans. Add its path to your security software list.
- Trim the mailbox. Remain under 50 GB.
- Close Outlook before a shutdown. Interrupted saves damage a file.
- Test add ins after updates. One unstable add in can return the error.
Frequently Asked Questions
Why Does My OST File Keep Getting Corrupted After I Delete It?
Rebuilding removes no cause. Reused profile name and an oversized file cause it and the archived Microsoft blog names network folders and scans.
Can I Safely Delete a Corrupted OST File?
Yes for a server account since Outlook builds the file again according to Microsoft. Copy it elsewhere first since local items exist only in the old file.
Does SCANPST Repair OST Files in Microsoft 365 Outlook?
Not for mailbox data. Microsoft lists Exchange mailbox data as outside the tool.
Can a Large OST File Cause Outlook to Crash?
Yes. OST file of about 115 GB corrupts because of its size.
How do I Fix OST Corruption Without Losing Emails?
Confirm the mail on the web and copy the file. Rebuild the OST file and use recovery software for local only items.
Can Antivirus Software Corrupt an OST File Repeatedly?
According to Microsoft, the OST file must not be scanned. Add the path to the exclusion list of your security software.
Where is the OST File Stored?
Folder is %localappdata%\Microsoft\Outlook.
Does the Free Version Export Every Folder?
Yes but it stops after 25 items in a folder.
Final Checklist Before You Trust the File Again
Tick every item when your OST file keeps getting corrupted:
- Mailbox. The web and Outlook show the same folders.
- Profile. A profile with a new name serves the account.
- Location. The OST file sits on a local disk.
- Scans. Your security software excludes the file.
- Disk. Windows shows no disk errors.
- Copy. A backup copy of the old file exists.
Author’s Verdict
When an OST file keeps getting corrupted the cause remains. Check the mailbox first and rebuild the file under a profile with a new name.
Trim the mailbox and move the file to local storage. Test add ins and check the disk after that.
Choose recovery software when you need the mail from a damaged file. Create a backup copy first.
- Corruption returns when the cause is never fixed.
- Confirm the mailbox on the web before a rebuild.
- New profile names and smaller mailboxes fix two causes.
- Local folders and scan exclusions protect the file.
- Recovery software retrieves mail from a damaged OST file.
Next Read: OST File Corruption Causes
Also Read: Outlook Keeps Asking to Repair OST File | Outlook OST File Access is Denied