Your Outlook data file is the single container that holds your mailbox, folders, calendar, contacts and tasks when Outlook stores everything locally. Knowing where that file lives matters for a few practical reasons: you may need to copy it before reinstalling Windows or moving to a new computer, you may want to back it up to an external drive, or you may be hunting for it because Outlook is complaining that the file cannot be found. This guide walks through finding the file on a typical Windows installation, explains the difference between the file types you might see, and covers what to do when the location is not where you expected.
One thing to settle first: not every Outlook setup keeps mail in a local file. Accounts connected through a modern Microsoft-hosted mailbox, or through an Exchange server at work, keep the master copy on the server and only cache a local copy. In those setups the file you find is a cache, and deleting it forces Outlook to download everything again from the server. Accounts set up as POP mail, by contrast, keep the only copy on your own disk, so the file you locate is the real thing and deserves a backup. Check which type you have before you move or delete anything.
What You’ll Need
- A Windows computer with Outlook installed and the account already configured.
- Permission to sign in to the same Windows user profile that runs Outlook, because the folder sits inside your user folder and other profiles cannot see it.
- File Explorer with hidden items switched on, since the containing folder is hidden by default.
- Enough free space on any drive you plan to copy the file to, ideally more than the file itself needs.
- A little patience if the file is large; copying can take a while and Outlook should be closed first.
Step-by-Step
- Close Outlook completely. A file that is open in Outlook may be locked, and copying a locked file can produce a corrupt copy.
- Open File Explorer and turn on hidden items. In current Windows versions this is a checkbox or a view option on the View ribbon; on older versions it lives under Folder Options. Menu wording differs by Windows version, so look for the View tab first.
- Navigate to your user folder. The usual path is the one named after your Windows account, inside the Users folder on the system drive.
- Open the AppData folder, then Roaming, then Microsoft, then Outlook. This is the default location for the main data file.
- Look for files ending in .pst or .ost. The .pst file is a personal folders file used for POP accounts and for archives; the .ost file is an offline cache used with server-connected accounts.
- If you see more than one file, compare sizes and modified dates. The largest, most recently written file is almost certainly the one in active use.
- Confirm the exact path from inside Outlook if you want certainty. Open the account settings area, select the data file entry, and choose the option to open its folder; Outlook will launch File Explorer at the correct location. The labels in this dialog differ between Outlook versions, so read the buttons rather than relying on memory.
- Right-click the file and choose Properties to read its full location, then copy that path into your notes.
- Make your backup by copying the file to another drive while Outlook is still closed. Copying is safer than moving, because a failed move can leave Outlook pointing at nothing.
- Reopen Outlook and confirm your folders and mail are intact before you do anything else with the original.
Common Mistakes
The most frequent error is searching for the file while Outlook is running and then copying a locked file, which can yield an incomplete backup. Close the program first, every time.
Another common slip is confusing the archive file with the main data file. Archives are opened only when you click into them, so they are often smaller and older than the live file; backing up only the archive leaves your current mail unprotected.
People also forget that hidden items must be enabled. Without that setting the AppData folder simply does not appear, and the search looks like it has failed when it has not.
Finally, avoid moving the file by hand and then expecting Outlook to find it. If you relocate a data file, tell Outlook about the new path through its own settings rather than dragging the file and hoping.
Tips
Set up a routine backup rather than a one-off copy. Copying the file to an external drive on a regular schedule protects you against drive failure far better than a single rescue attempt.
Keep the file on a local drive, not on a network share or a synced cloud folder. Syncing tools can lock or partially upload the file while Outlook is writing to it, which risks corruption.
If your mailbox lives on a server, remember that the local file is only a cache. You can safely let Outlook rebuild it, and doing so is a standard first fix for odd sync behaviour.
Note the path somewhere you will find it again. A short text note in your documents folder saves the same hunt next time.
Troubleshooting
If the folder is empty or missing, check that you are signed in to the right Windows profile. Outlook stores data per user, so another family member’s profile will not show your file.
If Outlook reports that the data file cannot be opened, close the program and check that the file still exists at the recorded path. A moved, renamed or deleted file produces exactly this message.
If the file seems corrupt, use the built-in repair tool that ships with Outlook, which scans and attempts to fix the file. Run it on a copy, not the original, so you keep a fallback.
If you cannot find any data file at all, your account may be configured to use a server mailbox with caching disabled, or the profile may be new and empty. Check the account type before assuming something is broken.
If copying fails partway through, check free space on the destination and try again with Outlook closed. A drive that is nearly full is a common cause of failed copies.
Frequently Asked Questions
Where does Outlook keep its data file by default? Inside your Windows user folder, under AppData, Roaming, Microsoft, Outlook. The folder is hidden, so enable hidden items to see it.
What is the difference between a PST and an OST file? A PST is a personal folders file holding mail you keep locally. An OST is an offline cache of a server mailbox, and it can be rebuilt from the server at any time.
Can I move the data file to another drive? Yes, but do it through Outlook’s own data file settings so the program knows the new path. Moving it manually and leaving Outlook pointed at the old location causes errors.
Is it safe to delete the OST file? Generally yes, because Outlook recreates it from the server on next launch. Close Outlook first, and be aware that a full resync can take a while on a large mailbox.
Why can’t I see the AppData folder? It is hidden by default. Turn on hidden items in File Explorer’s View options, and it will appear.
Should I back up the file while Outlook is open? No. Close Outlook first so the file is not locked or mid-write, then copy it.