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 without losing any email. Here's the plain-English fix, then a one-click way to hand it to us.

Rated 4.9 on GoogleFamily-run since 1995 · no fix, no fee

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 those, your email also lives on the mail server. (One catch: on an IMAP account, classic Outlook keeps the calendar, contacts and tasks only inside the .ost, in folders marked (This computer only) — copy or export those before rebuilding.) 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.

// WINDOWS PCS ONLY

We do not support Outlook on Apple Macs, iPads or iPhones. Apple does not allow our remote-support tool to take control of an iPad or iPhone (an Apple restriction), and our remote support covers Windows PCs only. On an Apple device, Microsoft’s own Outlook help is the place to start.

// DO IT WITH ME · STEP BY STEP

Do it with me, one step at a time

The steps from this guide, one at a time. Tick each one off and it shows the next. Nothing here leaves your device.Last reviewed 6 October 2026

Checking which Windows you have…STEP 1 OF 6
  1. 01Close Outlook completely

    Fully close classic Outlook so the .ost file isn't locked. If Outlook seems stuck, open Task Manager (Ctrl+Shift+Esc), find OUTLOOK.EXE and End task.

    Done that step?

Rather have it done for you? Remote help from £20, or in person across Bournemouth, Christchurch, Poole, Ringwood and the New Forest, with no call-out fee.

// 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, your email re-downloads automatically once you reopen Outlook. On an IMAP account, copy any calendar, contacts or tasks marked (This computer only) first — those exist only in the .ost.

  • 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, a common 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 your email lives on the server (on an IMAP account, calendar, contacts and tasks marked (This computer only) exist only in the .ost, so copy them first), 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?

A 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.

// Still stuck?

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.

We’ll fix it with you

  • Checking the problem is free
  • Fixes from £20, agreed before we start
  • We phone first, and you watch every step

Stop it happening again

  • A full service every six weeks, written up
  • Every program kept up to date
  • Unlimited remote help when you need it

Plans from £18.25 a month per computer · cancel any time

Mon–Fri 9–5 · family-run since 1995 · rated 4.9 on GoogleSee the steps below →