Where Thunderbird stores mail on a Mac
One folder holds everything Thunderbird knows. That is why it moves between Macs so easily, and why copying half of it fails.
Thunderbird keeps everything in one profile folder at ~/Library/Thunderbird/Profiles/, inside a directory whose name starts with eight random characters. Mail, settings, address books and accounts all live there together, which makes the profile the only thing worth copying.
That single folder is why Thunderbird moves between Macs more easily than any other client. It is also why a half copied profile fails so badly.
The path
Press Shift and Command and G in Finder, then enter this.
~/Library/Thunderbird/Profiles/Inside is at least one folder named something like a1b2c3d4.default-release. The eight characters before the dot are random, generated when the profile was created, so yours will not match anybody else's.
Thunderbird will point you at it directly if you would rather not type. Help, then Troubleshooting Information, then Open Folder next to Profile Folder. That opens the profile itself, so go up one level for Profiles and one more for the Thunderbird folder.
Library is hidden by default. Typing the path reaches it anyway. The notation itself has its own guide. The folder does not appear in Finder until you unhide it, which is true of everything else in there too.
profiles.ini, the file that decides which one loads
One level up from Profiles sits profiles.ini, a plain text file listing every profile Thunderbird knows about.
Each entry carries a Path= line and an IsRelative= line. Relative means the path is read from the Thunderbird folder. Set it to zero and the path is absolute, which is how a profile gets stored somewhere else entirely.
This matters when a profile moves. Copying the folder is only half the job. If Thunderbird still has the old location written in profiles.ini, it starts up and finds nothing, which reads exactly like lost mail and is not.
Mail and ImapMail, the two that hold messages
Open the profile and two folders hold messages.
| Folder | What is in it |
|---|---|
Mail | POP accounts, plus Local Folders, which is anything you filed on the Mac deliberately |
ImapMail | One folder per IMAP account, holding the offline copy of what the server has |
The split matters when you are deciding what is worth rescuing. Everything under ImapMail exists on a server as well. Everything under Mail, Local Folders most of all, exists nowhere else.
Get that split wrong and a Thunderbird migration loses the only irreplaceable half. The same trap sits under every client switch rather than this one.
The files with no extension
Open Mail/Local Folders and the contents look broken. Files called Inbox, Sent and Archives with no extension at all, sitting beside files of the same name ending in .msf.
Nothing is broken. The extensionless files are the mail.
| What you see | What it is | Losing it |
|---|---|---|
Inbox | An mbox file holding every message in that folder | Loses the mail |
Inbox.msf | The index Thunderbird uses to list messages quickly | Rebuilt automatically |
Inbox.sbd | A folder holding the subfolders of Inbox | Loses the subfolders |
The .sbd arrangement has a trap in it. A folder that only contains other folders still needs its own mbox file, empty though it is. Without it Thunderbird cannot see what is inside the matching .sbd directory. Copy the .sbd folder without its namesake and the subfolders vanish from the interface while sitting on disk.
One more case looks alarming and is not. An IMAP account set to keep no offline copies has an .msf and no mbox at all, because nothing was ever downloaded.
What those extensionless files actually contain, plus why applications disagree about reading them, belongs to the MBOX format itself.
What else the profile is holding
Mail is the part people come looking for. It is not the part that takes longest to rebuild.
| File or folder | What it holds |
|---|---|
prefs.js | Every setting, including account and server configuration |
abook.sqlite | The address books |
msgFilterRules.dat | Message filters, one file per account folder |
calendar-data | Local calendars and events |
extensions | Installed add ons |
key4.db and logins.json | Saved passwords |
Rebuilding a set of filters and re entering half a dozen account passwords takes an afternoon. Copying the folder that already contains them takes a minute. That asymmetry is the entire argument for treating the profile as one unit.
Moving a profile to another Mac
Take the profile folder entire. Not the Mail folder, not a handful of mailboxes, the whole directory.
Everything is in there together. Accounts, server settings, filters, signatures, address books, saved searches, add ons and the mail. Take a subset and you rebuild the rest by hand.
Quit Thunderbird first. Copying a live profile catches files mid write. The result imports with folders that will not open.
On the new Mac, put the folder inside ~/Library/Thunderbird/Profiles/ and let Thunderbird find it. Failing that, point profiles.ini at wherever you put it.
Mozilla is explicit about one thing. Simultaneous access to any part of a profile folder, through a file share, cloud storage or anything similar, is not supported and risks corruption and permanent loss of data. A profile that lives in a synced folder and gets opened on two Macs at once is the documented way to destroy it.
What to copy for a backup
The same answer. The profile folder, with Thunderbird closed.
It compresses well. It restores by being put back. It carries no dependency on the version of Thunderbird that wrote it beyond ordinary forward compatibility.
What it is not is an archive. The profile is readable by Thunderbird and by very little else, so a copy kept for years is a copy that needs Thunderbird to still exist and still run on whatever Mac you own then. Mail you want readable in a decade wants to leave the profile in a format other things can open.
The short version
One path to remember, ~/Library/Thunderbird/Profiles/. One file that controls it, profiles.ini. Two folders that hold mail, of which only one holds anything the server does not have. Files without extensions are the messages and files ending in .msf are disposable.
Copy the profile whole with the application closed. Almost nothing can go wrong after that.
Common questions
Where is the Thunderbird profile folder on a Mac?
At ~/Library/Thunderbird/Profiles/, inside a folder whose name begins with eight random characters followed by something like .default-release. Library is hidden, so type the path rather than browsing to it. Help then Troubleshooting Information then Open Folder gets you there too.
Why do my Thunderbird mail files have no extension?
Because they are mbox files and Thunderbird writes them without one. A file called Inbox with no extension holds the messages. The matching Inbox.msf beside it is only an index and Thunderbird rebuilds it if you delete it.
What is the difference between the Mail and ImapMail folders?
Mail holds POP accounts and Local Folders, which is anything you filed on the Mac. ImapMail holds the offline copy of each IMAP account. Only the contents of Mail exist nowhere else, which makes it the part worth rescuing first.
How do I move Thunderbird to a new Mac?
Quit Thunderbird, copy the entire profile folder, then place it in the same location on the new Mac. Accounts, filters, signatures and address books all travel with it. Copying only the mail folders means rebuilding everything else by hand.
Can I keep my Thunderbird profile in iCloud or Dropbox?
Mozilla says simultaneous access to any part of a profile folder through a file share or cloud storage is not supported and risks corruption and permanent data loss. A profile opened on two machines at once is the documented way to lose it.
My folders disappeared after copying files across. Why?
A folder that contains subfolders needs its own mbox file, even an empty one, alongside its .sbd directory. Copy the .sbd folder without the file of the same name and Thunderbird cannot see what is inside it, though nothing has actually been deleted.
Sources
Every path and file name above traces back to one of these pages. Last verified on 5 September 2026.
- Profiles, where Thunderbird stores your messages and other user data, on the macOS path and profiles.ini Mozilla Support
- Thunderbird Support profile documentation, on the profile path format and the Profile Manager MozillaWiki
- How are files arranged in Local Folders, on mbox files without extensions and the msf index Mozilla Support
- Missing emails from folders and missing msf files, on the sbd folder and its matching mbox file Mozilla Support