Skip to main content

How to fix problems with Outlook .pst and .ost data files

On Windows 10, whether you're using Outlook 2019, 2016, or an older version, the app stores a copy of your emails, contacts, and calendars using two different data files depending on the account type for offline access.

If you're using an IMAP or POP account, such as those provided by your Internet Service Provider (ISP), then your account information is stored inside of an Outlook Data File (PST). On the other hand, if you're using an Office 365 (opens in new tab), Exchange, or Outlook.com account, the data is stored in the Offline Outlook Data File (OST).

Usually, these data files are very reliable, but they can eventually stop working or get damaged, and for this reason, all desktop versions of Outlook bundles a repair tool to troubleshoot and fix problems with .pst files, as well as the ability to regenerate the .ost file automatically.

In this Windows 10 guide, we'll walk you through the steps to repair corrupted data files, recover missing items from your inbox, problems opening Outlook 2019, Outlook 2016, and older versions using a .ost or .pst file.

How to repair Offline Outlook Data File (.ost)

Whether you're using an Exchange, Office 365, or Outlook.com account, to fix issues with a .ost file, close the email app, and then use these steps:

  1. Open Control Panel.Quick Tip: If you're using only the default profile named "Outlook," you can type this path: %LOCALAPPDATA%\Microsoft\Outlook to jump directly to the location of the .ost file, and skip to step No. 12. Otherwise, continue with the steps below.
  2. Click on User Accounts.
  3. Click the Mail option.

  1. In the "Mail Setup" experience, click the Show Profiles button.

  1. Select the profile with the account you want to fix. (The default profile is called "Outlook.")
  2. Click the Properties button.

  1. Click the Email Accounts button.

  1. Click the Data Files tab.
  2. Select the broken account.
  3. Click the Open File Location button.

  1. Click the close button for the "Accounts Settings," "Mail Setup," and "Mail" windows.
  2. Right-click the .ost file for the account having issues, and select the Delete option.

Once you complete these steps, open the desktop version of Outlook again to recreate the .ost file for the account you intend to repair.

How to repair Outlook Data File (.pst)

Alternatively, in the case that you're using an email account using IMAP or POP settings, to fix problems with a .pst file, close the Outlook application, and then use these steps:

  1. Use the Windows key + R to open the Run command.
  2. Type the following path and click the OK button:C:\Program Files (x86)\Microsoft Office\root\Office16Quick Note: The above path applies to Office 2016, Office 2019, and Office 365. If you're running Outlook 2013, use this path: C:\Program Files (x86)\Microsoft Office\Office15. In the case that you have an older version of the app, change "Office15" in the path to "Office14" for Outlook 2010, or to "Office13" for Outlook 2007 in the path.
  3. Double-click the SCANPST.EXE file to open the Microsoft Outlook Inbox Repair experience.

  1. Click the Browse button.
  2. Locate the .pst file you want to repair.
  3. Click the Open button.
  4. Click the Start button.

  1. Check the Make a backup of scanned file before repairing option (just in case).
  2. Click the Repair button.

After completing the steps, the Microsoft Outlook Inbox Repair Tool will scan and repair the .pst file for the email account with problems. Once the repair completes, you can launch Outlook, and the issues with the account should now be resolved.

Extended recovery steps

While the tool can detect and repair many issues with a .pst file, you may still need to use additional steps to recover all the items of an email account.

If this is the case, in the left pane, you'll notice a Recovered Personal Folders or Lost and Found folders, which include the repaired items that couldn't be restored.

Recovering missing items from folder

To recover items that couldn't be restored, use these steps:

  1. Open the Recovered Personal Folders or Lost and Found folder.
  2. Select the items you want to recover.
  3. Drag and drop those items into the correct folders.
  4. Right-click the now empty folder and select the Delete option.

Recovering missing items from backup

In the case that there are still items missing, you may be able to recover them from the original Outlook Data File using the backup file created by the repair tool.

  1. Open the location of the .bak file. (This file is located in the same folder as the .pst file.)
  2. Right-click the .bak file and select the Copy option.
  3. Right-click in the folder and select the Paste option to create a copy of the file.
  4. Select the .bak file.
  5. Press F2 the key and rename the file to .bak.pst and press Enter.

  1. Open Outlook.
  2. Click on File.
  3. Click on Open & Export.
  4. Click the Import/Export button.

  1. Select the Import from another program or file option.
  2. Click the Next button.

  1. Select the Outlook Data File (.pst) option.

  1. Click the Next button.
  2. Specify the location of the .pst file.
  3. Select the Import option that you want to use.
  4. Click the Next button.

  1. Select the items you want to import.
  2. Click the Finish button.

Once you've completed the steps, Outlook should now include all the account items.

We're focusing this guide on Windows 10 users, but if you're using an older version of Outlook (2016, 2013, 2010, and 2007), it's still possible to use these instructions on Windows 8.1 and Windows 7.

More Windows 10 resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:

Mauro Huculak is technical writer for WindowsCentral.com. His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.

8 Comments
  • cross post  
  • Huh? What do you mean?
  • How can you view .pst files on Outlook O365 (online Outlook)? I can only view the folders and sub-folders that I create under my "Inbox"
  • Try OST to PST coverter to view recoverd .pst file from outlook. search vmail ost to pst coverter in google.
  • The Outlook "app"? This is not the mobile version...
  • It not the UWP, it the office version.
  • I have faced same issues few days ago. I have used Scanpst inbuilt utility freeware tool provided by Microsoft. It fixes corrupt PST file but it takes couple of hours (3-4 hours). After using this tool I searched same PST corrupt file issue over search engines and found many PST repair tools which are useful to repair PST file within couples of minutes. I have collected few Outlook repair references, which are useful for you like Stellar Repair for Outlook, Bit data conversion, Repair file tools. These three tools I have collected over web and found many reviews over Trust Pilot. I would suggest you to use third party tool instead of scanpst because it takes couples of hours to fix errors in PST file.
  • You can also try Exchange OST Recovery tool from Bitdataconversion which is quite fast and reliable as compared to manual methods.