How to Import an MBOX File into Thunderbird
In this article
Thunderbird cannot import an MBOX file through a simple File > Import menu option, so the working method is to place the file inside Thunderbird's profile folder and let Thunderbird read it as a local folder. Once done, the messages appear in the folder pane like any other mailbox and can be searched, filtered and moved. Before you start, close Thunderbird completely, back up the profile folder, and make sure the MBOX file has no file extension (rename archive.mbox to archive) — Thunderbird only recognises extensionless files as mail folders. Note that menu labels and folder names can differ slightly between Thunderbird versions and operating systems, so use the paths below as a guide.
What You'll Need
- The MBOX file itself, ideally a copy rather than the only version you have.
- Thunderbird installed and set up with at least one account, so a profile folder exists.
- A file manager that can show hidden folders (Windows Explorer, Finder, or a Linux file manager).
- Enough free disk space for a second copy of the mailbox, since Thunderbird may build index files alongside it.
- Optional: a plain text editor to check that the file starts with a
Fromline, which is the MBOX format marker.
Step-by-Step
- Close Thunderbird. Importing while the app is running can cause the folder to be ignored or the index to be rebuilt incorrectly. Quit fully — on Windows check the system tray, on macOS use Quit from the menu rather than just closing the window.
- Find your profile folder. The reliable way is inside Thunderbird: open the menu, go to Help > Troubleshooting Information, and use the button that opens the profile folder (labelled Open Folder or Show in Finder depending on version and OS). If Thunderbird will not open, the default locations are
%APPDATA%\Thunderbird\Profiles\on Windows and~/Library/Thunderbird/Profiles/on macOS. On Linux it is usually~/.thunderbird/. Inside the profile, open theMailfolder for Local Folders, orImapMailif you intend to place it under an IMAP account. - Back up first. Copy the whole profile folder somewhere safe before changing anything. If a step goes wrong, you can restore the original state without losing existing mail.
- Rename the MBOX file. Remove any extension so the name is just
archive, notarchive.mboxorarchive.txt. Thunderbird treats extensionless files in the mail directory as folders. Avoid spaces and unusual characters in the name. - Copy the file into the Local Folders directory. The path is
Mail\Local Foldersinside the profile on Windows, and the equivalentMail/Local Folderson macOS and Linux. If the folder does not exist, create it. Do not place it directly in the profile root. - Start Thunderbird. The new folder should appear in the folder pane under Local Folders, named after the file. Click it and the messages load. On a large mailbox the first open can take a while because Thunderbird builds an index file with a
.msfextension next to it. - Verify the contents. Check the message count and open a few messages, including one with an attachment. If the folder is empty, see Troubleshooting below.
- Move messages where you want them. You can drag messages into another folder, keep the imported folder as an archive, or right-click it and use the properties or rename options. Once you are satisfied, the original MBOX copy you kept outside the profile can be archived or deleted.
Common Mistakes
- Leaving the .mbox extension on. This is the single most common reason the folder never appears. Thunderbird sees a file, not a mail folder.
- Putting the file in the wrong directory. Files dropped in the profile root, in
ImapMailwhen you meant Local Folders, or in a subfolder of an account are not picked up the way you expect. - Importing while Thunderbird is open. The app may overwrite or ignore the file, and the index can end up out of sync.
- Working on the only copy. If the import fails or the file is corrupted, you have nothing to fall back on. Always keep an untouched original.
- Assuming every .mbox variant is identical. Some tools export MBOX with different line endings or with a wrapper header. If Thunderbird shows one giant message instead of many, the file is not in standard MBOX format.
- Expecting a one-click import. Thunderbird's built-in Import wizard covers address books and settings from other mail clients, not arbitrary MBOX files, so the manual placement method is the correct route.
Tips
- Test with a small MBOX file first to confirm your paths and naming are right before moving a multi-gigabyte archive.
- Name the file something meaningful, since the filename becomes the folder name in Thunderbird.
- If you plan to keep the archive long term, consider moving the messages into an IMAP account so they are backed up on the server, then delete the local copy.
- Keep the
.msfindex files out of your backups — they are rebuilt automatically and can be deleted safely if a folder behaves oddly. - Compress large mailboxes occasionally using the folder's right-click options, which removes deleted-message remnants and keeps the file manageable.
Troubleshooting
The folder does not appear. Confirm the file is extensionless, sits in Mail/Local Folders, and that Thunderbird was fully closed when you copied it. Restart Thunderbird and check again. If it still does not show, right-click Local Folders and look for a refresh or new-folder option, or create a folder with the same name first and then replace the empty file with your MBOX copy while Thunderbird is closed.
The folder appears but is empty. The file may not be valid MBOX. Open it in a text editor and check that messages are separated by lines starting with From . If the file is a ZIP, a PST, or an EML bundle, it is not MBOX and needs converting first.
Everything shows as one huge message. The separators are missing or use the wrong line endings. Re-export from the original mail client using standard MBOX, or convert the file with a reputable MBOX tool.
Thunderbird is slow or crashes when opening the folder. Very large mailboxes strain the index. Split the file into smaller MBOX files before importing, and avoid opening several huge folders at once.
Messages look garbled. This is usually an encoding issue in the original export rather than a Thunderbird fault. Check the source client's export settings and re-export with UTF-8 where possible.
If that did not work, restore your profile backup, then try importing into a fresh Thunderbird profile to rule out a corrupted index. Creating a new profile is non-destructive to the old one, but do not delete the old profile until you have confirmed the new one works.
Frequently Asked Questions
Can Thunderbird import MBOX directly from the menu?
Not for arbitrary MBOX files. The Import wizard handles address books and settings from other clients. Placing the extensionless file in the Local Folders directory is the supported manual method.
Will importing delete or change my original file?
No. Thunderbird reads the file you place in the profile and creates index files beside it. Your separate original copy is untouched, which is why keeping one is recommended.
Does this work for IMAP accounts too?
You can place the file under the account's mail directory, but the simpler and safer route is to import into Local Folders and then drag the messages into the IMAP folder so they sync to the server.
Where does Thunderbird store the imported messages?
In the profile folder you copied the file into, under Local Folders. They stay on your computer until you move or delete them.
How do I remove an imported folder later?
Close Thunderbird, delete the extensionless file and its .msf index from the Local Folders directory, then reopen Thunderbird. Deleting the folder inside the app also removes the messages, so keep a backup if you may need them again.
Can I import several MBOX files at once?
Yes. Give each a unique extensionless name and copy them all into the same directory while Thunderbird is closed. Each becomes its own folder.