Outlook stores your mail, calendar, contacts and tasks in two main data file types: PST (.pst) and OST (.ost). A PST is a personal Outlook data file you can move, back up, import and open on another PC. An OST is an offline cache that Outlook builds automatically for a Microsoft 365, Exchange or IMAP account and that you should leave alone. Knowing which one you are looking at is the first step to backing up, moving or repairing your mailbox data safely.

Everything below describes the classic Outlook for Windows desktop app, which is where these file types live. The new Outlook for Windows and Outlook on the web do not expose PST or OST files to you, and Outlook for Mac uses a different database format instead, so the steps here do not apply to those.

What You'll Need

  • A Windows PC with the classic Outlook desktop app installed and your account already set up.
  • Enough free disk space for a copy of the file if you plan to back it up or export (mailbox files can be several gigabytes).
  • A writable external drive or cloud folder if you intend to move a backup off the machine.
  • About ten to fifteen minutes, plus a moment to show hidden files and folders in File Explorer so you can actually see the data files.

Step-by-Step

  1. Confirm which file type your account uses. Open Outlook and go to File > Account Settings > Account Settings. On the Data Files tab you will see every data file Outlook is using, its name and its location. Microsoft 365, Exchange and most IMAP accounts show an OST cache. POP3 accounts and manually added personal folders show a PST. Menu labels can differ slightly by version, device or region, so look for the closest match if your build words things differently.
  2. Read the file path, not just the name. The path tells you a lot. An OST normally sits in a hidden folder such as C:\Users\YourName\AppData\Local\Microsoft\Outlook. A PST is usually in Documents\Outlook Files or wherever you created it. The AppData folder is hidden by default, so in File Explorer turn on View > Show > Hidden items to see it.
  3. Create a PST when you need a portable copy. In the same Account Settings window, on the Data Files tab, choose Add, then select Outlook Data File (.pst) and give it a name and location. This creates an empty PST that appears in your folder pane, ready to hold folders you copy into it.
  4. Move the mail you want to keep. In the folder pane, right-click the folder you want to preserve and choose Copy Folder, then pick a destination folder inside the new PST. Copying rather than moving means an interruption cannot lose the original. Repeat for each folder, or select messages in the list and drag them across.
  5. Close the file before you copy it. In Account Settings > Data Files, select the PST and choose Close File. Outlook unlocks it, so a file copy will not fail halfway through. Do not close the file that holds your live mailbox.
  6. Copy the PST to your backup location. In File Explorer, navigate to the path you noted in step 2, right-click the .pst file and choose Copy, then paste it onto your external drive or cloud folder. If the file is large, give it time to finish before unplugging the drive.
  7. Reattach a PST when you need it again. On a new PC or after a reinstall, go to File > Open & Export > Open Outlook Data File and browse to the .pst file. It appears in the folder pane with all its contents. This is also how you read an archive someone sent you.
  8. Leave the OST alone unless something is wrong. An OST is rebuilt automatically from the server. Do not copy it as a backup, because a copied OST is tied to the original profile and will not open cleanly elsewhere. If Outlook reports that the file is damaged or missing, the safe fix is to recreate the profile or let Outlook resync, not to hand-edit the file.

Common Mistakes

Treating an OST as a backup. The single most common error is copying the .ost file to a safe place and assuming the mailbox is preserved. It is not portable, and if the account is removed from Outlook the cached copy stops being usable on its own. Always export to PST or use the mail provider's own export tools for a real backup.

Closing the wrong data file. Closing the file associated with your active account makes your folders disappear from Outlook until you reattach it. Check the path before you click Close File.

Copying a PST while Outlook is running. Copying a locked file can produce a truncated, unreadable copy. Close the file in Outlook first, or at minimum close Outlook entirely.

Storing a PST on a network share or synced cloud folder and working from it directly. Outlook expects its data files on a local disk. Working over a network path or a folder that syncs continuously is a well-known cause of corruption and slow performance. Keep the working file local and copy the backup outward instead.

Assuming one file covers everything. A PST holds mail, calendar, contacts and tasks for the folders it contains, but it does not include account passwords, rules stored on the server, or settings in some setups. Do not delete your only copy of the original until you have confirmed the contents you needed actually arrived.

Tips

Give every PST a descriptive name and a date, such as Archive-2026.pst, so you can tell backups apart months later. Keep one PST per purpose rather than one giant file; splitting an archive by year or project makes it easier to open, search and back up.

Use the built-in File > Open & Export > Import/Export wizard when you want to export a whole mailbox or a set of folders in one pass. It walks you through exporting to a PST and lets you choose which folders to include and whether to include subfolders.

If you are switching computers, export the mailbox to a PST on the old machine, copy that file to the new one, then open it there. For Microsoft 365 and Exchange accounts you often do not need this at all, because the mailbox is already on the server and simply signing in recreates everything.

Never open a PST from an untrusted source. PST files can carry malicious content, so scan anything you did not create yourself with your security software before opening it in Outlook.

Troubleshooting

Outlook says the data file cannot be found. Check the path in Account Settings > Data Files and confirm the file still exists at that location. If it was moved or renamed, remove the broken entry and reattach the file with Open Outlook Data File.

Outlook says the data file is damaged. For a PST, use the Inbox Repair tool that ships with Outlook: search Windows for scanpst.exe, run it, browse to the .pst file and let it scan. Run it a second time if the first scan finds and fixes errors. Back up the file before repairing it, since the tool can make changes to the original. For an OST, repair is usually unnecessary: rebuild the Outlook profile or let the account resync, because the server copy is authoritative. Be aware that deleting a profile or an OST removes the local cache, so any items that exist only locally and never reached the server would be lost; export them first if you are unsure.

You cannot see the data file in File Explorer. Turn on hidden items with View > Show > Hidden items. The AppData path is invisible without that setting.

The file is enormous or Outlook is slow. Large data files degrade performance. Move old mail into a separate PST archive, then close that file when you are not using it, so Outlook loads only what you need.

A copy will not paste or says the file is in use. Close the file in Outlook or exit Outlook completely, wait a few seconds, and try again. If it still fails, restart the PC before copying.

If that did not work, create a new Outlook profile and set the account up in it, then open your PST inside the new profile. This isolates problems caused by a corrupted profile from problems caused by the file itself.

Frequently Asked Questions

What is the difference between PST and OST?

A PST is a standalone personal data file you manage and can move between machines. An OST is an offline cache that Outlook creates and maintains for a server-based account, and it is not designed to be moved or backed up.

Can I convert an OST to a PST?

Not by renaming it. The supported route is to export or copy the mailbox contents into a PST from inside Outlook. Outlook itself does not offer a one-click OST-to-PST conversion.

Is it safe to delete an OST file?

Generally yes, because Outlook rebuilds it from the server when the account next connects. The exception is any item that exists only locally and never synced, which would be lost. Close Outlook before deleting, and be aware that rebuilding a large mailbox can take a while.

Where does Outlook keep its data files?

PST files are usually where you or Outlook put them, often in Documents\Outlook Files. OST files normally live in the hidden AppData\Local\Microsoft\Outlook folder under your user profile.

Do I need a PST if I use Microsoft 365?

Not usually. Your mail lives on the server and is restored when you sign in. A PST is still useful for local archives, for moving data between accounts, or for keeping a copy of older mail outside the mailbox.

Can I open a PST on a Mac?

Classic Outlook for Windows opens PST files directly. Outlook for Mac uses a different data format, so check the current Microsoft support pages for what import options your version offers before relying on a PST as a transfer method.