In this guide
  1. What is a PST file used for?
  2. Where is my PST file?
  3. How to open a PST file
    1. Classic Outlook for Windows
    2. New Outlook for Windows
    3. Outlook for Mac and outlook.com
  4. How to import a PST file into Outlook
  5. How to export (back up) Outlook to a PST file
  6. How to repair a PST file with ScanPST
  7. If it still won’t open
  8. FAQ
    1. Can I open a PST file without Outlook?
    2. Is it safe to delete a PST file?
    3. What’s the difference between a PST and an OST file?
    4. How do I move my PST file to a new computer?
    5. Why does Outlook say my PST is not an Outlook data file?

A PST file (Personal Storage Table, file extension .pst) is an Outlook Data File that stores copies of your email, contacts, calendar items and tasks on your computer. Outlook uses PST files for POP accounts, archives and backups, and you can open one with File → Open & Export → Open Outlook Data File in classic Outlook, import it into a mailbox, or repair it with Microsoft’s free Inbox Repair Tool (ScanPST.exe).

You don’t need a paid “PST viewer” or “PST repair” program for most jobs. Everything below uses tools that come with Outlook.

What is a PST file used for?

Outlook keeps your mail in one of two kinds of data file:

  • PST (.pst): a self-contained file you own. Outlook creates one for POP email accounts, for AutoArchive (often called archive.pst), and whenever you export a mailbox as a backup. You can copy it to another PC or an external drive and open it again later.
  • OST (.ost): an offline cache of a mailbox that lives on a server: Microsoft 365, Exchange, Outlook.com and most IMAP accounts. The server holds the real copy; the OST is just a local mirror so Outlook works offline.

Comparison of PST and OST Outlook data files: where the data lives, what each is for, and whether you can move it

The practical difference: a PST is your data; an OST can be rebuilt. Delete a PST and that mail is gone unless you have another copy. Delete an OST and Outlook downloads the mailbox again from the server next time it opens.

Modern PST files use the Unicode format, which can grow to tens of gigabytes (Outlook’s default limit is 50 GB). Very old ANSI-format PSTs, from Outlook 2002 and earlier, stop at 2 GB and are more prone to damage.

Where is my PST file?

Outlook shows you exactly where each data file is:

  1. In classic Outlook, go to File → Account Settings → Account Settings.
  2. Open the Data Files tab. Each file is listed with its location.
  3. Select one and click Open File Location to jump to it in File Explorer.

Outlook Account Settings Data Files tab listing a PST and an OST with Open File Location highlighted

The usual locations are:

  • Documents\Outlook Files for PST files made by Outlook 2016 and later (including archive.pst).
  • C:\Users\YourName\AppData\Local\Microsoft\Outlook for OST files, and for PST files created by older versions. AppData is hidden; paste %localappdata%\Microsoft\Outlook into the File Explorer address bar to get there.

How to open a PST file

Opening a PST adds it to Outlook’s folder pane as a separate set of folders. Nothing is copied into your mailbox, so it’s the safest way to look inside an old archive.

Classic Outlook for Windows

  1. Choose File → Open & Export → Open Outlook Data File.
  2. Browse to the .pst file and click OK.
  3. The file appears at the bottom of the folder pane. Expand it to see its folders.

Outlook’s search only covers your current mailbox by default. To search inside the PST, change the search scope to All Mailboxes (or All Outlook Items).

To close it again, right-click the file’s top-level name in the folder pane and choose Close “name”. The file stays on your disk.

New Outlook for Windows

According to Microsoft’s guide to opening Outlook Data Files, go to Settings → Files → Outlook Data Files, select Add file, choose the .pst and select Open. There are conditions: classic Outlook must also be installed (same 32-bit or 64-bit version), you need a Microsoft 365 subscription, and it doesn’t work on the Arm version of new Outlook. PST support in new Outlook started as read-only mail and has been expanding, so if you need calendar or contacts from a PST, use classic Outlook.

Outlook for Mac and outlook.com

Outlook on the web (outlook.com or Microsoft 365 in a browser) can’t open PST files. On a Mac, Microsoft documents importing a PST in legacy Outlook for Mac with File → Import → Outlook for Windows archive file (.pst); it can’t read the old ANSI format. If the Mac route doesn’t work for you, open the PST in classic Outlook on a Windows PC and import it into the mailbox there, so it syncs to the Mac.

How to import a PST file into Outlook

Importing copies the PST’s contents into a mailbox. Do this when you want old mail back in your Microsoft 365 or Outlook.com account so it syncs to your phone and the web.

  1. In classic Outlook, go to File → Open & Export → Import/Export.
  2. Choose Import from another program or file and click Next.
  3. Choose Outlook Data File (.pst) and click Next.
  4. Browse to the PST. Pick an option for duplicates (Do not import duplicates is the safe choice) and click Next.
  5. Select the top folder (or one folder), tick Include subfolders, choose Import items into the same folder in and pick your mailbox.
  6. Click Finish and leave Outlook open until it’s done. Large files can take hours to upload to the server.

Outlook Import/Export wizard with Outlook Data File (.pst) selected as the file type to import

If the PST has a password, Outlook asks for it during import.

How to export (back up) Outlook to a PST file

  1. Go to File → Open & Export → Import/Export.
  2. Choose Export to a file → Outlook Data File (.pst).
  3. Select the mailbox or folder, tick Include subfolders, and click Next.
  4. Choose where to save the file (an external drive is a good idea) and click Finish.

Exporting is the standard way to move mail from a POP account to a new PC, or to keep a copy before you leave a job (only for mail you’re allowed to keep: many employers forbid exporting work mailboxes). If your organisation has disabled export, the options are greyed out.

How to repair a PST file with ScanPST

If Outlook says a data file “cannot be opened”, “is not an Outlook data file”, or “has errors”, run the Inbox Repair Tool. First, make a copy of the PST somewhere safe; the repair changes the file and some damaged items can’t be recovered.

  1. Close Outlook completely.
  2. Open File Explorer and go to the folder that holds SCANPST.EXE. For Outlook 2016, 2019, 2021, 2024 and Microsoft 365 it’s usually:
    • C:\Program Files\Microsoft Office\root\Office16 (64-bit Office), or
    • C:\Program Files (x86)\Microsoft Office\root\Office16 (32-bit Office). If it isn’t there, search the Microsoft Office folder for scanpst.exe.
  3. Run SCANPST.EXE, click Browse and pick the PST.
  4. Click Start. If errors are found, leave Make backup of scanned file before repairing ticked and click Repair.
  5. Run it again until it reports no errors, then open Outlook.

ScanPST Inbox Repair Tool showing errors found and the Repair button with backup option ticked

Recovered items that couldn’t be put back in their folders appear in a Recovered Personal Folders or Lost and Found folder. Drag them where they belong.

ScanPST only works on local files. For an OST with problems, it’s usually easier to close Outlook, rename or delete the .ost file and let Outlook rebuild it from the server. Don’t do that with a PST.

Avoid “free PST repair” downloads from search ads. Many are copycat installers or paid tools that do little more than ScanPST. Get Outlook tools only from Microsoft.

If it still won’t open

  • “The file is in use”: Outlook or another program still has it open. Close Outlook, wait a minute (check Task Manager for OUTLOOK.EXE) and try again.
  • “Access denied” or read-only: copy the PST to your Documents folder, right-click it → Properties and untick Read-only. Files copied from CDs or network shares are often read-only.
  • PST on a network drive or cloud-synced folder: Microsoft doesn’t support opening PSTs over a network, and OneDrive syncing can corrupt them. Copy it to a local folder first.
  • Very large PST: if Outlook slows to a crawl, split it by moving older years into a second archive PST. A full or damaged data file can also stop new mail arriving: see Outlook not receiving emails and our general guide to not receiving emails.

FAQ

Can I open a PST file without Outlook?

Not with Microsoft tools. Microsoft’s supported way is classic Outlook on Windows. Third-party viewers exist, but be careful what you download and never upload a PST full of private mail to an online “converter”.

Is it safe to delete a PST file?

Only if you’ve imported its contents somewhere else or no longer need them. A PST is often the only copy of POP mail or an archive. Close it in Outlook first, then keep a backup on an external drive before deleting.

What’s the difference between a PST and an OST file?

A PST is a standalone file holding your data; you can move and back it up. An OST is a local cache of a server mailbox that Outlook can rebuild. You can’t open an OST on another PC or import it like a PST.

How do I move my PST file to a new computer?

Copy the .pst file (with Outlook closed) to a USB drive or external disk, copy it to the new PC’s Documents\Outlook Files folder, then open or import it in Outlook. If your mail is on Microsoft 365 or Outlook.com, you don’t need a PST: just sign in on the new PC. While you’re setting up, you can also add your email signature in Outlook.

Why does Outlook say my PST is not an Outlook data file?

The file is damaged, incomplete (a copy was interrupted), or isn’t really a PST. Run ScanPST on a copy of it. If ScanPST can’t read it at all, restore the file from a backup.

Technology Sage

The Technology Sage desk: guides, explainers and contributed articles since 2014.