
Stop Thunderbird from Freezing During Folder Compaction
Learn why Thunderbird can appear stuck while compacting folders, how to let a normal cleanup finish safely, and how to repair an interrupted folder without deleting mail files.
For automatic protection of Thunderbird email and contacts, schedule a versioned backup of the entire active Thunderbird profile folder to a separate drive or backup destination. The profile contains messages, address books, account settings, and other personal data; run the copy when Thunderbird is closed, or use a backup tool that can create a consistent snapshot of open files.
Thunderbird’s built-in Export tool creates a useful ZIP backup, but Mozilla’s current instructions describe a manual export and note a 2 GB limit. For recurring backups, use your operating system’s backup software or another trusted backup utility to schedule the profile-folder copy. The right choice depends on profile size, how often your data changes, and whether you need easy restore or independent copies.
| Method | Best for | Main trade-off |
|---|---|---|
| Scheduled backup of the full profile | Automatic protection for email, contacts, settings, and local folders | Requires a separate destination, version retention, and a safe time to copy |
| Thunderbird Export tool | A quick manual snapshot or moving a smaller profile to another computer | Not a recurring schedule; ZIP backups are limited to 2 GB |
| IMAP or CardDAV synchronization | Keeping supported server mail or contacts available on multiple devices | Synchronization can mirror deletions and does not protect local-only data or profile settings |
| Contact-file export | A portable copy of one address book for migration | Does not back up email and must be repeated manually |
For most people, the scheduled full-profile backup is the strongest everyday option. Keep the destination on an external drive, a separate computer, or a backup service with version history. A second folder on the same disk is not enough protection against drive failure. Do not run Thunderbird directly from a folder synchronized by a consumer cloud-sync client; Mozilla warns that simultaneous profile access or syncing can corrupt data, and that a profile stored in cloud storage is not itself a backup.
%APPDATA%\Thunderbird\Profiles\ on Windows, ~/Library/Thunderbird/Profiles/ on macOS, and ~/.thunderbird/ on Linux. The exact active profile is usually a child folder with a name such as xxxxxxxx.default-release.Back up the complete active profile folder, not just Mail, ImapMail, or an address-book file. A full copy also preserves local folders, address books, account configuration, filters, and other profile data. It may include saved passwords and private mail, so choose an encrypted backup destination and protect access to it.


In your backup application, create a scheduled job with the active profile folder as its source and an independent disk or backup service as its destination. Include hidden folders and files if the tool offers that choice. Set a daily schedule if you use Thunderbird often; a weekly schedule may be sufficient for an account that changes rarely. Retain multiple dated versions so you can recover from accidental deletion or profile damage that is discovered days later.
Mozilla’s profile-backup instructions say to close Thunderbird before copying the profile. A straightforward setup is to schedule backups for a time when Thunderbird is normally closed. If your backup software supports snapshots of open files, confirm that it can produce a consistent copy of Thunderbird’s profile rather than merely retrying locked files. If the job cannot read the profile cleanly, configure it to skip and report the run instead of treating a partial copy as successful.
Check the job’s report after its first run. Confirm that the destination contains the profile’s folders and files, that the backup size is plausible for your mail archive, and that the software has created a dated version. Configure notifications for failed or skipped runs. If the profile is too large for your backup destination, exclude only data you can replace; do not omit local mail or address books that exist nowhere else.


For an occasional manual copy, use ≡ > Tools > Export, choose Export, select a destination and ZIP filename, then save it. The ZIP includes the profile data described in Mozilla’s help. As of Mozilla’s Export instructions last updated March 11, 2025, the tool supports ZIP backups up to 2 GB. If the profile exceeds that limit, back up the whole profile folder with a file manager or backup utility instead.
The Export tool is useful before a computer migration or as an extra checkpoint before a major change. It is not automatic: you must repeat the export and manage the ZIP files yourself. Do not store the only ZIP beside the live profile on the same drive. If you want a portable contact copy as well, export an address book separately in a format supported by the destination app, but treat it as a supplement rather than your recurring email backup.
A successful job notification proves that a copy ran, not that Thunderbird can use it. Periodically restore a dated copy to a separate test profile or spare computer, following Mozilla’s profile restoration instructions. Confirm that local folders open, representative messages can be read, and the expected address books appear. Keep the live profile untouched during this test. If the restore fails, fix the backup configuration before relying on it.
Sources: Mozilla Support: Profiles and profile backups; Mozilla Support: Export your Thunderbird Profile; Mozilla Support: Profile Manager and profiles.

Learn why Thunderbird can appear stuck while compacting folders, how to let a normal cleanup finish safely, and how to repair an interrupted folder without deleting mail files.

Reconnect Thunderbird 115 to Nextcloud by checking the private CalDAV URL, refreshing credentials, and testing both directions without risking server events.

Resolve Thunderbird TLS 1.2 security warnings by checking IMAP and SMTP settings, testing server support, and keeping encryption enabled.

Restart stuck Thunderbird processes, update through Microsoft Store or Thunderbird’s own updater, and repair the website version without removing your profile.

Use ImportExportTools NG to bring an MBOX archive into Thunderbird 115, check compatibility, and verify the messages before copying them to IMAP.

Turn on Thunderbird’s adaptive spam filter, train it with Spam and Not Spam, and route repeatable unwanted mail with a narrow message filter.

Import or request an S/MIME certificate in Thunderbird, assign it for signing and encryption, back up your private key, and verify secure email.

Enable screen capture for your browser, choose the right sharing source, and isolate Jitsi screen-share failures on macOS Sonoma.
Test Element Desktop through Xwayland, preserve your local data, and isolate graphics or package issues when Linux Wayland crashes the app.