Home » Blog » MS Outlook » Why Does My Outlook OST File Keep Getting Corrupted?

Why Does My Outlook OST File Keep Getting Corrupted?

Neeraj Kumar
Published By Neeraj Kumar
Debasish Pramanik
Approved By Debasish Pramanik
Published On
Last Updated

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 SeeWhat It Can MeanFirst Test
Message says errors were found in the OST fileDamaged file structureCheck the Windows Application log
Cannot open the set of foldersDamaged file or profileSafe mode and a new profile
Outlook shows Not RespondingLarge cache, add ins or disk faultsCheck file size and Safe mode
New mail shows on the web onlyLocal sync faultCheck folder sync and connection
The error returns after a rebuildAn unresolved causeIsolate profile, add ins and disk
Mail is missing on desktop and webServer side problemCheck 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:

MethodLimit
Mailbox and sync checkNeeds an online account
Rebuild the OSTFull download again
New profile nameNeeds a full sync
SCANPST on a copyCannot analyze Exchange mailbox data
Add ins and RoamCacheAdd ins need a retest
Smaller mailboxOld mail drops out of the cache
Disk health checkNeeds admin rights
Office repairRepairs every Office app
Scan exclusionWritten for Outlook 2007 to 2016
Recovery softwareFree 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:

  1. Open your mailbox in a web browser.
  2. Compare the Inbox and Sent Items with Outlook.
  3. Look at the status bar in Outlook for Disconnected or Working Offline.
  4. 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:

  1. Quit Outlook.
  2. In Account Settings open the Data Files tab and highlight the OST.
  3. Choose Open File Location then drag the OST into a spare folder.
  4. Start Outlook.
  5. 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:

  1. Close Outlook.
  2. Search for Control Panel and open the Mail item.
  3. Choose Show Profiles and press Add.
  4. Type a profile name that differs from the old one.
  5. Add your email account to the new profile.
  6. Select the new profile in the Always use this profile list.
  7. 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.

  1. Quit Outlook and duplicate the OST file.
  2. Start SCANPST.EXE from the Office16 folder.
  3. Use Browse to select the copy.
  4. 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:

  1. Close Outlook and press Win + R.
  2. Type outlook.exe /safe and press OK.
  3. Go to Add-ins under File and Options.
  4. Choose COM Add-ins from Manage and press Go.
  5. Uncheck all boxes and restart Outlook.
  6. Close Outlook and open %localappdata%\Microsoft\Outlook\RoamCache.
  7. 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:

  1. Go to %localappdata%\Microsoft\Outlook in File Explorer.
  2. Right click the OST file and open Properties to see its size.
  3. Open Outlook and delete the emails you no longer need.
  4. Save large attachments to a folder on your disk.
  5. 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:

  1. Open Event Viewer and select Windows Logs then Application.
  2. Look for Outlook errors at the time of the failure.
  3. Open This PC and right click the disk that stores the file.
  4. Choose Properties then Tools and press Check.
  5. 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:

  1. Apply pending Windows updates.
  2. In classic Outlook press File, Office Account, Update Options and Update Now.
  3. Right click the Start button and choose Apps and Features.
  4. Select the Microsoft 365 or Office listing and click Modify.
  5. Choose Online Repair then click Repair.
  6. 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:

  1. Go to File and Account Settings then select Data Files.
  2. Select the OST file and click Open File Location.
  3. Confirm the folder sits on a local disk and not on a network share.
  4. Open your security software and find its exclusion list.
  5. 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:

  1. Open the OST recovery software and check its first window. Starting window of the OST recovery software
  2. Press Add File and choose the OST copy you saved. Add File window with the OST copy chosen
  3. Start with Quick Scan. Use Advance Scan when Quick Scan finds nothing.

Preview and Save the Mail

Steps 4 to 6 end the process:

  1. Expand the folders and review the recovered mail. Recovered folders and preview pane after the scan
  2. Click Export and set the output format. Output format window for the recovered mail
  3. 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 ReturnsWhat to InvestigateResponse
Right after Outlook recreates the fileProfile or account setupTest a new profile
After a large syncCache size and folder countsTrim the mailbox
With certain add ins onCOM add in conflictTest add ins singly
After a crash or shutdownDisk faultsCheck the disk and logs
On one computer onlyDevice settings or storageTest another device
On many computers with one accountMailbox side problemContact your administrator
After a security software updateScan interferenceReview 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.
  Neeraj Kumar

By Neeraj Kumar

Neeraj Kumar is a Principal Technical Architect at EmailDoctor with 19+ years of experience in email migration, cloud migration, data recovery and digital forensics. He guides enterprise teams through Exchange, Office 365 and Google Workspace projects and shares what works as an EmailDoctor writer. Every method in his posts is tested on Windows and Mac before it goes live.