Understanding OST Files in Outlook
An OST file is simply a local copy of your mailbox data stored on your hard drive. When you use an Exchange, Microsoft 365, or Office 365 account in Outlook, the program synchronizes your email, contacts, calendar events, and other items to this file so you can access them even when you are offline. The file uses a proprietary binary format developed by Microsoft, and it grows or shrinks as your mailbox activity changes. OST stands for Offline Storage Table. That is the full name. The technology behind it dates back to early versions of Outlook and has been refined over many years. It works by maintaining a cached copy of your server data that Outlook updates periodically throughout the day. The sync engine compares timestamps and flags to decide what needs to move from server to local disk and vice versa. You do not interact with the sync process directly. Outlook handles it in the background. The file typically lives in a folder like C:\\Users\\[YourName]\\AppData\\Local\\Microsoft\\Outlook on Windows. It has a .ost extension and can range from a few hundred megabytes to tens of gigabytes depending on your mailbox size and retention settings. Outlook will delete items from the OST file that fall outside the synchronization slider, which you can adjust in Account Settings. Moving the slider to one year means only the last year of data stays cached locally, while older items stay on the server.
There are a couple of things most people get wrong about these files. First, the OST file is not a backup. If your hard drive fails and you have no backup of it, you will not recover anything. It is a cache, not a preservation tool. Second, you cannot open an OST file from another person's computer or even from a different Outlook profile on the same machine without running into corruption issues. The file is tied to your specific user profile and the Exchange account it was created under. Trying to open it outside that context will usually result in an error about the file being invalid or unreadable.
How to Manage Your OST File
The most common task people need to perform is finding and managing their OST file. Here is how you locate it. Open Outlook. Go to File and then Account Settings. Click on Account Settings again from the dropdown menu. Select your email account from the list and click Change. On the next screen, there is a button labeled Offline Folder File Settings. Click it and you will see the full path to your .ost file displayed in the dialog box. If you want to recreate the file from scratch, which is useful when you suspect corruption, Outlook provides a straightforward method. Close Outlook completely. Navigate to the folder containing your OST file using File Explorer. Rename the file by adding .old to the end of the filename, or just delete it if you are confident you do not need any locally cached data. Restart Outlook. It will automatically create a new OST file and begin re-syncing everything from the Exchange server. This process can take anywhere from fifteen minutes to several hours depending on your mailbox size and network speed. Be patient. Do not interrupt it.
Get the Full Details

One edge case I dealt with recently involved an OST file that had grown to over 40 gigabytes and was causing Outlook to run sluggishly. The user had the sync slider set to download everything with no time limit, and the mailbox was large. Manually compacting the file through Outlook's built-in tools did not reduce its size because the data inside was still being used. The workaround was to create a brand new Outlook profile, point it at the same Exchange account, and let it rebuild from the server. The new OST file came in at about 12 gigabytes, which was a much more reasonable size. Outlook does not always aggressively prune old data from the local file even when you change the sync slider settings afterward, so starting fresh is sometimes the only real solution.
When OST Files Cause Problems
Corruption is the main issue. An OST file can become corrupted due to abrupt shutdowns, disk errors, or bugs in certain Outlook builds. If Outlook starts showing errors like "The offline address book must be downloaded before you can start Microsoft Outlook in Cached Exchange Mode" or simply refuses to open the file, you are dealing with corruption. The standard fix is to create a new OST file as described above. If the corruption is severe, you may also want to run the Inbox Repair Tool (SCANPST.EXE) against the file first, though this utility is more commonly associated with PST files than OST files. Another practical problem is storage space. If your system drive is nearly full, a large OST file can push you over the edge. I have seen machines struggle with less than 10 gigabytes of free space while an OST file was syncing. The resolution involves either moving the OST file location to a different drive with more room or reducing the sync slider to keep the file smaller. You can change the default save location in the same Account Settings dialog where you find the file path. It is also worth noting that OST files only work with Exchange-based accounts. If you are using IMAP or POP3 accounts, Outlook generates a PST file instead, which operates under a completely different structure. Trying to force an OST file to work with a non-Exchange account is not possible. The account type dictates the file type, and there is no workaround for that.
For people who need to access their data outside of Outlook, the limitation is real. Unlike PST files, which can be opened and edited with third-party tools, OST files are effectively locked to Outlook itself. If you need to export data from an OST file, your options are limited to using Outlook's built-in import and export features or manually dragging and dropping items into a PST file through the Outlook interface. There is no reliable command-line or scriptable way to extract data from an OST file directly, and any third-party tool claiming to read OST files is working through reverse engineering rather than official support.
