Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
Export or backup email, contacts, and calendar to an Outlook .pst file

In this article, we'll discuss how you can export your Outlook email, calendar and tasks to a .pst file, and then import the data to another email account. You can also use the .pst file as a backup in case you lose your Outlook data.

For example, let's say you have an Microsoft 365 mailbox and a Gmail account. You can add both of them to Outlook. Then, you can use Outlook to export items from your Gmail account and import them to your Microsoft 365 mailbox.

To learn how to import items after you've exported them, see Import email, contacts, and calendar from an Outlook .pst file.

Before you begin

Before you start your export, there's a few things you should do to make sure your export goes smoothly.

  • You may have multiple email accounts in Outlook. Make sure you select the correct email account before you start your export.

  • Do a mailbox cleanup: Manage my mailbox size. Save the content you want and leave the rest behind.

  • By default, Outlook is set to download email for the past 1 year. If you want to export all your emails, open Outlook, select Account settings > Account Name and Sync Settings and move the slider to All.

    Move slider to All to download all Outlook email when you export email

  • Make sure you don’t export your .pst file to a OneDrive location. If you have automatic sync, make sure it's not syncing to a OneDrive location. OneDrive will block automatic syncing for Outlook .pst files.

Export email, contacts, and calendar items from Outlook to a .pst file

Choose from the following list of export instructions.

Add your Microsoft 365 email account to an Outlook app, such as Outlook for Microsoft 365, Outlook 2016, or 2013. Then, you can use Outlook to move email, contacts, and calendar items into your Microsoft 365 mailbox. 

  1. Add your "source" email account to Outlook. For example, you might add your Gmail account to Outlook 2016. Wait a bit for all of your email and contacts to show up.

  2. Add your Microsoft 365 email account to Outlook. After you do this, Outlook will automatically sync with Microsoft 365. You'll see the contents of your Microsoft 365 mailbox appear in Outlook.

  3. Choose from the export instructions to export your email from the source account to a .pst file.

    For example, if you have Outlook 2016, choose Outlook 2013 and Outlook 2016: Export Outlook items from a .pst file.

  4. For example, if you have Outlook 2010, choose Outlook 2010: Export Outlook items to a .pst file.

After your email data is exported to a .pst file, it's portable! You can import it to other email accounts. If you want to do this using Outlook, see Import email, contacts, and calendar from an Outlook .pst file.

  1. At the top of your Outlook ribbon, choose File.

    If your ribbon doesn't have a File option in the top left corner, see What version of Outlook do I have? to determine your version of Outlook and find the appropriate export instructions.

    This is what the ribbon looks like in Outlook 2016.
  2. Choose Open & Export > Import/Export.

  3. Choose Export to a file > Next.

  4. Click Outlook Data File (.pst)> Next.

  5. Select the name of the email account to export, as shown in the picture below. Only information for one account can be exported at a time.

    Make sure that the Include subfolders check box is selected. This ensures that everything in the account will be exported: Inbox, Calendar, Contacts, and Tasks. Choose Next.

  6. Click Browse to select where to save the Outlook Data File (.pst). Enter a file name, and choose OK to continue.

    Note: If you’ve used export before, the previous folder location and file name appear. Type a different file name before choosing OK.

  7. If you are exporting to an existing Outlook Data File (.pst), under Options, specify what to do when exporting items that already exist in the file.

  8. Choose Finish.

  9. Outlook begins the export immediately unless a new Outlook Data File (.pst) is created or a password-protected file is used.

    • If you’re creating an Outlook Data File (.pst), an optional password can help protect the file. When the Create Outlook Data File dialog box appears, enter the password in the Password and Verify Password boxes, and choose OK. In the Outlook Data File Password dialog box, enter the password, and choose OK.

    • If you’re exporting to an existing Outlook Data File (.pst) that is password protected, in the Outlook Data File Password dialog box, enter the password, then choose OK.

Now that your Outlook data is in a .pst file, it's portable. You can save the .pst file to OneDrive, then download it to your new computer. You can also save to a portable drive, then import your email, contacts, and calendar to Outlook.

  1. At the top of your Outlook ribbon, choose the File tab.

    If your ribbon doesn't have a File option in the top left corner, see What version of Outlook do I have? to determine your version of Outlook and to get to the right export instructions.

  2. Choose Options.

    Choose Options.

  3. In the Outlook Options box, choose Advanced.

    Choose Advanced.

  4. Under the Export section, choose Export.

    On the Advanced page, choose Export

  5. Choose Export to a file, then Next.

  6. Choose Outlook Data File (.pst), then Next.

  7. Select the name of the email account to export, as shown in the picture below. Only information for one account can be exported at a time.

    Make sure that the Include subfolders check box is selected. This ensures that everything will be exported: Calendar, Contacts, and Inbox. Choose Next.

  8. Choose Browse to select where you want to save the Outlook Data File (.pst) and to enter a file name. Select OK to continue.

    Note: If you have previously used the export feature, the previous folder location and file name appear. Make sure that you change the file name if you want to create a new file instead of using the existing file.

  9. If you are exporting to an existing Outlook Data File (.pst), under Options, specify what to do when exporting items that already exist in the file.

  10. Choose Finish.

  11. The export begins immediately unless a new Outlook Data File (.pst) is created, or if the export is to an existing file that is password protected.

    • If you are creating a new Outlook Data File (.pst), an optional password can help protect the file. When the Create Outlook Data File dialog box appears, enter the password in the Password and Verify Password boxes, and then choose OK. In the Outlook Data File Password dialog box, enter the password, then choose OK.

    • If you are exporting to an existing Outlook Data File (.pst) that is password protected, in the Outlook Data File Password dialog box, enter the password, and then choose OK.

Now that your Outlook data is in a .pst file, it's portable. Save the .pst file to OneDrive, then download it to your new computer. Save it to a portable drive to carry anywhere, then import your email, contacts, and calendar to Outlook.

What data is exported?

  • When Outlook exports email, contacts, and calendar info to a .pst, it makes a copy of the information. Nothing leaves Outlook. You'll still see and have access to your email, contacts, and calendar in Outlook.

  • When Outlook exports emails, it includes any attachments to the emails.

  • Outlook does not export meta-data such as folder properties (views, permissions, and AutoArchive settings), message rules, and blocked senders lists.

Important: If you're using Cached Exchange Mode, Outlook will only export the items in your current cache. By default, your cache contains items from the past 12 months. To export more than the past 12 months of data, turn off Cached Exchange Mode first. For more information, see Turn Cached Exchange Mode on or off.

When should I export (backup)/import a .pst file?

  • You want to move email from your Microsoft 365 personal or family account to a Microsoft 365 for business email account:

    For example, let's say you have a Microsoft personal or family email account, alliebellew83@yahoo.com, and you want to move your email to a new Microsoft 365 for business email account, alliebellew@contoso.com.

    Using Outlook on your desktop, add both accounts to Outlook. Wait for all of your email to appear (if you have a lot, this can be a long time). Then, use Outlook to export the email from alliebellew83@yahoo.com to a .pst file. Finally, import the .pst file to your Microsoft 365 for business account.

  • You want to move email from one email account to another email account:

    For example, let's say you have an old Yahoo email account, jakobsol77@yahoo.com, and you want to move your email to a new Microsoft 365 email account, jakobsol78@contoso.com.

    Using Outlook on your desktop, add both accounts to Outlook. Wait for all of your email to appear (if you have a lot, this can be a long time). Then, use Outlook to export the email from your Yahoo account to a .pst file. Finally, import the .pst file to your Office 365 account.

  • You're moving from PC to PC: You're moving your email from one computer with Outlook on it to another computer with Outlook on it. For example, let's say your old computer has Outlook 2007 and you just got a new computer with Outlook 2016. Export your email data from Outlook 2007 (described in this article) and import it to Outlook 2016.

  • You're moving from PC to Mac: Transfer email from Outlook on a PC by importing to Outlook 2016 on a Mac.

  • You want periodic backups: You can periodically backup all of your email, contacts, and calendar to a safe place. After you create the .pst file, copy it to a safe location: a USB flash drive, another hard drive, or cloud storage such as OneDrive or Dropbox.

    There's no automated way to periodically backup everything (old and new). Auto-archive only backs up old items, and it moves them rather than making a copy.

  • If you only want to backup your contacts, see Export contacts from Outlook to copy your contacts to a .csv file.

See Also

Import and export Outlook email, contacts, and calendar

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Find solutions to common problems or get help from a support agent.

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×