Categories About Us Contact Us Become a Member

What Is an OST File? Outlook's Offline Copy of a Mailbox That Lives on a Server

An OST file is the offline Outlook Data File that caches your mailbox on your own computer. Jump to your question below, or read it through in order.

By Neeraj Singh ~18 min Updated Sep 2026 Every figure checked against Microsoft docs
Short answer

An OST file is an offline Outlook Data File. Outlook builds one for an Exchange, Microsoft 365, Outlook.com or IMAP account. It keeps a synchronized copy of the mailbox inside that file, so you can read and write email with no connection.

Windows stores it in AppData\Local\Microsoft\Outlook. It caps at 50 GB on Outlook 2010 and later. It is a cache, not a backup, so Microsoft says you never need to back it up.

1 What is an OST file? A working copy of a mailbox that still lives on a server

Think of an OST file as a shadow of your mailbox. The real mailbox sits on a mail server. Outlook keeps a second copy on your hard drive so the app stays usable on a plane, on a bad hotel connection or while the server is down.

Everything you see in Outlook appears in that copy: email and attachments, the folder tree, contacts, calendar events, tasks and notes. When the connection returns, Outlook sends up whatever you changed and pulls down whatever arrived.

The naming trips people up. Almost every guide expands OST as Offline Storage Table, and that is the phrase most people search for. Microsoft does not use it. In Outlook's own menus and in Microsoft support pages the file is an offline Outlook Data File. Both names mean a file ending in .ost.

A mail server holds the original mailbox on the left and an OST file on the computer on the right, with arrows showing new mail coming down and your edits going up
The server keeps the original, your computer keeps a working copy. That one arrangement explains almost every OST question further down this page.

What sits inside one

Mail and attachments Every folder Outlook has been told to keep offline, down to the attachment bytes.
Calendar and contacts Meetings, appointments, contact cards and distribution lists ride in the same file.
Folder rules and views Per-folder settings travel with the cache, which is why a rebuilt file can look slightly different at first.
A sync state Outlook tracks what has been sent up and pulled down. That state is what ties the file to one mailbox.

New Outlook for Windows does not use an OST file. The rebuilt app keeps its offline data in a different store, so the paths and fixes on this page apply to classic Outlook. If your Outlook has no File tab, you are in new Outlook.

Outlook creates an OST file whenever an account keeps its mail on a server and Cached Exchange Mode is on. That covers Exchange, Microsoft 365, Outlook.com and IMAP.

2 Why does Outlook create an OST file? Cached Exchange Mode, and which accounts get one

Outlook could talk to the server for every click. It does not, because that feels slow and it breaks the moment the network does. Instead it turns on Cached Exchange Mode and works from the local copy, syncing in the background.

That local copy is the OST file. It is created the first time the account is set up, which is why a brand new profile spends its first few minutes downloading before the mailbox looks complete.

Which account types produce an OST file, and which produce a PST file instead.
Account typeWhere your email livesWhich file Outlook makes
Microsoft 365 or ExchangeServer, cached locallyOST
Outlook.comServer, cached locallyOST
IMAP, Outlook 2016 and laterServer, cached locallyOST
IMAP, Outlook 2013 and earlierServer, with a local copyPST
POP3Downloaded to your computerPST, and it is the only copy

The last row is the one worth remembering. A POP account has no server copy to fall back on, so it writes to a PST file instead. Everything else on that list keeps the original on the server and treats the local file as disposable.

An OST file is a cache that the server can refill. A PST file is often the only copy there is. Lose an OST and you lose nothing. Lose a PST and the email may be gone.

3 OST vs PST: what is the difference? They look like siblings and they behave like opposites

Both files end up in the same folder tree in Outlook and both hold the same kinds of item. That is where the similarity stops. The difference that matters is where the original lives.

OST

A copy. The original sits on the mail server. Outlook can throw the file away and download a fresh one whenever it needs to.

PST

An original. For a POP account or an archive, nothing else holds that email. Delete the file and it is gone for good.

A four-row comparison showing that an OST file is a copy the server can refill while a PST file is often the only copy of that email
Read the second row first. It is the one that decides how you treat each file.
The practical differences between an OST file and a PST file.
QuestionOST filePST file
Who creates itOutlook, automaticallyYou, or an export or archive job
Default folderAppData\Local\Microsoft\OutlookDocuments\Outlook Files
Needs a backupNoYes, it is often the only copy
Opens on another computerNo, it is tied to one mailboxYes, any classic Outlook opens it
Attach it by handNot possibleFile, Open & Export, Open Outlook Data File
Safe to deleteUsually, Outlook rebuilds itOnly if the email exists elsewhere
Default size cap50 GB50 GB

Every row after the first falls out of one fact. A server holds the original for an OST file, so the file is expendable. Nothing holds the original for most PST files, so the file is precious. Read the rest of this page with that in mind and the advice stops feeling arbitrary.

If you want the other half of the story, our guide to the PST Outlook Data File covers how to open, shrink and repair one.

On Windows 10 and Windows 11 the default folder is C:\Users\<username>\AppData\Local\Microsoft\Outlook. AppData is hidden, so paste the path into File Explorer.

4 Where are OST files stored? The default folder, and how to ask Outlook for the real one

The OST file lives somewhere different from the PST file, and mixing the two up is the single most common mistake in older guides. A PST file lands in your Documents folder. An OST file lands in a hidden system folder.

A File Explorer window open at the AppData Local Microsoft Outlook folder showing an OST file of 12.8 GB beside a smaller search index file
Two files sit in that folder. The .ost file is your mailbox cache. The .nst file is the search index, and Outlook rebuilds that one too.
Windows 10 and 11 · current default C:\Users\<username>\AppData\Local\Microsoft\Outlook Every OST file Outlook builds goes here. The folder is hidden, so either turn on hidden items or type the path into the File Explorer address bar.
Windows XP era · legacy default C:\Documents and Settings\<username>\Local Settings\Application Data\Microsoft\Outlook Files carried over from a very old machine can still be sitting in a folder shaped like this.
Not sure? Ask Outlook directly File → Account Settings → Account Settings → Data Files → Open File Location This shows the real path for every data file the profile has attached, including one an administrator has moved somewhere unusual.

The file is normally named after the account, such as you@company.com.ost. A profile with two server accounts has two OST files sitting side by side, one for each.

Do not move an OST file by hand. Outlook records the path in the profile. Move the file and Outlook simply builds a new one in the old place. To relocate it properly, an administrator sets the ForceOSTPath registry value before the account is created.

It has to be on a local drive

Outlook 2016 changed how it resolves file paths, starting with build 16.0.7910.1000. From that build on it refuses to add a .pst or .ost file that is not on a local hard drive. A mapped network drive, a NAS share or a removable disk all fail.

The errors you get are misleading. Outlook reports an invalid file name, or access denied, neither of which hints that the location is the problem. Keep the file where Outlook puts it.

There are other files in that folder. A matching .nst file holds the search index and group data for the same account, and an .oab file caches the address book. Leave both alone. Outlook rebuilds them whenever it rebuilds the OST file.

An OST file defaults to 50 GB on Outlook 2010, 2013, 2016 and later. On Outlook 2003 and 2007 the default is 20 GB. Outlook starts warning at 47.5 GB and 19 GB.

5 OST file size limits The caps Microsoft ships, and the registry key with the confusing name

An OST file grows to match the mailbox it mirrors. Outlook applies a ceiling anyway, and it warns you well before the file reaches it so its own clean-up jobs have room to work.

Default OST size caps by Outlook version, as shipped by Microsoft.
Outlook versionMaximum sizeWarns at
2010, 2013, 2016 and later50 GB47.5 GB
2003 and 200720 GB19 GB

Hit the ceiling and Outlook stops writing. The message names the file rather than the limit, and the code behind it is 0x8004060C. On an OST the fix is almost never a bigger cap. It is less mail kept offline.

An administrator can change both numbers. The values are MaxLargeFileSize and WarnLargeFileSize, and they are written in megabytes, not bytes.

Registry path · Outlook 2016 and later HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\PST Yes, the key is called PST even when you are changing the OST limit. Both file types share it. Change the Office version number for older builds.

Microsoft asks for a gap of at least 5 percent between the maximum value and the warning value, so internal processes are not blocked. Setting the warning to the same number as the maximum is a common and avoidable mistake.

The usual reason a file gets huge

Most people assume their own mail filled it. Often it did not. Add somebody else's shared mailbox to your profile and Outlook downloads every folder you have access to into your OST file, not into a separate one.

Microsoft says so directly. If the shared folders hold many items or large attachments, your file can grow a lot. Caching shared folders can be what pushes it into the size limit.

From Outlook 2016 the Download email for the past slider applies to shared mailboxes as well, which keeps this in check. An administrator can switch that off with a registry value named DisableSyncSliderForSharedMailbox. If it is set to 1, the whole shared mailbox syncs to your disk.

So before you go hunting for large attachments in your own Inbox, count the shared mailboxes in your folder list. Removing one you no longer need can free up space faster than anything else on this page.

Raising the cap is rarely the right fix. A very large OST file makes Outlook slow to search and slow to start, long before it hits any ceiling.

Reduce how much mail Outlook keeps offline instead. Go to File, then Account Settings, then Account Settings, double-click the account and move the Mail to keep offline slider down. The server keeps everything either way.

Emptying Deleted Items and clearing large attachments helps too, but only after the next sync. The file shrinks when Outlook compacts it, not the moment you press delete.

No. Microsoft states that offline Outlook Data Files are copies of your Exchange information. It says backing up this file is not necessary and that you can create a new copy at any time.

6 Do you need to back up an OST file? The one answer that explains almost every other OST question

This is the question behind most OST searches, even when people ask it another way. Can I recover my email from this file? Should I copy it before I reinstall? Why will it not open on the new laptop?

Microsoft answers it directly. Its support page describes them as copies of items already saved on a mail server. The same page says they "don't need to be backed up like Outlook Data Files (.pst)".

So the file on your disk is scaffolding. The building is the mailbox on the server. Back up the mailbox, or trust your provider's retention. Either way the OST file stops mattering.

Back up the mailbox Export a PST file from the live account, or use whatever retention and archive policy your organization runs on the server.
Do not copy the OST file aside It will not open anywhere else, so a copy of it is a file you cannot read when you need it most.

There is one case where the file does hold something unique. If somebody dragged email into a local folder while offline, or the account was closed before the last sync finished, that content may exist only in the OST file. Deal with it before the account goes away, by exporting a PST file while Outlook still opens.

You do not open an OST file the way you open a PST file. It opens by itself when its own Outlook profile starts. There is no Open Outlook Data File route for it.

7 How to open an OST file Why double-clicking fails, and what to do instead

Double-clicking the file in File Explorer does nothing useful. Windows has no handler for the format, so you get an error or a dialog asking which program to use. Outlook's own Open Outlook Data File command refuses it as well, because that command is built for PST files.

The supported way is simply to start Outlook with the profile that owns the file. Everything inside it appears in the normal folder tree.

1 Open classic Microsoft Outlook with the profile that has the account.
2 Wait for the first sync to finish. The status bar at the bottom reports All folders are up to date when it is done.
3 If the mailbox looks incomplete, go to Send / Receive and click Update Folder.

Why it will not open on another computer

Copy the file to a second machine and Outlook turns it away. The wording is exact, and it is worth recognizing:

"The file <path>.ost cannot be accessed because it has been configured for use with a different mailbox."

Outlook stamps the file with the mailbox that created it. A different profile, even for the same person, counts as a different mailbox. Add the account on the new computer and let Outlook build a fresh file there.

No other mail app reads the file either. Gmail, Thunderbird, Apple Mail and Outlook for Mac all expect a different format. None of them can mount an OST. If you need the mail somewhere else, connect that app to the same account. Or export the mailbox to a PST file first.

If Outlook refuses the file on the machine that made it, the error usually points somewhere else. The Outlook permission denied error means the file is read-only or locked by another program. Our guide to new Outlook errors covers the rebuilt app, which does not use an OST file at all.

Open the account in Outlook, then use File → Open & Export → Import/Export → Export to a file and choose Outlook Data File (.pst). No extra software needed.

8 How to convert an OST file to PST The free route first, and when a tool is genuinely the only option

Use this when you are leaving a job, closing an account or want a copy of the mailbox you can keep.

Almost every page about converting an OST file sells a converter. You rarely need one. While the account still opens in Outlook, the export built into Outlook produces a normal PST file from exactly the same data. That is true whether you want one folder or a full migration off the account.

1 Open Outlook with the profile that owns the mailbox.
2 Go to File, then Open & Export, then Import/Export.
3 Choose Export to a file and click Next.
4 Choose Outlook Data File (.pst) and click Next.
5 Select the mailbox at the top of the tree and tick Include subfolders so nothing is left behind.
6 Pick a destination outside AppData, such as your Documents folder, then click Finish.

The result is an ordinary PST file. Any classic Outlook on any computer can open it, which is precisely what the OST file could not do.

Do the export before the account is switched off. A converter tool is only worth buying when the profile is already gone and the orphaned file is all that is left.

Even then, check what you actually need. If the mailbox still exists on the server, connecting to it from a fresh profile gets the email back with no tool and no risk.

SCANPST.EXE repairs an OST file as well as a PST file. On an OST it is usually the slower answer, because deleting the file and resyncing gives you a clean copy.

9 How to repair a corrupt OST file Why the repair tool is the second choice here, not the first

A damaged OST file shows up as folders that will not open, a sync that never finishes or Outlook freezing on start. The Inbox Repair Tool that ships with Office does accept .ost files, so it is a valid fix.

It is rarely the fastest one. Repair works through the file block by block and can take hours on a large mailbox, and it may still drop whatever it cannot read. The server already has a clean copy, so the rebuild in the next section usually wins.

That is the part worth holding on to. On a PST file, corruption is an emergency, because the damaged file may be the only copy. On an OST file it is an inconvenience. The email is safe on the server either way.

Run the repair tool anyway

Use this when the account is gone and the orphaned file is the only copy you have.

1 Close Outlook completely. Check Task Manager for a stray OUTLOOK.EXE.
2 Find SCANPST.EXE in the Office folder. Typical path: C:\Program Files\Microsoft Office\root\Office16.
3 Run it, click Browse and select the .ost file.
4 Tick Make a backup of scanned file before repairing and click Start.
5 Let it finish, then open Outlook and check the folders it flagged.

If Outlook reports a specific code rather than a vague failure, start there instead. Outlook error 0x80040600 points at damage inside the data file, and our Outlook PST import and export error guides cover the rest.

Close Outlook, rename the .ost file, then start Outlook again. It builds a fresh file and downloads the mailbox from the server.

10 How to rebuild an OST file safely The fix that solves most sync problems in one go

Because the server holds the original, throwing the local file away is a normal repair rather than a risk. Rename instead of deleting, so you can put it back if something was not synced.

Four numbered steps to rebuild an OST file: close Outlook, rename the file, start Outlook, then let it download
The short version of the six steps below. Renaming instead of deleting is what makes this safe.
1 Check the status bar first. It should say All folders are up to date. If it does not, let the sync finish.
2 Close Outlook and confirm it has really exited.
3 Open C:\Users\<username>\AppData\Local\Microsoft\Outlook in File Explorer.
4 Rename the file, for example from you@company.com.ost to you@company.com.ost.old.
5 Start Outlook. It creates a new file and begins downloading. On a large mailbox this takes a while.
6 Once the mailbox looks right and the status bar is happy, delete the .old file.

On a metered or slow connection, remember that a rebuild pulls the whole mailbox down again. Doing it on a phone hotspot is an expensive way to fix a sync glitch.

Rename, do not delete, on the first attempt. Anything that was dragged into a local folder while offline lives only in that file. Keeping it as .old for a week costs nothing and has saved plenty of people.

An OST file uses the same on-disk container as a PST file, and Outlook reaches both through MAPI. The difference is the sync state stamped inside, which binds the file to one mailbox.

11 OST file format and structure Skip this unless you are curious about what is inside

You do not need this section to use an OST file. It is here because two things make more sense once you know them.

The first is why repair tools work on the index rather than on the email. The second is why a file that looks like an ordinary document refuses to travel between computers.

OST file format at a glance
File extension
.ost
Full name
Offline Outlook Data File. Commonly expanded as Offline Storage Table
Category
Email cache, a single-file database
Developed by
Microsoft
Holds
A synchronized copy of a server mailbox
Original data
On the mail server, not in the file
Created by
Cached Exchange Mode, automatically
Default size cap
50 GB on Outlook 2010 and later. 20 GB on 2003 and 2007
Bound to
One mailbox and one Outlook profile
Opens with
Classic Outlook for Windows, through its own profile
Access interface
MAPI, the same interface Outlook uses for a PST file
Published spec
None. Microsoft documents the PST file as [MS-PST] and has published nothing for the OST
Character encoding
Unicode, on every Outlook version that is still supported
Sidecar file
.nst, the search index for the same account
Repair tool
SCANPST.EXE, the Inbox Repair Tool
Needs backup
No

What Microsoft actually publishes

This is worth saying plainly, because most pages about OST internals imply more than anyone knows. Microsoft publishes a full specification for the PST file, called [MS-PST]. It has never published one for the OST file.

So the honest position is this. The PST format is documented. The OST format is not. What we can say about the OST comes from how Outlook's own tools behave. The same repair tool opens both. The same registry key caps both. Both are reached through the same interface.

The published PST spec describes three layers stacked on each other. It is a useful picture even though it describes the sibling format.

The NDB layer Node Database. The blocks on disk and the index that finds them. This is the layer that gets damaged.
The LTP layer Lists, Tables and Properties. Turns raw blocks into rows and named fields.
The Messaging layer The part you recognize. Folders, messages, attachments and the properties on each.

Outlook never reads the file end to end. It looks a message up in the index and jumps straight to the block that holds it. That is what makes a 40 GB file usable at all.

It also explains the repair behavior. Damage near the index and Outlook loses its map of the whole file, even though almost every message is still intact. Repair tools rebuild the map, which is why they report far more errors than the amount of email actually lost.

The binding to a mailbox is not part of the container. It is recorded state, written when the account is set up. That is why no amount of copying or renaming persuades another profile to open the file.

Outlook reaches the data through MAPI, the same interface it uses for a PST file. That shared plumbing is why SCANPST.EXE handles both, and why the two formats hit the same registry key for their size limits.

Frequently asked questions about OST files

What is an OST file?
An OST file is an offline Outlook Data File. Outlook builds it automatically for an Exchange, Microsoft 365, Outlook.com or IMAP account. It keeps a synchronized copy of your mailbox inside that file so you can work with no internet connection.
What does OST stand for?
OST is usually expanded as Offline Storage Table. Microsoft's own name for it is an offline Outlook Data File, and that is the wording you see in Outlook's menus and in Microsoft support pages.
Where is the OST file stored?
On Windows 10 and 11 the default folder is C:\Users\<username>\AppData\Local\Microsoft\Outlook . AppData is hidden, so type the path into the File Explorer address bar. Or open Outlook and go to File, Account Settings, Account Settings, the Data Files tab, then Open File Location.
Do I need to back up my OST file?
No. Microsoft states that offline Outlook Data Files are copies of your Exchange information. It says backing up this file is not necessary and that you can create a new copy at any time. Back up the mailbox on the server instead.
What is the difference between an OST file and a PST file?
An OST file is a cache of a mailbox that lives on a server, so Outlook can rebuild it whenever it likes. A PST file often holds the only copy of that email, so losing it loses the email. That one difference decides how you treat each file.
How big can an OST file be?
An OST file defaults to 50 GB in Outlook 2010, 2013, 2016 and later. In Outlook 2003 and 2007 the default is 20 GB. Outlook starts warning at 47.5 GB and 19 GB. An administrator can change the cap through the registry.
Can I open an OST file on another computer?
No. An OST file is tied to the mailbox and profile that created it. Move it to another computer and Outlook reports that the file cannot be accessed because it has been configured for use with a different mailbox. Connect the account there instead.
Can I convert an OST file to PST?
Yes, and the safe route needs no extra software. Open the account in Outlook, go to File, Open & Export, Import/Export, then Export to a file and pick Outlook Data File (.pst). That writes a normal PST file you can keep or move.
Does SCANPST repair an OST file?
Yes. The Inbox Repair Tool, SCANPST.EXE, opens .ost files as well as .pst files. On an OST it is rarely the fastest fix. Deleting the file and letting Outlook download a fresh copy from the server takes less time and leaves no damage behind.
Is it safe to delete an OST file?
Usually yes, as long as the account is a normal server account and Outlook is closed. Outlook builds a new OST file the next time it starts and fills it from the server. Do not delete it if the profile has items that were never synced, such as email dragged in while offline.
Is an OST file password protected or encrypted?
Outlook offers no password option for an OST file. What keeps other people out is Windows file permissions and the fact that the file is bound to one mailbox and profile. For real protection on a laptop, use full disk encryption such as BitLocker.
Why is my OST file so large?
Because it mirrors the mailbox. A large mailbox produces a large OST file. You can shrink it by reducing how much mail Outlook keeps offline: File, Account Settings, Account Settings, double-click the account, then move the Mail to keep offline slider down.

Still stuck with an OST file?

Is Outlook refusing to sync, or showing a code you cannot place? Work through the matching guide in our Outlook data file error guides. Nothing matching? Send us the exact wording on screen and we will write it up.

Was this page helpful? Thanks for your feedback!