Outlook fix · Classic (Windows)

Outlook OST file corrupt? Fix "errors detected in the file" safely

If classic Outlook keeps warning "errors have been detected in the file .ost", the good news is your email is almost certainly safe. An .ost is only ever created for a Microsoft 365, Outlook.com, IMAP or Exchange account — and for those, the .ost is just a local copy of what already lives on the mail server. That means you can rebuild it from scratch and lose nothing. Here's the plain-English fix, then a one-click way to hand it to us. Rated 4.9 on Google.

  • ● No email is lost — it re-downloads
  • ● Classic Outlook on Windows
  • ● Fixed remotely in minutes

What's actually wrong

Why Outlook says "errors detected" in your OST

Your .ost file (Offline Outlook Data File) is the local cache classic Outlook keeps on your PC so you can read mail when you're offline and so everything loads quickly. It is not your only copy. An .ost is only used by cached accounts — Microsoft 365, Exchange, Outlook.com and IMAP — and for every one of those, each message, folder and appointment also lives on the mail server. The .ost simply mirrors it. (Older POP accounts don't use an .ost at all — they store mail in a .pst — so if Outlook is naming an .ost in the error, you're on a cached account and the server has the master copy.)

When Outlook reports "errors have been detected in the file .ost", that cache has become damaged — usually after Outlook or the PC was shut down mid-sync, an antivirus or backup program locked the file, the disk filled up, or the .ost simply grew huge over years of use. Because the master copy is safe on the server, the cleanest fix is to throw the damaged cache away and let Outlook build a fresh one. Nothing on the server is touched, so no email, contacts or calendar entries are lost.

Which repair route to use: Microsoft's Inbox Repair Tool (scanpst.exe) can technically scan an .ost, but for a corrupt .ost Microsoft's own advice is simply to delete it and let Outlook rebuild the cache from the server — that's the reliable, no-data-loss route. Save scanpst.exe for repairing a .pst (say, an old local archive), which is what it's really built for and where it earns its keep.

// NEED THIS FIXED RIGHT NOW?

Skip the DIY — call 01202 775566 and we can be looking at your screen within minutes. You watch everything we do, and most problems on this page are fixed in one short remote session. (Mon–Fri, 9am–5pm.)

Start SOS Remote Support Call 01202 775566

The safe fix

Rebuild the OST without losing anything

The steps below rebuild the cache from your mail server. Because an .ost only ever belongs to a 365, Exchange, Outlook.com or IMAP account, everything re-downloads automatically once you reopen Outlook — nothing is lost.

  • They apply to classic Outlook for Windows — the full desktop app that came with Microsoft 365 or Office.
  • To be extra safe, rename the file (add .old) rather than deleting it, so you keep the old cache until you've confirmed everything is back.
  • Give the resync a little time on the first open — a big mailbox can take a while to download in the background.

Stop it coming back

Exclude the OST from antivirus scanning

If the same error keeps returning, the usual culprit is antivirus or backup software scanning the .ost while Outlook is writing to it. Real-time scanners can lock or half-read the file mid-sync and re-corrupt it. In your antivirus settings, add an exclusion for the Outlook data folder (%localappdata%\Microsoft\Outlook) or for the .ost file type. Windows Security, Bitdefender, Norton, McAfee and the rest all have an "exclusions" or "exceptions" area for this.

Also worth checking: make sure your disk isn't nearly full, and always close Outlook properly (don't just power the PC off) so the cache finishes writing. If you'd like, we'll set the exclusion correctly and confirm the mailbox is fully healthy while we're in — it's the kind of thing that takes us a couple of minutes and stops the nagging error for good.

FAMILY-RUN SINCE 1995 · ★ 4.9 ON GOOGLE · 200+ COMPUTERS UNDER OUR CARE · NO FIX, NO FEE · SAME-DAY REMOTE SUPPORT

// GOOD QUESTIONS

Frequently asked

Will I lose my emails if I delete the OST file?

No. An .ost is only ever used by a Microsoft 365, Exchange, Outlook.com or IMAP account, and for all of those it's just a local cache — your mail, contacts and calendar all live on the server, and Outlook re-downloads a fresh copy automatically when you reopen it. (POP accounts don't use an .ost at all; they use a .pst.) To be cautious, rename the .ost instead of deleting it so you keep the old file until everything is confirmed back — or give us a call first.

Can scanpst.exe repair an OST file?

It can scan one, but for a corrupt .ost it's not the route Microsoft recommends. The dependable fix for a damaged .ost is to delete or rename it and let Outlook rebuild the cache from the server — no data loss, because the server holds the master copy. Keep scanpst.exe (the Inbox Repair Tool) for repairing a .pst archive, which is what it's really designed for. You'll find it at C:\Program Files\Microsoft Office\root\Office16\SCANPST.EXE (or the Program Files (x86) path on 32-bit Office).

Where is my OST file stored?

In classic Outlook it lives in %localappdata%\Microsoft\Outlook. Press the Windows key + R, type that path and press Enter to open the folder — the file is named after your email address and ends in .ost. Close Outlook before touching it, or Windows will say the file is in use.

Why does my OST file keep getting corrupted?

The most common cause is antivirus or backup software scanning the file while Outlook is syncing to it. Other triggers are shutting the PC down before Outlook has finished writing, a full hard disk, or a very large mailbox. Adding an antivirus exclusion for the Outlook data folder usually stops it recurring.

How long does Outlook take to rebuild the OST?

Usually a few minutes for a modest mailbox, but a large one with years of mail can take a good while to download in the background. Leave Outlook open and connected to the internet; the folders fill in as it syncs. It's normal for older items to appear gradually.

This is fiddly — can you just fix it for me?

Yes, that's exactly what we do. We connect over a secure remote session (we phone you first, you watch the whole thing on your screen, and access ends when we're done), rebuild the cache safely, set the antivirus exclusion so it doesn't return, and confirm your mailbox is healthy. It's usually sorted in minutes. Call 01202 775566.

Rather not touch the file yourself?

We'll watch-and-fix it over a secure remote session — we phone you first, you see everything on your screen, and access ends the moment it's sorted. Same-day, usually done in minutes.

01202 775566 · help@365techies.co.uk · MON–FRI 9AM–5PM