This guide walks you through moving your emails from an IMAP or POP3 account into Office 365 (Microsoft 365) using the Outlook desktop app. You’ll learn how to export your old mail to a PST file and import it into your new mailbox, preserving folders and attachments. Before you start, make sure you have your old account credentials, the Outlook desktop client installed, and your Office 365 mailbox already set up.
What You’ll Need
- Access to your old IMAP/POP3 email account (username and password).
- Outlook desktop app (2016 or later, or Microsoft 365 version).
- Your Office 365 account credentials and the Outlook profile configured.
- Enough free disk space for the exported PST file (usually a few GB).
Step-by-Step
- Open Outlook with your old account. If you already have your IMAP/POP3 account configured in Outlook, open it. If not, add the account first via File > Add Account, then enter your email and password.
- Export your old mailbox to a PST file. Go to File > Open & Export > Import/Export. Choose “Export to a file” and click Next. Select “Outlook Data File (.pst)” and click Next.
- Select the folders to export. Choose the mail folder(s) you want to move. To include everything, select the top-level mailbox (e.g., your email address) and check “Include subfolders.” Click Next.
- Save the PST file. Choose a location (e.g., Desktop), give it a name, and click Finish. If prompted, set a password (optional) and click OK. Wait for the export to complete; this may take a while for large mailboxes.
- Add your Office 365 account to Outlook. If not already added, go to File > Add Account and enter your Office 365 email and password. Wait for the mailbox to sync.
- Import the PST file into Office 365. Go to File > Open & Export > Import/Export. Choose “Import from another program or file” and click Next. Select “Outlook Data File (.pst)” and click Next.
- Browse to the PST file. Click Browse, locate the PST you exported, and choose how to handle duplicates (usually “Replace duplicates with items imported”). Click Next.
- Select the destination folder. Choose “Import items into the same folder in:” and select your Office 365 mailbox (e.g., yourname@company.com). Check “Include subfolders” if you want to keep the folder structure. Click Finish.
- Wait for the import to complete. Outlook will show a progress bar. Once done, check your Office 365 mailbox to confirm emails and folders appear.
- Verify and clean up. Spot-check a few folders and emails. After confirming everything is there, you can delete the PST file to free space.
Common Mistakes
- Exporting only the Inbox. If you don’t select the top-level mailbox, you may miss Sent Items, Drafts, or custom folders.
- Importing into the wrong profile. Ensure you select the Office 365 mailbox as the destination, not the old IMAP account.
- Ignoring duplicate handling. If you import twice, you may get duplicate emails. Choose “Replace duplicates” or “Do not import duplicates” as needed.
- Not waiting for sync. After import, Office 365 needs time to upload items to the cloud. Large imports can take hours.
Tips
- Export in chunks. For very large mailboxes, export by year or folder to avoid timeouts and make the process more manageable.
- Keep the PST as a backup. Don’t delete it until you’ve verified everything is in Office 365.
- Use a wired connection. A stable internet connection speeds up the import and reduces errors.
- Check folder mapping. Some IMAP folders (like “Sent”) may import as “Sent Items” or “Sent” – you can rename them after import.
Troubleshooting
- Export or import stops halfway. Close other programs, disable antivirus temporarily, and try again. If it still fails, split the export into smaller PSTs.
- “The file is not a valid PST” error. Make sure you’re opening the correct file and that it wasn’t corrupted. Try opening the PST directly in Outlook (File > Open & Export > Open Outlook Data File) to test.
- Emails appear but no folders. Re-import with “Include subfolders” checked, or manually create folders and move items.
- Import takes too long. Let it run overnight. If it freezes, restart Outlook and try again with a smaller PST.
- Duplicates appear. Use the “Do not import duplicates” option on re-import, or delete duplicates manually using Outlook’s “Clean Up” feature.
Frequently Asked Questions
Can I transfer emails without using Outlook?
Yes, you can use Microsoft’s migration tools or third-party services, but the Outlook method is free and requires no extra software.
Will my folder structure be preserved?
Yes, if you check “Include subfolders” during both export and import, the folder hierarchy is maintained.
How long does the transfer take?
It depends on the mailbox size and your internet speed. A few GB can take several hours.
What if I can’t access the old account in Outlook?
You can still export from webmail, but that’s more manual. Alternatively, use a third-party migration tool.
Is there a limit to PST file size?
Outlook 2016 and later support PST files up to 50 GB (or larger with registry tweaks), but keep it under 20 GB for stability.
Do I need to keep the PST after import?
No, but it’s a good backup until you’re sure everything is in Office 365.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Recover Deleted Contacts on iPhone XR
- Fix iPhone Sync Problems: 10 Steps to Restore
- How to Transfer Photos from Old iPhone to iPhone 11
- How to Locate a Dead iPhone: Find It Now
- How to Rearrange Photos in Albums on iPhone
- How to Recover Deleted MMS on iPhone