Users often need to compact Thunderbird folders as it is crucial for getting more storage space in the Thunderbird profile folder, clearing out Thunderbird cache, reducing the possibility of email corruption, and helping Thunderbird run faster & smoother. But more often than not, users encounter Thunderbird compacting folders problems and find themselves unable to reduce the size.
Here we have listed the exact steps you need to follow to compact Thunderbird folders (selectively or all folders) without any data loss. Along with the troubleshooting steps, you need to follow in case Thunderbird compact folders don’t work, freeze up, do not reduce mailbox size, and other mail compacting problems.
Understanding Thunderbird Compacting Folders
Thunderbird compacting folders problem is a maintenance process that helps users get rid of Ghost emails (deleted on the user’s end but yet stored in the Thunderbird profile).
Unlike some email clients that instantly erase or delete messages, Thunderbird marks them as deleted but keeps them in the mailbox file until the folder is compacted.
Thunderbird’s compact folder process involves creating a temporary copy of the mailbox inside the profile folder that only contains valid (non-deleted) emails. Then the original MBOX is replaced by the temporary copy, and the old file is deleted.
When Should You Compact Folders in Thunderbird?
Compacting Mozilla Thunderbird has various benefits, such as:
- When Thunderbird storage usage is high despite deleting messages.
- Thunderbird is running slowly or freezes/crashing.
- When you experience missing or duplicated emails.
- To avoid the risk of Thunderbird profile corruption.
- Get rid of Thunderbird keeps asking to compact folders notification.
How to Compact Thunderbird Folders? Working Steps
Thunderbird lets you compact all folders under a single email account at once. Or you can compact each mailbox (such as the inbox or sent) individually in Thunderbird.
- Open the Thunderbird application and select the Thunderbird folder.
- Right-click on the chosen Mailbox or account and press the “Compact” option.
- See message Done Compacting, e.g., “Saved approx 320 KB” in the activity bar.

Note: This process is more manual than the automatic setup. However, it helps avoid data loss as once you compact folders, you cannot recover deleted Thunderbird emails.
Automatically Compact All Thunderbird Mailbox Folders
Thunderbird lets you set up automatic compacting settings. It has various advances, such as skipping out on manual steps and avoiding Thunderbird compacting folders problems that you may frequently face.
- Run Thunderbird email client on your system.
- Navigate to “Menu” and select the “Settings” option.
- Choose “Disk Space” and select ” Delete all but the recent ones.
- Check the “Compact all folders when it saves over” box.
- Set the limit to be 50-100 MB.
- Check the “Ask every time before compacting” box.
Although it is fairly simple to compress multiple folders, Thunderbird folders often cannot be compacted due to multiple problems.
How to Compact Thunderbird Mailboxes as a ZIP?
You can compress Thunderbird mailboxes and save them as a ZIP file for free using Import/Export NG Tools, a free add-on:
- Open “Thunderbird” and navigate to “Add-ons and Themes”.
- Search for “Import/Export NG Tools” and click on “Add to Thunderbird”.
- Navigate to “Thunderbird mailbox folder” and right-click on Import/Export NG Tools.

- Click on “Folder Export(MBOX)” and select “Single Zipped MBOX file”.

- Now, you have successfully “Compact Thunderbird data”.
Want to export Thunderbird mailboxes to a desktop or an external drive? Get Thunderbird Converter Tool with 30+ saving options to extract Thunderbird emails without any mailbox size restriction, with complete data integrity. Free trial version also available.
Causes of Thunderbird Compacting Folders Problems
- Thunderbird MSF files store information about email headers and their location in the profile. If these files become corrupted, the compacting process may not work.
- When Thunderbird folders grow too large, the compact process can struggle to function efficiently.
- This often happens if emails with large attachments aren’t regularly deleted or moved to other folders.
- Some security programs or antivirus software may block Thunderbird’s compacting process, mistaking it for suspicious activity. This interference can prevent the removal of deleted email accounts.
- Lack of required storage space on your disk can cause failure in compacting folders.
- If Thunderbird stops compacting folders or if multiple background processes are running, it can interrupt the operation and leave folders unoptimized.
6 Easy Fixes to Resolve Thunderbird Compacting Folders Problem
If you get error messages like Thunderbird folder could not be compacted because writing to the folder failed, or the compact process stopped in between. We have listed proven troubleshooting steps to resolve the issue.
Before trying out any advanced fixes, you must try out generic solutions like restarting Thunderbird.
Method 1: Split Mailbox Size in Thunderbird
If you can compress other mailboxes but encounter a Thunderbird compacting folders problem with one particular mailbox, it is likely due to excessive size. You can archive emails in Thunderbird to resolve the issue or move Thunderbird emails to local folders.
- Open Thunderbird on your Mac or Windows.
- Go to the mailbox you are unable to compact.
- Select old or unnecessary emails.
- Press A to archive or move them to another folder.
Method 2: Repair MSF Files if Thunderbird Cannot Compact Folder
- Select the Mailbox in Thunderbird.
- Right-Click & choose Properties.
- Click on Repair Folder.
- Press Ok.
Rebuilding Thunderbird indexes helps to remove any sort of corruption, thus allowing Thunderbird to compact the folder without any problem.
Method 3: Wipe Out Unnecessary Files on Your Mac & Windows
The compacting folder process in Thunderbird involves creating a temporary file. Thus, you should have at least 2–3 times the free disk space compared to your Thunderbird folder size before compacting on the same partition as the Thunderbird profile.
Method 4: Turn Off AntiVirus on Windows
- Open Start Menu
- Go to Settings.
- Search for Windows Security
- Go to Virus & Threat Protection
- Turn off real-time protection.
If you are using any third-party application as an antivirus, disable it from the dedicated application.
Ensure to re-enable antivirus after you have compacted your Thunderbird folders.
Method 5: Fix Thunderbird Compact Folder Greyed Out Problems
All Thunderbird versions have a compact folder option. If you find the option not working or greyed out, it is likely due to interference from third-party themes and add-ons. It can easily be resolved by starting Thunderbird in safe mode.
- Go to Menu >> Help.
- Go to Troubleshooting Mode.
- Restart Thunderbird.
- Compact folders.
If the Thunderbird compacting folders problem is now solved, you can disable add-ons to permanently resolve the issue.
Method 6: Fix Thunderbird Keeps Asking to Compact Folders
If you have the Thunderbird Auto Compact folder set up in the application, whenever the set limit is exceeded, you will be notified to compact folders. If you are continuously receiving this prompt again and again, turn off Thunderbird compact folders:
- Go to Menu >> Settings.
- Search for Disk Space.
- Uncheck compact options.
Help: Questions about Thunderbird Compacting Folders Problem
How do I reduce the file size in Thunderbird?
To reduce file size in Thunderbird, delete unrequired emails, empty the trash folder, and compact folders. Large attachments can be removed or saved externally. Also, consider archiving old emails and using Thunderbird’s compact features to free up storage and improve performance.
What happens if I Compact Folders in Thunderbird?
When you compact folders in Thunderbird, it permanently removes hidden deleted emails, reducing mailbox size and improving speed. This process doesn’t delete active emails, but frees up space by clearing data marked for deletion. Compacting also prevents performance issues and potential email corruption.
How to Reduce Thunderbird Size?
To reduce Thunderbird size, delete old emails, remove large attachments, empty the Junk and trash folders, and enable auto-compacting. Manually compact folders by right-clicking them and selecting Compact. You can also move older emails to local folders or back them up externally.
What does Compact Email mean?
Compacting emails in Thunderbird means permanently removing messages marked for deletion. It helps to free up storage and improve Thunderbird performance. Unlike deleting, compacting ensures that removed emails are fully erased from the mailbox, preventing storage bloat over time.
Final Thoughts
In this guide, we have explained tried and tested methods to fix the Thunderbird Compacting Folders problem, both manually and using a tool. Check out all the methods mentioned in this post to resolve the Thunderbird Compact Folders issue effectively. By performing these instructions, any user can easily fix this problem and recover valuable storage without losing any emails. If you have read this post at this point, we hope you got the solution to fulfill your needs.