How to Archive Outlook Emails to OneDrive

How-to basics · Updated November 3, 2026

How to Archive Outlook Emails to OneDrive

To archive Outlook emails in OneDrive, export the folders you want from classic Outlook for Windows to an Outlook Data File (.pst), then copy that closed, static file into OneDrive. This creates a backup you can keep online; it does not move messages into OneDrive or keep the PST updated automatically. Before starting, make sure you have enough OneDrive space and understand that a PST in OneDrive should be treated as a stored copy, not as a file to open and work from.

What You’ll Need

  • Classic Outlook for Windows, connected to the mailbox containing the messages. The export steps below apply to the classic desktop app, not Outlook on the web.
  • A folder on your computer with enough free space for the exported PST. Export to a local folder first, such as Documents, rather than directly into OneDrive.
  • Enough available OneDrive storage for the finished PST. Check OneDrive in your browser or the OneDrive app before exporting, especially if the mailbox contains large attachments.
  • Permission to access the mailbox and OneDrive account. If this is a work or school account, your organization may restrict exporting or storing email files in OneDrive.

Step-by-Step

  1. Decide which email folders to preserve. In Outlook, review your mailbox and identify the folders you need, such as Inbox, Sent Items, or a project folder. You can export a selected folder and its subfolders rather than saving the entire mailbox. If you need only a date range or particular messages, organize or filter them into a separate folder first; that makes it easier to export just the intended material. Keep in mind that export is a copy, so it does not remove the messages from Outlook.
  2. Open the export tool in classic Outlook. In classic Outlook for Windows, select File > Open & Export > Import/Export. In the Import and Export Wizard, choose Export to a file, then select Next. Choose Outlook Data File (.pst) and select Next again. If you do not see the File tab and this path, you may be using new Outlook or Outlook on the web; see Troubleshooting for alternatives.
  3. Select the folder to export. Choose the mailbox folder you want to save. To include everything nested beneath it, select Include subfolders. For example, selecting Inbox with subfolders includes the folders beneath Inbox, but it does not automatically include Sent Items or other folders alongside Inbox. Select the top-level mailbox if you want to export its available folders, then check the folder list before continuing so you do not accidentally omit important mail.
  4. Choose a local destination and filename. Select Next, then use Browse to choose a folder on your computer outside the OneDrive sync folder. Give the file a clear name, such as Project-Mail-2026-11-03.pst, and select Finish. Outlook may offer a password for the PST. You can set one if appropriate, but store it securely: losing it can prevent you from opening the archive. Do not put the only copy of the password inside the same OneDrive folder as the PST.
  5. Wait for the export to finish. Large mailboxes can take time, and Outlook may appear busy while it copies messages and attachments. Leave Outlook open until the operation completes. If prompted about duplicate items, choose the option that suits your purpose; for a new archive file, the default option to export duplicate items is usually reasonable. When the wizard closes, note the file location and check that the PST exists and has a nonzero size.
  6. Verify the archive before uploading it. In Outlook, select File > Open & Export > Open Outlook Data File, browse to the new PST, and open it. The archive should appear in the folder pane as a separate set of folders. Check several messages from different folders, including one with an attachment if attachments matter to you. This is a practical way to catch an incorrect folder selection or an incomplete export before you rely on the backup.
  7. Close Outlook before copying the PST. When you have finished checking the archive, close Outlook and wait for it to exit. This reduces the chance that the file is in use while you copy it. Do not set Outlook to open or actively use the PST from a OneDrive-synced folder. OneDrive is designed to sync files, and repeated changes to a live Outlook data file can lead to sync conflicts or file problems.
  8. Copy the finished PST into OneDrive. Open File Explorer and copy the PST from its local export location into a suitable folder inside OneDrive, such as OneDrive\Email Archives. Copy rather than move it at first, so the local export remains available if the upload fails. Alternatively, sign in to OneDrive in a browser, open the destination folder, select Upload, then Files, and choose the PST. Do not close the browser or shut down the computer during an upload that is still in progress.
  9. Confirm the OneDrive upload completed. Wait for the OneDrive icon to report that syncing is complete, or check OneDrive on the web and confirm the file appears with the expected name and size. If you uploaded through the browser, wait for the upload confirmation. Keep the original local file until you have confirmed the online copy is present. For extra protection, keep another backup on a separate drive or storage service rather than relying on one copy alone.

Common Mistakes

Confusing Outlook’s Archive command with a OneDrive archive. The Archive button in Outlook moves messages to an Archive folder in the mailbox. It does not save them to OneDrive. The PST export method described here creates a separate file that you upload yourself.

Exporting only one folder by accident. Selecting Inbox does not include Sent Items, and selecting a folder without Include subfolders can leave out its nested folders. Review the folder tree and your intended scope before completing the wizard.

Exporting straight into a synced OneDrive folder. The OneDrive sync client may try to upload a PST while Outlook is writing to it. Export locally, let Outlook finish, close Outlook, and then copy the completed file. Treat the OneDrive copy as a backup, not as your working Outlook data file.

Assuming the export is a live mirror. The PST is a snapshot of the selected folders at export time. New messages, later edits, or deletions in the mailbox will not automatically appear in that file. Repeat the export when you need a newer snapshot, using a new filename or carefully replacing the old backup only after the new one is verified.

Deleting the source too soon. An export does not prove that every message is present or that the upload succeeded. Open the PST and confirm the cloud copy before removing any local file or making changes to the original mailbox.

Tips

  • Use filenames that include the mailbox or project and export date, for example Finance-Mail-2026-11-03.pst. This makes it easier to distinguish snapshots and avoid overwriting a known-good archive.
  • Export only what you need. Smaller PST files take less time to create and upload, and are easier to verify. If you need separate archives for different years or projects, export distinct folders or organize messages before exporting.
  • Remember that PST files can contain sensitive email, attachments, and personal information. Use an organization-approved OneDrive account, review sharing permissions, and avoid creating a public sharing link. A password on a PST is not a substitute for appropriate account security and access controls.
  • If OneDrive uses Files On-Demand, the file may appear in File Explorer without all its contents stored locally. That is normal for an online-only file. Use OneDrive on the web to confirm it is present, and choose Always keep on this device only if you also want a local synced copy and have enough disk space.
  • Document what the archive includes and when it was made. A small note with the folder names, date range, and export date can prevent confusion later, especially when several PST snapshots are stored together.

Troubleshooting

You cannot find the export wizard. The steps use classic Outlook for Windows. New Outlook and Outlook on the web do not offer the same PST export path. If the classic Outlook app is installed and available to you, switch to it and open the mailbox there. Otherwise, ask your Microsoft 365 administrator about approved export options. For a small number of messages, you can save or print individual messages, but that is not a complete replacement for exporting a mailbox to PST.

The PST is missing folders or messages. Reopen Outlook and check which folder was selected and whether Include subfolders was checked. Confirm that the messages are visible in the source mailbox and are not in a separate archive mailbox or online archive that was not included. Run a fresh export to a new filename rather than overwriting the first file, then open the new PST and inspect the missing areas.

The file is too large or OneDrive has no room. Check the available OneDrive quota and the PST size in File Explorer. Export fewer folders at a time, or split the archive by project or date range. Do not assume that deleting the PST from OneDrive immediately frees space everywhere; check the OneDrive recycle bin and your account’s storage status if the quota does not update.

OneDrive says the file is still syncing or cannot upload it. Make sure Outlook is completely closed, check that you are signed into the correct OneDrive account, and confirm the connection is stable. If the sync client reports an error, open its activity or error details and follow the specific prompt. Try uploading through OneDrive on the web if the desktop client is stuck, provided the file is within the upload limits for your account. Keep the local PST until the cloud copy is confirmed.

The PST will not open or Outlook reports an error. Check that the export finished and that the file has a plausible size. If it is zero bytes or unusually small, create a new export. If Outlook requests a password, enter the one set during export. For a damaged file, use Microsoft’s Inbox Repair tool, ScanPST, if available for your Outlook installation, on a copy of the file; do not run repair on your only archive.

You use Outlook for Mac. Outlook for Mac does not create the same Windows PST archive through the steps above. Some Mac versions provide an export under Tools > Export and save Outlook data in an OLM file. You can store that file in OneDrive as a backup, but it is not a PST and is not interchangeable with a Windows PST. Menu availability depends on the Outlook for Mac version. If you need a Windows-readable PST, use classic Outlook for Windows or an organization-approved migration or export process.

Frequently Asked Questions

Does archiving Outlook email to OneDrive remove it from my mailbox?
No. Exporting to PST copies the selected messages into a separate file. The original email stays in the mailbox unless you delete or move it yourself.

Will new Outlook emails automatically appear in the OneDrive archive?
No. A PST export is a snapshot, not a live sync. Export again when you need an updated copy, and verify the new file before replacing an older backup.

Can I open the PST directly from OneDrive?
It is safer to download or copy the file to a local folder and open that copy in classic Outlook. Avoid using a PST as an active Outlook data file inside a OneDrive-synced folder, where simultaneous syncing and Outlook changes may conflict.

Can I archive only selected emails instead of a whole folder?
The export wizard selects folders, not individual messages one by one. Move or copy the messages you want into a dedicated Outlook folder, then export that folder. Check the resulting PST before relying on it.

Can I do this in Outlook on the web?
Outlook on the web does not provide the classic Windows PST export wizard. Use classic Outlook for Windows if available, or ask your administrator which mailbox export method is approved for your account.

Is a PST the same as a OneDrive backup of Outlook?
It is a backup copy of the folders you exported at a particular time, not a full backup of every Outlook setting, account, or future mailbox change. Keep the original mailbox and consider maintaining another secure copy of important archives.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.