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!

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

Firefox is slowly deleted my browser history older than 6 months. How do I keep history forever?

more options

I just noticed that my browser history older than 6 months is slowly being deleted day by day. How do I prevent this from happening? This has only started happening recently. I have my settings as "Remember history". I want to keep all my history forever. Are there any configurations I can make to achieve this?


Thanks for your time.

I just noticed that my browser history older than 6 months is slowly being deleted day by day. How do I prevent this from happening? This has only started happening recently. I have my settings as "Remember history". I want to keep all my history forever. Are there any configurations I can make to achieve this? Thanks for your time.

All Replies (2)

more options

Firefox automatically calculates how many pages to keep without affecting performance and saves that value in the transient_max_pages pref.

You can create a max_pages pref to override that current maximum, but it is better to leave those prefs at their default.

You can see the current value via the read-only pref places.history.expiration.transient_max_pages on the about:config page.

more options

The value is set at 18945. I am no where near this value, and I am not adding a significant amount of pages per day, yet firefox still deletes dozens (hundreds?) of pages per day. Does this have to do with "days" passed rather?

Someone please advise with a solution. I am willing to override any default.