If Outlook is slow, showing sync errors, or displaying outdated mail, you may be wondering how to clear an OST file in Outlook. An OST file stores a local, offline copy of mailbox data so you can work when you are not connected to the mail server. If that cache becomes damaged or out of date, closing Outlook and allowing it to create a fresh OST file can often resolve the problem.
In most cases, you do not need to erase mailbox data from the server. You rename or remove the local OST file, then restart Outlook and let it download a new copy. Before doing that, confirm that important changes have synced and understand which account types and Outlook versions the steps apply to. This guide explains how to safely clear an OST file, rebuild it, and troubleshoot common issues.
What Does Clearing an OST File Do?
An OST, or Offline Outlook Data File, is a local cache used by Outlook accounts that connect to an online mail service. Depending on the account and settings, it can contain downloaded messages, calendar items, contacts, and other mailbox information. The server remains the primary source for synced mailbox data, while the OST lets Outlook display and work with a local copy.
Clearing an OST file usually means removing or renaming that local cache so Outlook can create a new one. It does not normally delete mail from a Microsoft 365, Exchange, or other server-based mailbox. However, anything that exists only in the old local file may not be restored. That is why checking synchronization and preserving a backup are important before you proceed.
Before You Clear the Outlook OST File
Take these precautions to reduce the risk of losing information or interrupting your work:
- Check that Outlook is connected. Look at the Outlook status bar for a message such as “Connected to Microsoft Exchange” or “All folders are up to date.” If Outlook is offline or still syncing, reconnect and allow synchronization to finish.
- Check the Outbox. Make sure there are no messages waiting to send. A message that has not reached the mail server may be stored only on your computer.
- Review recent changes. Confirm that drafts, calendar updates, contacts, and other recent items appear in Outlook on the web or another device, if available.
- Save anything that may be local-only. If you are unsure whether an item is synced, export or otherwise preserve it before rebuilding the cache. Do not assume that every item in an OST can be recovered from the server.
- Know your account type. These steps are intended mainly for classic Outlook for Windows with a server-synced account. POP accounts and local data files may behave differently.
- Close Outlook completely. The file cannot be safely renamed or removed while Outlook or another process is using it.
If you cannot verify that important items have synced, pause before clearing the OST. Contact your organization’s IT administrator or a qualified support professional for help preserving the data.
How to Clear an OST File in Classic Outlook for Windows
The safest general approach is to rename the OST file instead of permanently deleting it. Renaming keeps the original file available temporarily in case you need to refer to it, while prompting Outlook to build a fresh cache.
Step 1: Close Outlook
Save your work and exit Outlook. Check that it has fully closed before continuing. If the file remains in use, wait a moment and try again. You can also check Task Manager for Outlook processes, but do not end unrelated processes or force-close Outlook while it is still saving data.
Step 2: Find the OST File
For many classic Outlook installations, OST files are stored in this folder:
%LOCALAPPDATA%\Microsoft\Outlook
To open the folder, press Windows key + R, enter the path above, and select OK. File Explorer should open the Outlook data folder. You may need to enable file-name extensions in File Explorer to see the complete “.ost” ending.
You can also locate the file from Outlook’s account settings before closing the program. In classic Outlook, select File > Account Settings > Account Settings, open the Data Files tab, select the relevant account or data file, and choose Open File Location if that option is available. Note the file’s name and location, then close Outlook.
Folder names and menu options can vary by Outlook version, Windows configuration, and account setup. If the file is not in the usual folder, use the location shown in the Data Files tab rather than guessing which file belongs to the account.
Step 3: Rename the OST File
In File Explorer, locate the OST file associated with the mailbox. Right-click it, choose Rename, and add a suffix such as .old to its name. For example, change mailbox.ost to mailbox.ost.old. Windows may display a warning about changing the file extension; confirm only if you have selected the correct OST file.
If Windows says the file is in use, make sure Outlook is closed. Avoid renaming or deleting files when you are unsure which account they belong to. If there are several OST files, use the path and account information from Outlook’s Data Files settings to identify the correct one.
Step 4: Restart Outlook and Let It Rebuild the Cache
Start Outlook and connect to the internet. Outlook should detect that the original OST file is unavailable and create a new one for the account. It will then begin downloading mailbox data from the server. The time required depends on the mailbox size, network speed, and organization’s sync settings.
While the download is in progress, some older messages or folders may not appear immediately. Keep Outlook open and connected until synchronization completes. You can check the status bar for progress or use the Send/Receive tab to review synchronization status. Avoid repeatedly removing the new OST, as doing so can restart the download and make troubleshooting harder.
Can You Delete the OST File Instead of Renaming It?
Yes, you can usually delete a confirmed, server-synced OST file after Outlook is closed. Outlook will generally create a replacement when it next connects to the account. Renaming is preferable for troubleshooting because it gives you a temporary fallback if you discover that you selected the wrong file or need to consult the old file.
Do not treat an OST as a guaranteed backup. It is a cache, and Outlook may not be able to open an old OST normally after it has been disconnected from its account or replaced. If you need a durable copy of important mail, use an appropriate export or backup process and verify that it includes the data you need.
How to Rebuild an OST from Outlook Account Settings
If you cannot locate the file or prefer not to browse through AppData, you may be able to create a fresh cache by removing and adding the account again. In classic Outlook, open File > Account Settings > Account Settings, select the account, and choose Remove only if you understand the effect and have confirmed the account data is safely stored elsewhere. Then add the account again using your organization’s approved setup instructions.
Removing an account can change Outlook’s configuration and may affect locally stored information, shared mailboxes, or custom settings. For a work or school account, ask your IT administrator before removing it. If Outlook cannot open or account settings are unavailable, creating a new Outlook profile through the Windows Control Panel’s Mail settings may be an alternative, but it changes the profile rather than simply clearing one file.
What If Outlook Does Not Create a New OST?
If Outlook continues using the old cache or does not recreate the file, try these checks:
- Confirm Outlook is online. Check your internet connection and make sure Outlook is not set to Work Offline.
- Verify account access. Sign in to the mailbox using Outlook on the web, if your organization provides it. If the mailbox cannot be accessed there, the issue may be with the account or service rather than the local OST.
- Check the file location again. Outlook may store the new cache in a different folder or use a different file name.
- Wait for synchronization. A large mailbox may take time to download. Avoid interrupting the process unless Outlook shows a specific error.
- Ask your administrator about policy or storage limits. Workplace settings, permissions, or disk space can affect cache creation and synchronization.
- Consider a new Outlook profile. If the profile itself is damaged, creating a separate profile may help. Follow your organization’s support guidance before changing a managed profile.
Do not use the Inbox Repair Tool, also known as ScanPST, as a routine way to repair an OST. It is designed for Outlook Personal Storage Table files, or PST files, and is not the standard method for rebuilding a server-synced OST cache. Avoid unknown third-party tools that promise to repair or convert OST files, especially when they require access to sensitive mailbox data.
Does Clearing an OST Delete Emails from the Server?
For a properly synchronized Exchange or Microsoft 365 mailbox, clearing the local OST should not delete the server copy of synced messages. Outlook downloads that data again when it creates a new cache. The same principle generally applies to other accounts that synchronize mailbox data with an online service, though exact behavior can vary by provider and account configuration.
The important exception is data that has not synced or is stored only locally. For example, unsent Outbox messages, offline edits, or items in a local-only folder may not be present on the server. POP accounts typically use PST files for downloaded mail, and local Outlook data files require different handling. If you are unsure whether a message or item is server-backed, verify it online before removing the cache.
How to Reduce OST File Size Instead
If your goal is to free disk space rather than fix corruption, deleting the OST may only provide temporary relief. Outlook will download the mailbox again, and the new file may grow to a similar size. Instead, review your mailbox storage, remove unnecessary items according to your organization’s retention rules, and empty Deleted Items only when you are sure the contents are no longer needed.
You may also be able to adjust how much mail Outlook keeps offline. In classic Outlook, the available setting is often found under File > Account Settings > Account Settings, by selecting the account and choosing Change. Look for a setting such as Mail to keep offline. The wording and availability vary by account type and Outlook version, and organization policies may control the setting.
Changing the offline sync period can reduce the amount of mail stored locally, but it does not delete the corresponding server messages. Allow Outlook to finish applying the setting and synchronizing before judging the file’s size.
Conclusion
To clear an OST file in Outlook, first confirm that your mailbox is connected and important changes have synced. Close classic Outlook, locate the correct OST file, and rename it so Outlook can create a fresh cache when it restarts. Then keep Outlook online until the mailbox finishes downloading.
Because an OST is a local cache rather than a dependable backup, never remove it if you may have unsynced or local-only information that you need. If the file will not rebuild, the account is inaccessible, or you are managing a work mailbox, consult your IT administrator before changing account settings or creating a new Outlook profile.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.