logo
search
Outlook Error Codes

How to Fix Outlook Cannot Open OST File and Must Connect to Exchange

Amos GikundaAmos Gikunda Sep 29, 2026 868 views

Question details

The user needs to resolve an Outlook error that prevents the application from opening the OST offline data file and requires a connection to Microsoft Exchange.

How to Fix Outlook Cannot Open OST File and Must Connect to Exchange
Product
Microsoft Outlook
Device & OS
Windows
Scenario
Opening Microsoft Outlook to access emails, calendar, and mailbox data.
Observed behavior
Outlook fails to launch or sync, displaying an error message stating that the OST file cannot be opened and that the application must connect to Microsoft Exchange.
Before you start

Ensure you have a stable internet connection so Outlook can properly synchronize with the Exchange server once the issue is resolved. Also, verify that your Exchange server or Microsoft 365 service is currently online and not experiencing an outage.

Solution 1

Close Conflicting Microsoft 365 Applications

Sometimes, another process such as OneNote or a background Microsoft 365 service may lock the OST file, preventing Outlook from accessing it.

Before making any permanent changes to your data files, ensure that no other programs are currently trying to read or sync with your Outlook data.

1
Close Outlook

Ensure Microsoft Outlook is completely closed. You can verify this by checking the system tray or Task Manager.

2
Exit Conflicting Apps

Close Microsoft OneNote, Skype for Business, and any other Microsoft 365 applications that might integrate with Outlook.

3
Restart Outlook

Relaunch Microsoft Outlook to see if the file lock has been released and the error is resolved.

Free Microsoft Office alternative

Switch to WPS Office for a Hassle-Free Productivity Experience

If you are frustrated by recurring errors and complex troubleshooting in Microsoft Office, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly suite for your document, spreadsheet, and presentation needs without the steep subscription fees.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button.
  2. 2. Install WPS Office: Run the downloaded setup file and follow the quick installation prompts.
  3. 3. Enjoy Seamless Editing: Open your existing Office documents in WPS Office instantly, with no formatting loss or complex configurations.
Completely free to use for your daily productivity and document editing tasksSeamlessly opens, edits, and saves Microsoft Word, Excel, and PowerPoint formatsLightweight installation that won't slow down your computer or cause complex cache errorsFamiliar, tabbed user interface allowing you to manage all document types in one window
microsoft office alternative - wps office

Frequently Asked Questions

Why does Outlook say it must connect to Exchange?

This typically happens when your local offline data file (.ost) becomes corrupted, is locked by another application, or falls severely out of sync, requiring Outlook to verify and rebuild the data directly from the Exchange server.

Will deleting my OST file permanently delete my emails?

No, deleting the OST file will not delete your emails as long as they are already synchronized with the Microsoft Exchange server. Outlook will simply recreate the file and redownload your mailbox data when restarted.

Where is the Outlook OST file located on my computer?

By default, the OST file is located in a hidden folder at C:\Users\<username>\AppData\Local\Microsoft\Outlook. You must replace '<username>' with your actual Windows account name and ensure hidden files are visible in File Explorer.

How do I open Outlook in Safe Mode to check for add-in conflicts?

Press the Windows key + R to open the Run dialog, type 'outlook.exe /safe' (without quotes), and press Enter. This starts Outlook without third-party add-ins, helping you determine if an extension is causing the file lock or corruption error.