Import MBOX to IMAP Server: Step-by-Step Migration Process 

Written By
Amelia James

Updated on
November 20th, 2026

9 minutes Read
ⓘ Fact-checked and reviewed in accordance with our Editorial Policy
Rate this post

User-Query:

I have 15 GB of old emails stored as MBOX files on my Mac. My new email provider uses IMAP. I need all my old emails moved there. I want to keep the folders and attachments as they are. I don’t want to have to move each email individually, as there are thousands. Can you move everything in one go?

Introduction: MBOX files are a secure way to store emails on one device, however, they can cause problems with old emails. All Gmail, Yahoo,office 365 have no option to open MBOX file , it means your old messages will not open in phone,laptop or another device. So if that computer get damage then all archive will loss too. This is why many users want to import MBOX to IMAP without breaking folders or attachments. The manual way is slow and risky for large files. So, this guide explains both the manual method and a safer option, MacSonik MBOX Converter  to do it in a few clicks.

MBOX is a widely used file format that stores emails with their attachments. Moreover, there are around 15+ email clients that support the *.mbox extension file. Whereas IMAP is a protocol that retrieves the data from different mail servers. If we move from desktop-based to web-based email services, we first need to convert MBOX Emails to IMAP Servers. With this, you can easily access your MBOX files data from anywhere and anytime effortlessly. 

Why Do Users Move Their Mail Archive to an IMAP Server?

People usually take this step for one of these reasons:

  • Read your emails anywhere: As emails are stored on the server, you can view them from a laptop, phone, or tablet.
  • Safety: If your computer crashes or gets lost, you won’t lose your archive.
  • Instant updates: Any changes (moving, reading, or deleting) will be visible on all devices.
  • Easy to manage: Create, rename, and organise folders from any email client.
  • No reliance on a specific client: You don’t have to use Thunderbird or Apple Mail to read your old emails.
  • Teams use: IT teams can have a single clean mailbox history for auditing purposes.

Since webmail servers do not accept an MBOX file directly, you need an email client or a dedicated tool to bring your archive in.

How to Import MBOX to IMAP Server: Manual and Automated Methods

There are two ways to get this done. The first uses Thunderbird or Apple Mail, which is free but needs a lot of manual work. The second uses a professional tool that connects to your IMAP account directly. Let us look at the manual method first.

Method 1: Windows Using Thunderbird

These are some steps you can follow to upload MBOX to IMAP using Thunderbird.

  1. First, install Thunderbird and add an IMAP account.
  2. Install ImportExportTools NG.
  3. Go to Local Folders. Select ImportExportTools NG. Click Import MBOX files.
  4. Browse for your MBOX file and select it.
  5. Once it has loaded, drag and drop the imported folders into the relevant IMAP folder.
  6. Once it has synced, you will be able to see the folders in your webmail.

Method 2: Mac Using Apple Mail

On a Mac, Apple Mail can convert MBOX Emails to IMAP in a similar way. 

  1. Add your IMAP account.
  2. Go to File, then Import Mailboxes.
  3. Select the MBOX file.
  4. Drag the imported mail into the matching IMAP folder.

Where the Manual Method Falls Short

  • Slow with large files.
  • Only able to import one file at a time.
  • Attachments and formatting can be lost.
  • No filters or duplicate checking options.

If you plan to open the same files in Outlook instead, this guide on how to import MBOX into Outlook will help.

A Safer Way to Move Large MBOX Archives

Manual options can be used for a few small files, but they can cause issues such as slow speed and loss of attachments. A dedicated tool is the better choice here that is MacSonik MBOX Converter. It connects directly to your IMAP account and easily import MBOX to IMAP, so there is no need for Thunderbird, Outlook, or any other email clients. The software works across Mac and Windows and is easy to use for new users and IT teams.

Apart from IMAP, it can send mail to Gmail, Google Workspace, and Office 365, and save it in multiple file formats. If you need Word copies, then this guide on converting MBOX to DOC explains the process.

IMAP Details to Keep Ready

You will want to have your IMAP server details to hand. If you have two-step verification enabled on your account, you may be asked to use an app password by Gmail and Yahoo

Email Provider

IMAP Server

Port

Encryption

Gmail

imap.gmail.com

993

SSL/TLS

Outlook / Microsoft 365

outlook.office365.com

993

SSL/TLS

Yahoo Mail

imap.mail.yahoo.com

993

SSL/TLS

Custom domain

Given by your hosting provider

993 or 143

SSL/TLS or STARTTLS

A few quick tips before you start to import MBOX Files to IMAP:

  • Ensure that you have sufficient storage available on your IMAP account
  • Test with one small MBOX file first.
  • Use a stable internet connection.

Got your MBOX file from Gmail? Here is how to import Google Takeout data into a new account.

Steps to Import MBOX to IMAP

  1. First, download and install the tool.
  2. Click Select Files or Select Folder to add your MBOX files, then click Proceed.
  3. Preview all the emails along with attachments and select the file that you want to convert.
  4. Select IMAP server as the output format and enter all the credentials.
  5. Apply filters as per your needs, then start conversion.

Once this is done, please check your webmail on any computer you choose. Check through various folders. Access older emails that have attachments. Make sure these attachments match the folder names seen in the tool preview. This simple check shows nothing is missing. Because there is no drag-and-drop, you can upload MBOX file directly to IMAP server and finish large archives in less time.

Features That Help With Large Migrations

  • Preview before conversion: Before conversion, you can preview email contents, like data attachments, anything.
  • Mailbox mapping: Map every source MBOX mailbox to its right destination account. 
  • Duplicates: Detect duplicate emails based on To, From, Body, Subject, and CC.
  • Bulk Conversion: Select multiple files for conversion in one go.
  • Selective filters: This tool has multiple filters like date range, skip existing export, file naming policy, custom folder name, etc.
  • No Outlook needed: Works without Outlook and without any cloud upload.

These features make it simple to import MBOX to IMAP for personal mailboxes as well as for large business setups.

Manual Method vs MacSonik MBOX Converter

Task

Manual (Thunderbird + Add-on)

MacSonik MBOX Converter

Bulk files

Repeat the steps for every file

Folder Mode adds hundreds of files in one run

Orphan MBOX files

Must be imported into a client first and often fail

Loads directly, no client needed

Duplicate emails

No built-in option

Detects by sender, subject, BCC, and body

Selective transfer

No native filter

Date, status, subject, sender, CC/BCC filters

Gmail transfer

Set up IMAP in Thunderbird and drag folders

Direct transfer through OAuth 2.0

Time and skill

Hours or days, with add-ons and IMAP setup

Minutes, with a simple interface

As the table shows, the tool saves hours when you have to move MBOX file to IMAP in bulk. 

Conclusion

Storing years of emails on one computer is risky. Webmail services will not be able to open an MBOX file. Doing this manually using Thunderbird or Apple Mail can be done for a few small files, but if you have a large archive, this can be slow. Using a dedicated application will take most of the hassle out of it. You need a tool like MacSonik MBOX Converter to Import MBOX to IMAP. It preserves folder structure, metadata, and attachments and easily handles bulk files.

Frequently Asked Questions

Q1. How do I import MBOX into Thunderbird IMAP?

If you want to import MBOX into IMAP, you must opt for the Mac MBOX Converter. Because there is no manual method available Online. This tool is easy to operate and requires no extra technical assistance to operate it. 

Q2. Can I import MBOX files into Gmail?

Yes, the MBOX Converter can easily import MBOX files into Gmail or any other file format and email client. Additionally, you can export any number of MBOX files to Gmail without any hassle.

Q3. How do I maintain my folder structure during the migration of MBOX into IMAP?

 Ans. After loading file, you can preview or expand the folder from which you can view the content and hierarchy before conversion; then, after conversion, you can check whether it will preserved or not.

Q4. Can I directly upload an MBOX file to the IMAP server with the web interface?

 Ans. No. Webmail interfaces do not accept MBOX files. You need to have an email client like Thunderbird or a tool like MacSonik MBOX Converter to send these.

Q5. How can I verify that all MBOX emails have been successfully transferred to IMAP?

 Ans. Compare the folder list within the tool preview against your IMAP folders in webmail. Then open a few old emails and attachments on another device to confirm everything arrived.

Q6. What IMAP server details are required to import MBOX files?

Ans. You need your email address, password or app password, IMAP server address, and port number. Usually, port 993 is used with SSL/TLS. Your email provider’s help page lists these details.

Q7. How can I prevent duplicate emails when importing MBOX to IMAP?

Ans. Use the duplicate removal feature in the tool. It finds repeated emails by sender, subject, BCC, and body, so each message reaches your IMAP account only once.

About The Author:

Amelia is the mistress of the webmail clients like Office 365, Gmail, Yahoo, Hotmail, and Opera Mail. Her research on downloading emails from webmail is outstanding. She has given the solution to download emails from webmail clients to a Mac device with all the mailbox items. She’s been into webmail solutions since 2010. In her free time, she reads books and writes technical blogs.

Related Post

100%
Secure Software
24× 7
Technical Support
5M+
Downloads
30 Days
Money Back Guarantee