OST is not an Outlook data file appears when Outlook rejects the offline file because of the wrong account type or profile or an open application that uses the file. Check your mailbox on the web first. Move the old OST file and add the account again to download a new copy. Create a new profile or close OneNote next. Repair Office and test SCANPST on a copy. Recovery software scans the file when Outlook still rejects it.
Outlook shows the message when it refuses an offline data file you try to open. Your mail copy remains out of reach until Outlook accepts the file or builds a new one.
I wrote this post after checking Microsoft pages. Seven fixes follow with the sign that fits every one. Stay tuned for the final checklist.
Microsoft's article on offline Outlook Data Files describes an OST file as a copy of mail server items.
Why Does Outlook Say OST is Not an Outlook Data File?
Microsoft explains what an OST file is and names no cause for this message. Four clues explain it:
- Wrong file type. The error shows
.ost datafile is not a .pst datafile. Outlook expects a PST file and receives an OST file. - Profile tie. OST file opens only in the account and profile that created it.
- File in use. OneNote uses the OST file while it is open. Different message about connecting to Microsoft Exchange can appear in that case.
- Office reinstall. The message
The file you chose is not an Outlook Data Filecan appear after an Office reinstall. SCANPST fixes minor errors and the message can return.
Microsoft states that OST files need no backup like PST files because they copy items from the mail server.
Which Sign Fits Your Error?
Match your sign to a fix before you start:
| Your Sign | Likely Cause | Method |
|---|---|---|
| Message says OST is not a PST datafile | Wrong file or profile | Methods #1 and #2 |
| Error appears while OneNote is open | File in use | Method #4 |
| Error returns after an Office reinstall | Old OST file or damaged Office files | Methods #1 and #5 |
| You want a new OST without a new profile | Cached Exchange Mode | Method #3 |
| SCANPST fixes minor errors and the message returns | Damaged OST file | Methods #1 and #7 |
| No test opens the file | File needs a scan | Method #7 |
Safety Checks Before You Fix OST is Not an Outlook Data File
Protect your mail before you move or repair anything:
- Mailbox on the web. Sign in to your account in a browser and confirm the mail is there. With a server copy a new OST file restores everything.
- Account type. OST files pair with Exchange and Outlook.com accounts and PST files pair with POP3 and IMAP accounts.
- Copy of the file. Copy the OST file into a separate folder first.
- OneNote. Close OneNote because it uses the OST file while it is open.
- Local items. Items that never reached the server exist only in the OST file so export them first with Method #7.
7 Ways to Fix OST is Not an Outlook Data File
Windows and Outlook handle six fixes. Recovery software handles the seventh:
| Fix | Watch Out For |
|---|---|
| Rebuild OST | Outlook downloads the mail again |
| New profile | Old profile settings disappear |
| Cached mode reset | Steps need an Exchange account |
| OneNote close | The error can return |
| Office repair | Repair affects every Office app |
| SCANPST copy | It fixed minor errors only |
| OST software | Free export has a cap |
Method #1: Rebuild the OST File by Moving the Old File (Free)
Move the old OST file before you add the account again. Five steps rebuild it:
- Close Outlook.
- Open Account Settings then Data Files and highlight the OST entry.
- Choose Open File Location and move the OST file to a backup folder.
- Add the Exchange account again.
- Wait while Outlook creates the new OST file.
Note: Microsoft says Outlook downloads the data again from the server and this takes time. Export from the old file in your backup folder when needed.
Method #2: Build a Fresh Outlook Profile (Free)
Fresh profiles pair the account with a new OST file. Create one when the problem remains. Seven steps create one:
- Close Outlook and search Windows for Control Panel.
- Click Show Profiles inside the Mail window.
- Press Add, type a profile name and press OK.
- Enter your account details and finish the sign in.
- Under Always use this profile choose the new name from the list.
- Press Apply and OK.
- Start Outlook and wait for Updating Folders.
Note: Recreate MS Outlook profile explains the profile steps in more detail.
Method #3: Recreate the OST File Through Cached Exchange Mode (Free)
Microsoft's article says you can create a new OST copy at any time. Six steps follow its order in short form:
- Quit Outlook then open Mail inside Control Panel.
- Select your Exchange account under the E-mail tab and press Change.
- Uncheck Use Cached Exchange Mode and press More Settings.
- Under Advanced press Offline Folder File Settings, select Disable Offline Use and answer Yes.
- Reopen Offline Folder File Settings and tick Use Cached Exchange Mode again.
- Press OK, Next and Finish.
Note: Microsoft says a new folder location for the OST file creates a new file. Move the old file there by hand to avoid a new download. Newer Outlook builds show Cached Exchange Mode inside the account edit window so the labels can differ from the article.
Method #4: Close OneNote and Check File Access (Free)
OneNote uses the OST file while it is open. Five steps free it:
- Close OneNote.
- Close Outlook.
- Open Task Manager and confirm no OneNote or Outlook process remains.
- Start Outlook again.
- Check that your mail opens.
Note: The error can return after it first stops and an added account can be lost. Treat this as a test and not a cure.
Method #5: Update and Repair Microsoft Office (Free)
Broken Office files can stop Outlook in several ways. Six steps update and repair Office:
- Install pending Windows updates.
- Open File, Office Account and Update Options then press Update Now.
- Open Apps and Features from the Start right click menu.
- Choose your Microsoft 365 or Office entry and press Modify.
- Select Online Repair and press Repair.
- Restart the PC.
Note: Quick Repair replaces corrupted files only while Online Repair works deeper according to Microsoft. Either repair touches every Office app even when only Outlook fails.
Method #6: Test SCANPST on a Copy of the File (Free)
SCANPST fixes minor errors and the message can return. Use it on a copy and protect the original. Six steps scan the copy:
- Close Outlook and copy the OST file.
- Open SCANPST.EXE in the Office16 folder of your Office installation.
- Click Browse and choose the copy.
- Click Start.
- Press Repair if errors appear.
- Open Outlook after the scan.
Note: Microsoft's repair article says SCANPST cannot analyze Exchange mailbox data and that Outlook creates a deleted offline OST file again. Fixes for a failed scan appear in what to do when SCANPST does not work.
Method #7: Export Mail With EmailDoctor OST File Recovery Tool After a Rejection (Free Cap Applies)
EmailDoctor OST File Recovery Tool handles OST files and password protected files too. Work from a duplicate of the OST file Outlook refuses.
Add the Rejected OST Copy
Steps 1 to 3 bring in the copy:
- Start the recovery software and find its home screen.
- Click Add File then browse to the OST copy.
- Select Quick Scan or Advance Scan once the file is listed.
Save the Recovered Folders
Steps 4 to 6 save the mail:
- Look through the folder list and the preview panel.
- Go to Export and set a format. Formats include M365, PST, EML, MSG, HTML and PDF.
- Choose the output folder and start saving.
Note: The Use Outlook option for PST files is the single step that needs Outlook. Free export has a cap of 25 emails for every folder.
Repair, Rebuild or Convert the OST File?
Choose the route by what you need from the file:
| Route | Best For | Limit |
|---|---|---|
| Rebuild the OST file | Server accounts with mail online | Local only items remain in the old file |
| SCANPST | Minor errors in a copy | Cannot analyze Exchange mailbox data |
| OST to PST conversion | Mail you need outside Outlook | Needs a working copy of the file |
| Recovery software | A file Outlook rejects | Free export has a cap |
Convert OST to PST in Outlook explains the conversion route.
How to Recover Mail When Outlook Cannot Rebuild the OST File
Two cases need a copy of the old file. Server copies can disappear and accounts can close. Local items that never synced also live only in the OST file.
Open the backup copy of the OST file with recovery software and preview the folders. Export the mail to PST, EML, MSG, HTML or PDF and import it into the new profile.
How to Verify the Fix
Check four points before you close the case:
- Opening. Outlook starts without the error.
- Folders. The Inbox and Sent Items show the same counts as the web.
- Sync. A test message sent from the web arrives in Outlook.
- File. The new OST file appears on the Data Files tab.
How to Prevent the OST is Not an Outlook Data File Error
Five habits stop it from returning:
- Give every OST file its own profile. OST file opens only in the account and profile that created it.
- Close OneNote before you open Outlook after a crash. It uses the file while it is open.
- Repair Office after a failed update. Online Repair replaces damaged files.
- Export local items. Items missing from the server exist only in the OST file.
- Study why OST files get corrupted again. The guide lists the causes that bring the error back.
Frequently Asked Questions
What Does OST is Not an Outlook Data File Mean?
Outlook refuses the file you gave it. Outlook expects a PST file and receives an OST file.
Can I Open an OST File Like a PST File?
No. OST file opens only in the account and profile that created it.
Does Closing OneNote Fix the Error?
Closing it fixes the error in some cases. Error can return later.
Do I Need a Backup of the OST File?
No. Microsoft says OST files need no backup like PST files because they copy items from the mail server.
Will Outlook Create a New OST File?
Yes. Microsoft says you can create a new copy at any time and Outlook downloads the data again from the server.
Is Deleting the OST File a Safe Fix?
Microsoft's repair article says Outlook creates a deleted offline OST file again. Move it to a backup folder first so local items remain safe.
Does SCANPST Fix This Error?
Sometimes for minor errors. SCANPST fixes minor errors and the message can return.
Can Software Open an OST File Outlook Refuses?
Yes for scanning. EmailDoctor software recovers items from OST files and only the Use Outlook PST option needs Outlook.
How Big is the Free Export Cap?
Demo exports cap at 25 emails for every folder.
Is Renaming the OST File to PST a Fix?
No. PST and OST files use different structures so a renamed file remains unreadable. Create a new OST file or convert the old one with software.
Final Checklist Before You Open Outlook Again
Tick every item before you rely on the account:
- Mailbox. You confirmed the mail on the web.
- Copy. The old OST file sits in a backup folder.
- Profile. The account uses a new or matching profile.
- OneNote. OneNote is closed.
- Export. Local only items are saved.
- Check. Folder counts match the web.
Author’s Verdict
Match the data file to the account before anything else. Move the old OST file and add the account again to build a fresh copy.
Next create a profile when the error remains and close OneNote when it appears with OneNote open. Use OST recovery software if no other test works and work only on a duplicate of the file.
- Match OST files to Exchange or Outlook.com accounts and PST files to POP3 or IMAP accounts.
- Move the OST file to create a new copy.
- Close OneNote before you start Outlook.
- Recovery software scans an OST file when other tests fail.