Outlook Inbox Repair Tool

When your Outlook PST file becomes corrupted, the Outlook Inbox Repair Tool is the built-in Microsoft utility that can often recover your data. This tool, officially called scanpst.exe, scans and repairs damaged Outlook data files so you can regain access to messages, contacts, and folders. The following guide shows the precise locations and commands needed for current Outlook versions.

When the Outlook Inbox Repair Tool Becomes Necessary

Outlook displays errors such as "Cannot open the Outlook window" or "The file is not a personal folders file" when the PST file structure is damaged. These issues commonly appear after sudden shutdowns, large imports, or storage drive errors. Before running any repair, create a full backup copy of the PST file on an external drive or separate folder. The repair process works on both .pst and .ost files but cannot recover permanently deleted items.

Identify your Outlook version first by opening Outlook, clicking File, then Office Account. This determines the exact folder path where scanpst.exe resides on your computer.

Hero image showing a computer screen with Outlook error message and the scanpst.exe icon highlighted

Step-by-Step Guide to Using the Outlook Inbox Repair Tool

  1. Locate scanpst.exe on your system

    Open File Explorer and navigate to the correct path based on your Outlook version. For Outlook 2016, 2019, or Microsoft 365, go to C:\Program Files\Microsoft Office\root\Office16. For Outlook 2013 the path is C:\Program Files\Microsoft Office\Office15. Double-click scanpst.exe to launch the Inbox Repair Tool window.

    Screenshot of File Explorer opened to the Office16 folder with scanpst.exe selected
  2. Select the corrupted PST file

    In the Inbox Repair Tool dialog, click the Browse button. Navigate to the location of your PST file, typically C:\Users\YourUsername\Documents\Outlook Files. Select the file showing errors and click Open. The full file path now appears in the Enter the name of the file you want to scan field.

  3. Start the scan and review results

    Click Start. The tool examines the file structure and reports any errors found in a summary window. Note the number of errors listed before proceeding. If no errors appear, the file may not need repair or the corruption may be elsewhere.

  4. Repair the file

    Click Repair. The tool creates a new file named filename-repaired.pst in the same folder and logs changes in a separate .log file. Wait for the process to finish; large files may take several minutes. Do not interrupt the repair.

    The repair complete dialog of scanpst.exe showing the new repaired PST file created
  5. Load the repaired file in Outlook

    Open Outlook, go to File > Open & Export > Open Outlook Data File, and select the repaired PST file. Verify that your folders and emails are visible. If the file opens successfully, set it as the default data file under Account Settings.

Common Problems and How to Resolve Them

If scanpst.exe reports that it cannot repair the file, run the tool a second time on the repaired version. Some errors require the file to be repaired multiple times. When the tool states the file is too large, split the PST using Outlook's Archive feature first. Users on Windows 11 sometimes need to run the tool as administrator by right-clicking scanpst.exe and choosing Run as administrator. Always keep the original PST file untouched until you confirm the repaired version works.

Frequently Asked Questions

Does the Outlook Inbox Repair Tool work on Microsoft 365?

Yes. The same scanpst.exe file included with Microsoft 365 desktop apps repairs both classic PST files and cached Exchange OST files.

Can I recover permanently deleted emails with this tool?

No. The Outlook Inbox Repair Tool only fixes structural damage; it does not undelete items removed from the Deleted Items folder.

Is a third-party PST repair program better?

Microsoft recommends trying scanpst.exe first because it is included with Outlook and does not require payment or additional installation.

Conclusion

Running the Outlook Inbox Repair Tool restores access to damaged PST files in most cases when the steps above are followed exactly.

Leave a Comment

Clearer Text in ONLYOFFICE Desktop: Tune Font Hinting on Linux

Clearer Text in ONLYOFFICE Desktop: Tune Font Hinting on Linux

Compare ONLYOFFICE font hinting modes, check zoom and Linux font availability, and verify whether blur is limited to the editor or affects the whole desktop.

Turn a PDF into an Editable DOCX in ONLYOFFICE Desktop

Turn a PDF into an Editable DOCX in ONLYOFFICE Desktop

Convert a PDF locally in ONLYOFFICE Desktop Editors, then review the DOCX for layout changes, scanned pages, and text that needs correction.

Connect ONLYOFFICE Desktop Editors to Your ownCloud Files

Connect ONLYOFFICE Desktop Editors to Your ownCloud Files

Add your ownCloud account to ONLYOFFICE Desktop Editors, understand what the connection enables, and choose between direct access, sync, and browser editing.

Fix ONLYOFFICE Mobile Timeouts by Checking the Server URL

Fix ONLYOFFICE Mobile Timeouts by Checking the Server URL

Use the right portal or WebDAV address, test HTTPS reachability from your phone, and distinguish private-network, TLS, and login problems.

Enable ONLYOFFICE Desktop Plugin Development and Debugging

Enable ONLYOFFICE Desktop Plugin Development and Debugging

Build and test a custom ONLYOFFICE Desktop Editors plugin, install its .plugin archive, and activate developer tools for debugging.

Run Python in Calc Through LibreOffice’s Macro System

Run Python in Calc Through LibreOffice’s Macro System

Make a Python function available in Calc, run it against the open spreadsheet, and troubleshoot missing macros or imports without mixing up LibreOffice and system Python.

Protect Selected Writer Text with a Section Password

Protect Selected Writer Text with a Section Password

Lock a specific passage against routine edits while keeping the rest of a Writer document usable, and learn when file encryption is the better choice.

Make Spreadsheet Text Readable in LibreOffice Calc Dark Mode

Make Spreadsheet Text Readable in LibreOffice Calc Dark Mode

Fix hard-to-see spreadsheet text by checking the theme, cell font color, fills, and conditional formatting in Calc.

LibreOffice Calc Shows Formulas as Text? Restore the Results

LibreOffice Calc Shows Formulas as Text? Restore the Results

Learn why Calc shows formula text instead of calculated values and fix display mode, Text-formatted cells, apostrophes, or stale results.

Merge Writer Letters with a Logo and Spreadsheet Fields

Merge Writer Letters with a Logo and Spreadsheet Fields

Build a reusable Writer mail merge with Calc recipient data and a shared embedded image, then preview and save the personalized letters.