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, 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.

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

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

  7. Click the Email Accounts button.

  8. Click the Data Files tab.
  9. Select the broken account.
  10. Click the Open File Location button.

  11. Click the close button for the "Accounts Settings," "Mail Setup," and "Mail" windows.
  12. 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\Office16

    Quick 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.

  4. Click the Browse button.
  5. Locate the .pst file you want to repair.
  6. Click the Open button.
  7. Click the Start button.

  8. Check the Make a backup of scanned file before repairing option (just in case).
  9. 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.

  6. Open Outlook.
  7. Click on File.
  8. Click on Open & Export.
  9. Click the Import/Export button.

  10. Select the Import from another program or file option.
  11. Click the Next button.

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

  13. Click the Next button.
  14. Specify the location of the .pst file.
  15. Select the Import option that you want to use.
  16. Click the Next button.

  17. Select the items you want to import.
  18. 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:

Latest And Best Prime Day Deals

Unlock voice control with Echo device deals and $5 Amazon smart plugs
Amazon Echo devices bundled with $5 smart plugs

Amazon's Smart Plug lets you start voice controlling anything plugged into it by asking an Alexa-compatible device, and today's deal lets you snag one for only $5 with purchase of select Echo devices.

Be more productive with a year of Office 365 Home and a free $50 Amazon gift card
Office 365 Home 12-month subscription and $50 Amazon gift card
$99.99 $150.00 Save $50

The subscription works with up to six people, but that card can be all yours.

Amazon's Fire TV Cube is down to just $70 thanks to this Prime Day deal
Amazon Fire TV Cube
$69.99 $119.99 Save $50

Grab TCL's 32-inch 720p Roku TV for less than $100 in this Prime Day Lightning deal
TCL 32S325 32-inch 720p Roku TV
$99.99 $130.00 Save $30

Act fast while you can. These Lightning deals tend to sell out quick.

The Ring Alarm security system is reaching new low prices for Prime Day
Ring Alarm home security systems

Various configurations of the Ring Alarm are discounted to their best prices yet exclusively for Prime members at Amazon through Tuesday night to help keep your home secure.

The Sonos Beam Prime Day deal includes a $40 discount and 2 $50 Amazon gift cards
The Sonos Beam Prime Day deal includes a $40 discount and $100 in Amazon gift cards
$359.00 $499.00 Save $140

That's just so much savings in one deal. You'll have to wait for the physical gift cards, but that's basically $100 to spend however you want.

Prime Day dropped this PlayStation 4 console bundle to just $250
PlayStation 4 Slim 1TB console with Marvel's Spider-Man and Horizon Zero Dawn
$249.99 $359.98 Save $110

This deal on the PlayStation 4 Slim console saves you $50 off its regular price while also including Marvel's Spider-Man and Horizon Zero Dawn Complete Edition for free. You'll just need an Amazon Prime membership to snag it.

The newest device in the Echo family, the Show 5, is now down to just $50
Echo Show 5
$49.99 $89.99 Save $40

It's only been on the market since May, but it hasn't escaped the Prime Day price cuts.

More Prime Day Deals