Moving old email into Gmail sounds simple until you try it. Gmail has buttons for importing mail from another live account, but it has no button for uploading an MBOX file from your computer. That leaves many people thinking they must buy a paid converter tool.
You do not need to pay for anything. An MBOX file is just a text-based archive that holds many emails in one file. Free email software can open that file and then copy the messages into Gmail for you, using Gmail’s own free IMAP access. This guide walks you through the safest free method, step by step.
Quick Answer
You can import an MBOX file into Gmail for free by opening it in Mozilla Thunderbird, a free email program. First add your Gmail account to Thunderbird using IMAP, then use the free ImportExportTools NG add-on to load the MBOX file into a local folder. Finally, drag the messages from that local folder into a Gmail folder, and Thunderbird will upload them to your account automatically.
What an MBOX File Is and Why Gmail Cannot Open It Directly
MBOX is one of the oldest email storage formats. Programs like Mozilla Thunderbird, Apple Mail, and Google Takeout save whole folders of email in a single MBOX file.
Gmail works differently. Gmail stores mail on Google’s servers and organises it with labels instead of real folders. The Gmail settings page lets you import from another email provider that is still online, but there is no upload box for a file sitting on your hard drive.
That gap is why paid tools exist. They simply do what Thunderbird does for free: read the MBOX file and push the messages into Gmail over IMAP. Once you understand that, the free route makes complete sense.
What You Need Before You Start
Gather these items first, and the whole job will go much faster.
- Your MBOX file, saved somewhere easy to find, such as your Desktop or Downloads folder.
- A computer with enough free space, ideally at least twice the size of the MBOX file.
- Mozilla Thunderbird installed. It is free for Windows, Mac, and Linux.
- The ImportExportTools NG add-on for Thunderbird, which is also free.
- Your Gmail address and password, plus access to your phone or authenticator app if you use two-step verification.
- A stable internet connection, because large imports can take a long time.
Also check your Gmail storage before you begin. A large archive can push a free Google account over its 15 GB limit, and uploads will stop when the space runs out.
Step 1: Turn On IMAP in Gmail
Thunderbird talks to Gmail through IMAP, so IMAP must be switched on first.
- Open Gmail in your web browser and sign in.
- Select the gear icon in the top right corner.
- Select See all settings.
- Open the Forwarding and POP/IMAP tab.
- Under IMAP access, choose Enable IMAP.
- Scroll down and select Save Changes.
Google explains these settings in detail in its guide on how to set up Gmail with IMAP in another email client. Follow that page if any screen looks different on your account.
Step 2: Add Your Gmail Account to Thunderbird
Now connect Thunderbird to the same Gmail account. This creates the bridge your old messages will cross.
- Open Thunderbird and choose the option to set up an existing email account.
- Type your name, your full Gmail address, and your Gmail password.
- Let Thunderbird find the server settings automatically. It should choose IMAP.
- Complete the sign-in in the Google window that appears, and approve the access request.
- Wait while Thunderbird downloads your current Gmail folders and messages.
If you use two-step verification, the Google sign-in window handles it. You do not need a special app password for this modern sign-in method in most cases.
Check the Account Is Working
Send a short test email from Thunderbird to yourself. If it arrives in Gmail in your browser, the connection is good. Fix any sign-in problem now, before you start moving thousands of old messages.
Step 3: Install the Free Import Add-On
Thunderbird cannot open MBOX files on its own. The ImportExportTools NG add-on adds that ability.
- In Thunderbird, open the menu and choose Add-ons and Themes.
- Search for ImportExportTools NG.
- Add the add-on and restart Thunderbird if it asks you to.
The add-on is maintained for recent Thunderbird versions and is listed in Mozilla’s official add-on catalogue, which you can review on Mozilla’s help page about using Thunderbird with Gmail for related setup advice.
Step 4: Import the MBOX File Into a Local Folder
Do not import straight into Gmail yet. Load the file into Thunderbird’s Local Folders first, so you can check the messages before uploading anything.
- In the folder panel, right-click Local Folders.
- Choose ImportExportTools NG, then choose the option to import an MBOX file directly.
- Browse to your MBOX file and select it.
- Wait while Thunderbird builds the new folder. A file with thousands of messages may take several minutes, and Thunderbird may look frozen. Let it finish.
- Open the new folder and scroll through the messages. Open a few old emails, including one with an attachment, to confirm they look complete.
This checking step matters. If the MBOX file itself is damaged or incomplete, you want to discover that now, not after an hour of uploading.
Step 5: Copy the Messages Into Gmail
Now comes the actual move into Gmail. Work in small batches instead of selecting everything at once. Batches of 200 to 500 messages are much more reliable, especially on slower connections.
- In Gmail in your browser, create a new label for the imported mail, for example Imported Archive 2024. This keeps old mail easy to find later.
- In Thunderbird, that label will appear as a folder under your Gmail account after a short refresh.
- Open the local folder that holds your MBOX messages.
- Select the first batch of messages.
- Right-click the selection and choose Copy To, then pick the Gmail folder with your new label name.
- Watch the status bar at the bottom of Thunderbird while the copy runs.
- Repeat with the next batch until every message has been copied.
Copy, do not move. Copying leaves the local version untouched, so if an upload fails halfway through, your original messages are still safe in the local folder.
How Long Should It Take?
A few hundred simple text emails may upload in minutes. Several thousand messages with large photo or document attachments can take an hour or more. Gmail also has daily IMAP limits, so a very large archive may need to be finished the next day. That is normal, not an error.
After the Import: Check Everything in Gmail
When Thunderbird says the copying is done, verify the result inside Gmail itself.
- Open the new label and compare the message count with the count in Thunderbird’s local folder.
- Search for a few specific old emails by sender and by subject.
- Open one message with an attachment and download the file to confirm it survived the move.
- Check the dates. Imported mail keeps its original date, so it will sort into your mailbox history by that old date, not by today.
If you want more help organising the result, our guide to using Gmail labels to organise a busy inbox shows how to nest labels and build a tidy archive structure.
Common Mistakes to Avoid
- Paying for a converter first. Many paid tools do exactly what this free Thunderbird method does. Try the free route before spending money.
- Importing everything in one giant batch. One failed connection can break a huge copy job. Small batches are slower to start but far safer.
- Deleting the MBOX file too soon. Keep the original file and the Thunderbird local copy until you have checked the Gmail result carefully for a few days.
- Ignoring storage limits. If uploads stop suddenly, check your Google storage. A full account cannot accept more mail.
- Forgetting IMAP is off. If Thunderbird cannot connect at all, go back and confirm IMAP is enabled in Gmail settings.
- Closing the laptop mid-upload. Sleep mode pauses the copy. Plug the computer in and let it finish.
Conclusion
Gmail has no direct MBOX upload button, but that does not lock you into paid software. Thunderbird plus one free add-on reads the MBOX file, and Gmail’s own IMAP access carries the messages into your account. Import into a local folder first, copy in small batches to a clearly named label, and check the results before deleting anything. With a little patience, even a large old archive can move into Gmail safely and completely free.
Frequently Asked Questions
Is ImportExportTools NG really free and safe to use?
Yes. It is a free add-on distributed through Mozilla’s official Thunderbird add-on system. Download it only from inside Thunderbird’s add-on manager, not from random software sites, so you know you are getting the genuine version.
Will my folders from the MBOX file appear as Gmail labels?
Each MBOX file becomes one folder in Thunderbird, and when you copy it into Gmail it becomes one label. If your archive has several MBOX files, import and copy them one at a time to keep the same structure as labels in Gmail.
Why did some messages fail to copy into Gmail?
Very large messages, damaged messages, or a full Google storage quota are the usual causes. Copy in smaller batches, note which messages fail, and check your storage. Most messages copy fine on a second attempt.
Can I import an MBOX file on a phone instead of a computer?
Not in any practical way. The Gmail phone apps cannot open MBOX files, and mobile Thunderbird add-on support is limited. Use a Windows, Mac, or Linux computer for the import, then enjoy the results in the Gmail app afterwards.
Will importing change the dates or senders on my old emails?
No. IMAP copying preserves the original sender, date, subject, body, and attachments. In Gmail the messages will appear in your history under their original dates, which is exactly what you want from an archive.


[…] which is why it is such a good backup format. If you later need the reverse journey, our guide to importing an MBOX file back into Gmail without paid tools explains the free restore process in […]