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 emails, contacts, and calendar items to Outlook using a .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 and you want to move your Gmail account's contents into your Microsoft 365 mailbox. Or you're switching from a Microsoft 365 Family or Personal subscription to a Microsoft 365 business subscription. You can use Outlook to export items from your existing account and import them to your Microsoft 365 for business mailbox.

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

Watch: Export or backup email, contacts and calendar items

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.

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

Choose from the following list of export instructions.

  1. If you're not already using Outlook, add your Microsoft 365 email account to the Outlook app. After you do this, Outlook will automatically sync with Microsoft 365. You'll see the contents of your Microsoft 365 mailbox appear in Outlook. Then, you can use Outlook to move email, contacts, and calendar items into your Microsoft 365 mailbox.

  2. 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.
  3. Choose Open & Export > Import/Export.

  4. Choose Export to a file > Next.

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

  6. 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.

  7. 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.

  8. 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.

  9. Choose Finish.

  10. 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.

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.

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 email, contacts, and calendar from an Outlook .pst file

Import and export Outlook data from different apps and services

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?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×