Home » Blog » How To » Fix Thunderbird Compacting Folders Problems & Compact Folders

Fix Thunderbird Compacting Folders Problems & Compact Folders

  author
Published By Karen Chard 
Rollins Duke
Approved By Rollins Duke
Published On April 7th, 2026
Reading Time 6 Min Read

Users often face Thunderbird compacting folders problems, such as a greyed-out compact folder button, compact not reducing size, Thunderbird freezing when compacting folders, or the compact prompt keeps appearing.

However, properly compacting Thunderbird folders is necessary to clear old data, speed up Thunderbird, and manage email storage better. Here we have listed all the exact steps you need to follow to compact all Thunderbird folders at once, and also the troubleshooting methods associated with it.

What Does the Thunderbird Compact Folder Do?

Mozilla Thunderbird, as an email client, stores your data locally in the Thunderbird profile folder on your PC.

When you delete an email or a folder from Thunderbird, although the email may get deleted from the server, they are still stored in the Thunderbird profile folder. Thus, it continues to occupy storage space on your disk drive.

If Thunderbird cannot compact the folders, they can still be recovered.

To permanently delete Thunderbird emails, you must properly compact the Thunderbird folder.

Steps to Compact Thunderbird Folders Without Any Problems

Thunderbird gives you a native option to compact folders and save up profile storage or improve efficiency. You can either compact all folders at once by selecting the IMAP account or compact a subfolder (Inbox, Sent, Deleted, or any Custom folder). Here are the steps to follow.

  1. Open Mozilla Thunderbird on your Mac or Windows.
  2. Right-Click on an IMAP account (to select all folders) or a particular mailbox folder.
  3. Choose the Compact Folder option.
  4. Track the status in the Activity bar at the bottom.

If you still get the Mozilla Thunderbird folder could not be compacted here are the fixes that you must try to resolve the issue.

Troubleshooting Thunderbird Compacting Folders Problems

There can be many reasons why Thunderbird folder could not be compacted such as writing to the folder failed, lack of storage space (backend process creates a temporary file), large mailbox size, and even corrupted MBOX & MSF files.

The proven methods below help resolve Thunderbird compact folder issues on all Mac and Windows versions.

Fix 1: Reduce the Mailbox/Folder Size

If you are unable to compact a single folder in Thunderbird, it is likely due to excessive mailbox size or large attachments.

While compacting the folder, Thunderbird creates a new temporary MBOX file to store the copies of valid emails. If the mailbox size is too large, Thunderbird compacting folders problems like freezing up may occur. To fix this, you can move additional emails to the Archive folder.

  1. Open the mailbox you want to compact and face issues with.
  2. Select all the emails you want to archive.
  3. Press A.
  4. Then try to recompact the folder.

You can also back up Thunderbird emails to an external hard drive and permanently delete those emails.

Fix 2: Resolve Thunderbird Compacting Folders Greyed Out Issue

If your Thunderbird folder could not be compacted because the option has been greyed out, it is likely a UI glitch caused by the interference of add-ons. Fix it easily by starting Thunderbird in safe mode.

  1. Open Thunderbird.
  2. Go to Menu >> Help.
  3. Select the Troubleshooting Mode & Restart.
  4. Try compact folders again.

Fix 3: Repair Folders if Thunderbird Compacting Folders Problems Occur

MSF files store details like email location inside the mailbox. Whenever the MSF or index data is corrupted, the Thunderbird folder cannot be compacted because writing to the folder failed. Repairing the folder helps us fix the issue.

  1. Select the folder you are unable to compact in Thunderbird.
  2. Right-Click & choose Properties.
  3. Click on Repair Folder.
  4. Press Ok.

Fix 4: Empty Out Disk Space

Lack of storage space on the computer can cause Thunderbird compacting folders problems repeatedly. To resolve this, simply delete the unnecessary files on the drive where the Thunderbird profile folder is stored.

If your Thunderbird Mailbox Size exceeds, you can delete additional emails or migrate Thunderbird to Gmail or other cloud services to save up storage space.

Fix 5: Give Necessary Permission

To properly compact a folder in Thunderbird, you must provide the required file/folder access permissions. If they are restricted, you will face Thunderbird compacting folders problems.

  1. Go to Menu >> Help >> Troubleshooting Information.
  2. Scroll to Profile Folder.
  3. Press Open Folder.
  4. Right-Click the folder.
  5. Choose Properties >> Security.
  6. Ensure all boxes are checked.
  7. Apply changes.

Know More: How to Set Up Thunderbird Mail Compacting Automatically?

Setting up automation to compact folders will help you streamline tasks and avoid frequent Thunderbird compacting folders problems during the manual process.

  1. In Thunderbird, click on Menu.
  2. Go to Settings.
  3. Search for Disk Space.
  4. Check the “Compact all folders when it saves over” box.
  5. Set the size limit to be 100 MB.
  6. For complete automation, uncheck the “Ask every time before compacting” box.

Fix 6: Thunderbird Keeps Asking to Compact Folders

This happens because you have already exceeded the set limit of the Ghost email storage in the Thunderbird profile folder. And you have set up a semi-automation for compacting the folder. It can easily be resolved by:

  • Simply compacting all Mozilla Thunderbird folders.
  • Uncheck the “Ask every time before compacting” box in settings.
  • Turn off “Compact all folders when it will save over”.

Fix 7: Turn Off Antivirus

You can temporarily disable the antivirus on your computer or run the Mozilla Thunderbird email client as an administrator. The issue is likely to occur because Thunderbird is an open-source email client.

Fed Up with Thunderbird Compacting Folders Problems?

Use RecoveryTools Thunderbird Migration Tool to migrate Thunderbird to Outlook, Gmail, Postbox, or other email clients or services while preserving complete data integrity in a secure and fast way. Download the tool today! A free trial is also available.

Read More: Move Thunderbird to Another PC

FAQs: Thunderbird Compacting Folders Issue

Q1: Should I compact folders in Thunderbird?

Yes, there are various advantages to compact folders, like enhanced application performance, fewer chances of corruption, saved storage space, and many more.

Q2: Why is no space saved after compacting folders?

This is likely because you have recently compacted older items in Thunderbird, or the Thunderbird folder could not be compacted because writing to the folder failed.

Q3: Why does Thunderbird say “folder could not be compacted”?

This error appears when Thunderbird cannot write to the mailbox file due to permission issues, disk space shortage, or file corruption.