sodcalculator

10 Tech How-To

Fix Cannot Expand Folder Error in Outlook

Guide 10-55590 · Updated · Step by step

The “Cannot expand the folder” error in Outlook typically appears when the folder is corrupted, the mailbox is offline, or the local cache is out of sync. The most reliable fix is to clear the Outlook cache or rebuild the offline folder file (.ost), which forces Outlook to re-sync the folder from the server.

What Causes the Error

This error usually surfaces in two contexts: when you try to expand a folder in the navigation pane, or when you attempt to open a shared mailbox or public folder. The root causes are generally one of the following:

  • Corrupted cached copy – The local .ost file that stores a copy of your mailbox can become damaged after a crash, a forced shutdown, or a sync interruption.
  • Server-side issue – The folder on the Exchange or Microsoft 365 server may be temporarily unavailable, or the folder itself is corrupted on the server.
  • Outdated profile – An old Outlook profile that points to a removed or renamed mailbox can trigger the error.
  • Add-in interference – Third-party add-ins sometimes lock or misread folder properties, causing Outlook to fail when expanding.
  • Offline mode – If Outlook is set to work offline and the cached copy is incomplete, expanding a folder can fail.

Before You Start: Quick Checks

Try these low-risk steps first, as they often resolve the issue without touching your data:

  1. Close Outlook completely, then reopen it. This resets the connection to the mail server.
  2. Check the connection status: click the bottom-right corner of the Outlook window. If it says “Disconnected” or “Trying to connect,” switch to online mode by clicking Send/Receive > Work Offline to toggle it off.
  3. Restart your computer. This clears temporary file locks that may be holding the .ost file.
  4. If you are using a VPN or a corporate network, disconnect and reconnect to ensure the server is reachable.
  5. Open Outlook in Safe Mode (hold Ctrl while clicking the Outlook icon). If the error disappears, an add-in is likely the culprit. Disable add-ins via File > Options > Add-ins > Manage COM Add-ins > Go.

Fix 1: Rebuild the Offline Folder File (.ost)

This is the most common and effective fix. The .ost file is a local cache of your mailbox. Rebuilding it forces Outlook to download a fresh copy from the server. Your emails, contacts, and calendar items are not deleted – they are re-synced from the server.

  1. Close Outlook.
  2. Open the Control Panel and go to Mail (or search for “Mail” in the Start menu).
  3. Click Show Profiles.
  4. Select your profile and click Properties.
  5. Under Email Accounts, click Data Files.
  6. Note the path of the .ost file for your account (e.g., C:\Users\YourName\AppData\Local\Microsoft\Outlook\yourname@domain.com.ost).
  7. Close the dialog, then in the same window, click Email Accounts > Next.
  8. Select your account and click Change, then click More Settings.
  9. Go to the Advanced tab and click Outlook Data File Settings.
  10. Click Disable to turn off cached mode, then click OK and restart Outlook. This forces Outlook to use the server directly.
  11. Close Outlook again, then re-enable cached mode by repeating the steps and clicking Enable.
  12. Outlook will create a new .ost file and re-sync the mailbox. This can take a while for large mailboxes.

If you prefer a more direct approach, you can simply delete the .ost file after closing Outlook (make sure you have a backup of any offline data, though in most cases the server has everything). Outlook will recreate it on the next launch.

Fix 2: Repair the Folder with Scanpst.exe

Scanpst.exe is Outlook’s built-in repair tool for personal folder files (.pst). It can also repair .ost files in some versions, though Microsoft officially recommends it for .pst only. If you are using a POP or IMAP account with a .pst file, this is the right tool.

  1. Close Outlook.
  2. Locate Scanpst.exe. It is usually in the Outlook installation folder, e.g., C:\Program Files\Microsoft Office\root\Office16\Scanpst.exe (the number may vary).
  3. Run it and browse to your .pst or .ost file.
  4. Click Start to scan. If errors are found, click Repair.
  5. Restart Outlook and try expanding the folder.

Note: For .ost files, the repair may not work because the .ost is a cache, not the source of truth. Rebuilding is usually safer.

Fix 3: Remove and Re-add the Mail Profile

If the error persists, the profile itself may be corrupted. Creating a new profile is a clean slate, but you will need to reconfigure your account settings.

  1. Open Control Panel > Mail > Show Profiles.
  2. Click Add to create a new profile, give it a name, and enter your email address and password.
  3. Once the profile is set up, open Outlook. It will prompt you to choose a profile; select the new one.
  4. If the error is gone, you can delete the old profile from the same Control Panel window.

Fix 4: Check Server-Side Folder Corruption

If the error only appears for one specific folder, the folder itself may be corrupted on the server. This is less common but possible, especially with public folders or shared mailboxes.

  • Try accessing the folder via Outlook on the Web (OWA). If it works there, the issue is local.
  • If the folder is a public folder, ask your administrator to run the public folder repair tools in Exchange Admin Center.
  • If it is a shared mailbox, ask the owner to remove and re-add you as a member, or check if the shared mailbox has any hidden system folders that are corrupted.

Prevention and Best Practices

To avoid this error in the future:

  • Keep Outlook updated to the latest version.
  • Do not force-close Outlook; use File > Exit.
  • If you use a laptop, ensure you have a stable network connection before opening Outlook.
  • Periodically run the built-in mailbox repair tool from the server side (if you are an admin).
  • For large mailboxes, consider archiving old items to reduce the size of the .ost file.

Frequently Asked Questions

Will rebuilding the .ost file delete my emails?

No. The .ost is a cache; your emails are stored on the mail server. After rebuilding, Outlook downloads a fresh copy. You may lose any local-only changes (like draft emails that were never sent) but your inbox, sent items, and calendar will be restored.

Why does the error say “Cannot expand the folder” only for one folder?

That usually means the folder itself is corrupted, either locally or on the server. Try accessing it via webmail. If it works there, delete the local .ost and let Outlook re-download. If it fails on webmail too, contact your IT admin.

Does this error happen in Outlook for Mac?

Yes, but the fix is different. On Mac, you can delete the Outlook database file (in ~/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles) and let Outlook rebuild it. Always back up your data first.

Can I use the same .ost file after moving to a new computer?

It is not recommended. The .ost is tied to your profile and server settings. It is safer to let Outlook create a new one on the new machine.

How long does it take to rebuild a large .ost?

It depends on the mailbox size and your internet speed. A 10 GB mailbox can take several hours. You can continue using Outlook but it will be slow until the sync completes.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →