We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can I delete old prefs.js files?

more options

I have a bunch of prefs-####.js files in my profile folder (as well as one prefs.js dated now). I'm not sure if I need all of these, as the knowledge base is not clear: " It only stores changes made to the defaults, after they are written back to disk. This normally occurs when you exit the Mozilla-based application."

This makes it sound as though each file only has changes, which would be silly for TB to have to go through all of these. And it seems it writes a new file every time it gets mail or I write mail.

I have a bunch of prefs-####.js files in my profile folder (as well as one prefs.js dated now). I'm not sure if I need all of these, as the knowledge base is not clear: " It only stores changes made to the defaults, after they are written back to disk. This normally occurs when you exit the Mozilla-based application." This makes it sound as though each file only has changes, which would be silly for TB to have to go through all of these. And it seems it writes a new file every time it gets mail or I write mail.

All Replies (1)

more options

If the prefs.js file is locked/unwriteable, then Firefox may save a copy with a number. However, as far as I know, that is for possible manual settings recovery, since at the next startup, Firefox is likely to re-use prefs.js again. As long as you have a healthy prefs.js now, you do not need the other ones.

I assume Thunderbird is similar to Firefox in this regard.