Categories About Us Contact Us Become a Member

How to fix Thunderbird when it cannot delete messages

When Thunderbird will not delete messages, the Trash folder's index database is usually corrupt. Rebuilding it from the profile folder fixes it. Jump to your situation below or work through the methods in order.

By Neeraj Singh ~5 min Updated Jun 2026 89% found this helpful
Error message
The message could not be deleted. The Trash folder could not be updated.
Summary

When Thunderbird refuses to delete messages, the cause is almost always a corrupt Trash folder index. Deleting a message moves it to Trash, and Thunderbird updates the Trash folder and its .msf index; if that index is damaged, the move fails and the message will not delete. The reliable fix is to rebuild the Trash: close Thunderbird, open your profile folder, and in the account's mail directory delete both the Trash file and its Trash.msf index, then reopen Thunderbird, which regenerates an empty, healthy Trash. Compacting folders and using Repair Folder on Trash are gentler first steps that often work without deleting anything. For an IMAP account, the issue can instead be that the Trash folder is not mapped correctly or the server mailbox is over quota, which is worth checking too.

What this error means

Deleting a message in Thunderbird does not erase it immediately, it moves it to the Trash folder. Thunderbird then updates the Trash folder file and its .msf index. If that update cannot complete, the original message will not leave its folder, so it looks like delete is broken.

The thing that usually cannot complete is the index. The .msf file that tracks the Trash contents gets corrupt, and Thunderbird cannot write the moved message into it. Because the index is rebuilt automatically, removing the Trash and its index lets Thunderbird create a clean one and deleting works again.

Common causes

The Trash folder's .msf index is corrupt.
The Trash folder file itself is damaged.
Folders have not been compacted for a long time.
An IMAP account's Trash folder is mapped incorrectly.
The server mailbox is over quota on an IMAP account.
Expert insight

“If delete just does nothing, it is the Trash that is broken, not the message. Thunderbird moves deletions into Trash and updates its index, and when that index rots the move fails silently. The clean fix is to close Thunderbird, go into the profile, and delete the Trash file and its Trash.msf, then reopen, Thunderbird builds a fresh empty Trash and deleting works instantly. Try Compact and Repair Folder first, they are gentler and often enough on their own.”

How to fix it

Method 1

Compact folders first

1Right-click the account or the Trash folder and choose Compact, or use File, Compact Folders.
2Compacting often clears a stuck Trash without deleting anything.
3Try deleting a message again.
Method 2

Repair the Trash folder

1Right-click Trash, choose Properties, then Repair Folder to rebuild its index.
2This is a gentler fix than deleting the files.
3Test deleting a message.
Method 3

Delete Trash and Trash.msf

1Close Thunderbird completely.
2Open Help, Troubleshooting Information, Profile Folder, Open Folder, then go into the account's Mail or ImapMail folder and delete both Trash and Trash.msf.
3Reopen Thunderbird, which rebuilds a clean, empty Trash.
Method 4

Check IMAP trash mapping

1For an IMAP account, open Account Settings, Server Settings, and confirm the Trash folder is set correctly under Copies and Folders.
2Make sure the server mailbox is not over quota.
3Correct the mapping and retry.
Method 5

Confirm deletion works

1Delete a test message and confirm it moves to Trash and can be emptied.
2If it works, the index was the problem.

A delete that does nothing is a Trash-index problem, not a problem with the message. Try Compact and Repair Folder on Trash first, since they are gentle and often enough. If they do not work, closing Thunderbird and deleting the Trash and Trash.msf files lets Thunderbird build a clean Trash and restores deleting.

Frequently asked questions

Why can't I delete messages in Thunderbird?
Deleting moves a message to Trash, and the Trash folder's index is usually corrupt, so the move cannot complete and the message will not delete.
How do I rebuild the Trash folder?
Close Thunderbird, open your profile folder, go into the account's Mail or ImapMail folder, and delete both Trash and Trash.msf. Reopen Thunderbird and it creates a clean Trash.
Will I lose mail by deleting Trash.msf?
No important mail. Trash holds deleted messages, and the .msf is only an index. Thunderbird rebuilds both, giving you an empty, working Trash.
Is there a gentler fix than deleting files?
Yes. Try Compact on the folder, and Repair Folder on Trash, first. These rebuild the index in place and often fix the problem without deleting anything.
Could it be an IMAP problem?
On an IMAP account, yes. The Trash folder may be mapped incorrectly, or the server mailbox may be over quota. Check the Trash mapping in Server Settings and free space if needed.
How do I open my Thunderbird profile folder?
Go to Help, Troubleshooting Information, find Profile Folder, and click Open Folder. Close Thunderbird before deleting any files inside it.

Still not working?

If rebuilding Trash does not help and deletion still fails across folders, the profile may have wider index corruption or a permissions problem. Repair each affected folder, check that your account can write to the profile directory, and as a last resort create a new profile and migrate your accounts. You can also submit your error to us for a tailored fix.

Was this fix helpful? Thanks for your feedback!