Delete OST File? When It’s Safe & How
Yes, you can delete an OST file, but only after you have backed up your mailbox or ensured your email account is fully synced with the server. Deleting the file itself does not delete your emails from the mail server; it only removes the local offline copy, and Outlook will recreate a fresh OST file the next time it starts.
What an OST File Actually Is
An OST (Offline Storage Table) file is a local cache of your Exchange, Microsoft 365, or Outlook.com mailbox. Every email, calendar item, contact, and task that you see in Outlook is stored in this file so the program can display it instantly, even when you are not connected to the server. The server remains the authoritative copy of your data. The OST file is essentially a mirror that Outlook maintains for speed and offline access.
Because the file is a cache, it can grow very large—often several gigabytes—especially if you have a mailbox with many attachments or years of history. Unlike a PST file, which is meant to be an archival storage format, an OST is tied to a specific account and cannot be opened independently. If you delete an OST, Outlook simply rebuilds it by downloading the mailbox contents again from the server.
When Deleting an OST Is Safe
Deleting an OST is safe in the following situations:
- Your mailbox is fully synced and you can see all your items when you are online.
- You have a backup of your mailbox, either via an export to PST or through your email provider’s retention policies.
- You are experiencing file corruption, and Outlook repeatedly crashes or shows errors like “Cannot open your default e-mail folders.”
- You are troubleshooting a sync issue, such as missing emails or calendar items that do not appear on your other devices.
- You are decommissioning a computer and do not need a local copy of the mailbox.
If you are offline and have never connected to the server, the OST may contain the only copy of items you created while offline. In that case, do not delete the file until you have gone online and let Outlook sync those items to the server. Deleting the OST before that sync would permanently lose those offline-only changes.
How to Delete an OST File Safely
Follow these steps to delete an OST file without risking data loss:
- Close Outlook completely. Check the system tray (bottom-right corner of the taskbar) to ensure no Outlook process is still running. If needed, open Task Manager (Ctrl+Shift+Esc) and end any “OUTLOOK.EXE” process.
- Locate the OST file. The default location is
%LOCALAPPDATA%\Microsoft\Outlook. You can paste that path into File Explorer’s address bar to jump straight there. The file will have a name likeyourname@company.com.ostorOutlook.ost. - Back up the file (optional but recommended). Copy the OST to an external drive or another folder. This gives you a fallback if something goes wrong during the rebuild.
- Rename the file instead of deleting it immediately. For example, change
Outlook.osttoOutlook_old.ost. This lets you test the new OST without permanently destroying the old one. If the new file works well, you can delete the renamed file later. - Restart Outlook. Outlook will detect that the OST is missing and create a new one, then begin synchronizing with the server. The first sync can take a while, depending on mailbox size and connection speed.
If you renamed the file and Outlook still opens the old one, it may be because the account is configured to use a different OST path. Check under File > Account Settings > Account Settings > Data Files to see which file is associated with your account.
Common Mistakes and Misconceptions
One common misconception is that deleting an OST file deletes your emails from the server. This is false. The server is the source of truth; the OST is just a cache. Another misconception is that you can open an OST file like a PST to recover individual emails. You cannot—OST files are encrypted and tied to the account they were created for.
A frequent mistake is deleting the OST while Outlook is still running in the background. This can lead to file lock errors or a corrupted new OST. Always ensure Outlook is completely closed before touching the file. Another mistake is assuming that deleting the OST will free up space immediately—it will, but only after you restart Outlook and it creates a new file, which will gradually grow again as it syncs your mailbox.
When You Should Not Delete the OST
Do not delete the OST in these scenarios:
- You are on a slow or metered connection and cannot afford to re-download a large mailbox.
- You have unsynced items (e.g., emails in your Outbox or drafts created while offline). Wait until they are sent or synced.
- You are not sure whether your mailbox is fully backed up elsewhere. If in doubt, export to a PST first.
- You are using a shared computer and other users might rely on the local cache for offline access.
If you have a very large mailbox (50 GB or more), rebuilding the OST can take hours and consume significant bandwidth. In such cases, consider using Outlook’s built-in “Repair” feature (via Control Panel > Mail > Data Files > Settings > Repair) instead of deleting the file, as it attempts to fix corruption without a full re-download.
Alternatives to Deleting the OST
If your goal is to reduce file size or fix a problem, you have alternatives:
- Compact the OST: In Outlook, go to File > Account Settings > Account Settings > Data Files, select the OST, click Settings, then Advanced, and click “Compact Now.” This removes empty space but does not delete data.
- Reduce mailbox size: Archive old emails to a PST file, then delete them from the server. This shrinks the OST because it mirrors the server content.
- Use the Repair tool: For corruption issues, run the Inbox Repair Tool (ScanPST.exe) located in your Office installation folder. It can often fix the OST without deletion.
- Create a new profile: Instead of deleting the OST, create a new Outlook profile (Control Panel > Mail > Show Profiles > Add). A new profile generates a fresh OST and leaves the old one intact for reference.
Frequently Asked Questions
Will deleting the OST file delete my emails?
No. Your emails live on the mail server. The OST is just a local copy. Deleting it removes the cache, and Outlook will re-download your emails from the server the next time it starts. You will not lose any data that is already synced.
Why is my OST file so large?
OST files grow with the size of your mailbox, including attachments, calendar items, and deleted items that are still in the “Deleted Items” folder. Emptying the Deleted Items folder and archiving old emails to a PST can help reduce the size.
Can I open an OST file without Outlook?
No. OST files are proprietary and require Outlook to read them. If you need to access the data without Outlook, you must export the mailbox to a PST file first, which can be opened by other email clients or imported into Outlook later.
How long does it take to rebuild an OST file?
It depends on your mailbox size and internet speed. A small mailbox (1-2 GB) might take a few minutes; a 50 GB mailbox could take several hours. During this time, Outlook may appear slow or show a progress bar in the status bar.
Is it safe to delete an OST file for a shared mailbox?
Yes, but only if the shared mailbox is also accessible via Outlook Web Access (OWA) or another client. The shared mailbox data is still on the server. Deleting the OST only removes the local cache for that shared mailbox.
What if Outlook does not recreate the OST after deletion?
If Outlook does not create a new OST, it may be because the account is configured to use a different data file path, or Outlook is running in a mode that does not use OST (e.g., POP3 with “Download headers only”). Check your account settings and ensure the “Use Cached Exchange Mode” option is enabled for Exchange accounts.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.