Outlook cannot find your data file when the application loses the path to your PST or OST storage, or if the file is missing, renamed, or the registry key pointing to it is corrupt. The quickest fix is to manually locate the file using the Account Settings menu and add it back as a data file, or create a new profile if corruption is suspected. Do not delete the file yourself, as this will likely result in permanent data loss.

What You'll Need

  • A computer running Windows.
  • Administrative rights on the machine to install new profiles or change system settings.
  • The installation media or setup files for Microsoft Outlook (if you need to reinstall the application).

Step-by-Step

  1. Open Outlook and note the error. When the application launches and displays the error message stating it cannot find an Outlook Data File, note the exact name of the file requested if provided. If it does not provide a name, proceed with these general steps. If Outlook crashes immediately upon opening, you may need to start it in Safe Mode or create a new profile.
  2. Open the Account Settings dialog. In Outlook, go to the File tab in the ribbon menu at the top left. Click on Account Settings located near the bottom left, and select Account Settings... from the dropdown menu. This window manages your email accounts and data file associations.
  3. Access the Data Files tab. In the Account Settings window, ensure you are on the Data Files tab. This tab lists all the data files currently linked to your Outlook profile, including your personal folders (PST) and offline data files (OST).
  4. Attempt to locate the missing file. If the file is simply missing from the list, click the Add... button at the top right. This will open the Open Outlook Data File dialog. Navigate to the location where your files are typically stored (discussed in the next section) and select the file. If the file exists here, clicking OK should add it back to your profile.
  5. Check the default location for PSTs. If you cannot find the file in the standard location, it may be stored elsewhere or named differently. The most common default location is: *Note: The "AppData" folder is hidden by default on Windows. To view it, open File Explorer, go to the View tab, and check the box for Hidden items . You may need to be logged in as the same user who created the file to access this directory.*
  6. Check for OST files. If you are looking for an offline data file (OST) which syncs with an Exchange or Microsoft 365 account, it is usually stored in: OST files are often named differently than PSTs and end in .ost. They are distinct from PSTs; you generally cannot open an OST file directly in Outlook unless it is a specific data file mode, and typically, you must recreate the profile to access the data from an OST.
  7. Use the Windows Search function. If you know the file name but not the location, open Windows Explorer and use the search bar at the top right. Search for the file name (e.g., "Outlook.pst"). Windows will scan your entire drive for the file. If found, note the full path.
  8. Re-link the file if found. Once you have located the file using the search function, go back to the Data Files tab in the Account Settings window. Click the Add... button, browse to the location you found via search, select the file, and click OK.
  9. Verify the file is selected. In the Data Files list, ensure the newly added file is selected. Look at the "Type" column to confirm it is a Personal Folders File (.pst). If it is a Data File (.ost), your connection to the email server may be the issue rather than a missing file.
  10. Set the file as the default. To ensure new emails are saved to this file, select it in the list and click the Set as Default button at the top right of the window. Click OK to close the Account Settings window.
  11. Restart Outlook. Close Outlook completely and reopen it. The application should now load without the error regarding the missing data file.
  12. Check if the file is corrupted. If Outlook opens but behaves erratically, or if you receive an error message saying the file is corrupt when you try to open it, the file may be damaged. In this case, you will need to create a new Outlook profile to access your data, as corrupted files cannot be repaired by standard outlook.exe operations.

Common Mistakes

Users often make the mistake of assuming the PST file is still in the exact location it was when they last used it. Windows updates, manual file moves, or changes to user profiles can shift these files. Another common error is attempting to delete the file to force Outlook to recreate it. This is dangerous because the file may contain unread emails or unsent drafts, and deleting it prematurely can render them unrecoverable.

Tips

Always ensure you have a current backup of your Outlook data files (.pst or .ost) before performing major profile changes or reinstallation. You can back up these files by closing Outlook, copying the files from the Outlook folder in AppData to a safe external drive, and then pasting them back if needed. Additionally, be aware that file extensions like .pst may be hidden by Windows Explorer settings; you may need to enable "Show file name extensions" in the View tab to identify the correct file type.

Troubleshooting

If Outlook still cannot find the data file even after you have manually added it back to the profile, the issue may be deeper than a simple path error. First, try restarting the computer. This clears the application's memory and reloads the file system. If that fails, you may need to create a new Outlook profile. To do this, go to the Windows Control Panel, search for "Mail", and open the Mail Setup applet. Click on the Show Profiles button, select the existing profile, and click Remove. Then, click Add to create a new one. During the setup process, Outlook will attempt to detect and connect to your email accounts, creating new data files in the process. This process will not delete your old files, but you will need to manually drag and drop your old emails from the old profile's data file into the new one.

Frequently Asked Questions

Where are Outlook data files stored?

Outlook data files are typically stored in the user profile directory: C:\Users\[Username]\AppData\Local\Microsoft\Outlook. This folder is hidden by default on Windows.

What is the difference between a PST and an OST file?

A PST (Personal Storage Table) is a file format used to store local copies of messages, contacts, and other items in Microsoft Outlook. An OST (Offline Storage Table) is an offline folder file used to store a copy of messages, events, and other items on a computer when the user is disconnected from the mail server.

Why does Outlook say the file is corrupt?

Outlook may report a file as corrupt if it has been damaged due to hard drive errors, power failure during a save, or software bugs. If the file is corrupt, it cannot be opened, and you usually need to restore it from a backup or create a new profile to access your data.

Can I move my Outlook data files to another drive?

Yes, you can move your data files. However, you must update the file location in Outlook's Account Settings after the move. Additionally, you must ensure Outlook has permission to access the new location.

How do I find my Outlook profile name?

The profile name is the name you gave it when you first created it in the Mail Setup dialog in the Windows Control Panel. It appears in the top left corner of the Outlook window, usually next to the user icon or email address.