TechBuzzPro

How to Rebuild OST File in Outlook: Step-by-Step

· 7 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To rebuild an OST file in Outlook, you do not repair the OST directly. Outlook recreates it automatically: close Outlook, rename or delete the existing OST file, then restart Outlook and let it sync a fresh copy from the server. This works because the OST is only a local cache of your mailbox. The steps below cover where the file lives, how to force a clean rebuild, and what to do if Outlook still will not start or sync. Before you begin, make sure Outlook is fully closed and you know your email account password, because Outlook may ask you to sign in again.

What You'll Need

  • Outlook desktop app (the steps are for Windows; Mac Outlook uses a different database format and does not use OST files in the same way).
  • Your email account password and, if enabled, your multi-factor authentication method.
  • File Explorer and permission to view hidden folders, since the OST file sits in a hidden AppData path.
  • Enough free disk space for a new OST file, which can grow to several gigabytes for large mailboxes.
  • A stable internet connection, because the rebuilt file is downloaded from the mail server.

Step-by-Step

  1. Close Outlook completely. Click the X in the top-right corner, then check the notification area (system tray) for a lingering Outlook icon. If you see one, right-click it and choose Exit. You can also open Task Manager with Ctrl+Shift+Esc, find Outlook on the Processes tab, and end the task. The OST file cannot be replaced while Outlook is running.
  2. Find the OST file location. Open File Explorer and paste this path into the address bar: %localappdata%\Microsoft\Outlook. Press Enter. Files ending in .ost are your cached mailboxes. The file name usually matches your email address. If you use classic Outlook with multiple accounts, you may see several OST files; check the modified date to identify the right one.
  3. Rename the OST file instead of deleting it. Right-click the OST file, choose Rename, and add .old to the end, for example you@example.com.old. Renaming is safer than deleting because you can restore the file if something goes wrong. If you are confident and short on disk space, you can delete it, but the old cache will be gone permanently.
  4. Restart Outlook. Open Outlook from the Start menu. It will detect that the OST file is missing and create a new one automatically. Depending on your account type, Outlook may prompt for your password or ask you to sign in through your organization's sign-in page. Complete that sign-in.
  5. Wait for synchronization to finish. The new OST file starts empty and downloads your mailbox from the server. For a large mailbox this can take minutes to hours. You can watch progress in the status bar at the bottom of the Outlook window. Keep Outlook open and connected to the internet until it completes. You can keep using Outlook while it syncs, but older items may not appear immediately.
  6. Verify your data. Check your inbox, sent items, calendar, and contacts. If everything appears, the rebuild succeeded. You can then delete the renamed .old file to reclaim disk space, but only after you are sure the new OST is complete and working.

Common Mistakes

  • Deleting the OST while Outlook is open. Windows may lock the file, or Outlook may recreate it incorrectly. Always close Outlook first, including any background process.
  • Assuming the OST is your only copy of email. An OST is a cache, not a backup. If your account uses POP3 or your mailbox is not stored on a server, deleting the OST can lose data. Check with your email provider or IT administrator before removing the file.
  • Renaming the wrong file. Other files in the same folder, such as .pst or .nst, are not the OST. Only rename files ending in .ost.
  • Interrupting the first sync. Closing Outlook or losing internet during the initial download can leave the new OST partially populated. Let it finish, or restart Outlook and allow it to resume.
  • Expecting a rebuild to fix server-side problems. If your mailbox is over quota or the server is down, a new OST will not fix it. The rebuild only replaces the local copy.

Tips

  • Before renaming, note the OST file size. A new file that stays at zero bytes after several minutes usually means Outlook cannot connect to the server.
  • If you have multiple email accounts, rebuild one at a time so you can identify which file belongs to which account.
  • Keep the renamed .old file until you have confirmed that all folders, including shared or archived mailboxes, have synced.
  • Use a wired or stable Wi-Fi connection for the first sync, especially for mailboxes larger than a few gigabytes.
  • If your organization manages Outlook, check whether cached Exchange mode is enabled. With it off, Outlook may not create an OST file at all.

Troubleshooting

If Outlook does not create a new OST file after you rename the old one, first confirm that Outlook is fully closed and restart your computer. Then open Outlook again. If it still does not create the file, check that your account is set up correctly under File > Account Settings > Account Settings. If the account is missing or shows an error, you may need to re-add it, which requires your password and server settings.

If the new OST file is created but stays empty, Outlook is probably not connecting to the mail server. Check your internet connection, then sign out of Outlook and sign back in. If you are on a corporate network, confirm with IT that the mail server is reachable and that your account is not locked. A mailbox that has exceeded its storage quota can also block synchronization; free up space or contact your administrator.

If Outlook crashes or reports that the OST file cannot be opened, close Outlook, rename the new OST file again, and restart. If the problem repeats, run Outlook in safe mode by holding Ctrl while opening it, or use the built-in repair option under File > Account Settings > Account Settings > Repair. As a last resort, remove and re-add the email account, but note that this can delete local settings for that account.

If you renamed the OST file and now want to go back, close Outlook, delete the newly created OST file, and rename the .old file back to its original name. This restores the previous cache, though any changes made on the server since then will sync when Outlook reconnects.

Frequently Asked Questions

Does rebuilding an OST file delete my emails?

No, if your email is stored on the mail server. The OST is only a local cache, so Outlook downloads a fresh copy. However, if your account uses POP3 or stores mail only locally, deleting the OST can remove your only copy. Check with your provider first.

Where is the OST file located in Outlook?

For classic Outlook on Windows, OST files are usually in %localappdata%\Microsoft\Outlook. The exact folder can vary by Outlook version and account type, so paste that path into File Explorer to check.

Can I rebuild an OST file without deleting it?

Outlook does not have a built-in rebuild button for OST files. The standard method is to close Outlook, rename or delete the OST file, and let Outlook create a new one. Some organizations use profile resets or repair tools, but renaming is the simplest reliable approach.

How long does it take to rebuild an OST file?

It depends on mailbox size and connection speed. A small mailbox may sync in minutes; a large one can take hours. Keep Outlook open and connected until the status bar shows synchronization is complete.

Will I lose calendar items or contacts when I rebuild the OST?

If those items are stored on the mail server, they will download again with the rest of your mailbox. Items stored only in local folders or a local archive may not return, so back up anything important before renaming the OST.

Can I rebuild an OST file on Mac Outlook?

Mac Outlook does not use OST files; it uses a different local database. The equivalent fix is to rebuild the Outlook profile or database using the Microsoft Outlook menu, but the steps differ from Windows. The instructions here are for Windows Outlook.