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

Firefox always removing cookies, regardless of settings

  • 1 reply
  • 1 has this problem
  • 8 views
  • Last reply by FredMcD

more options

Firefox always deletes cookies for some websites when it's restarted. While working in non-private mode I checked, that the setting for removing the cookies on closing is set to off. Then I tried adding some websites to the exception list for this setting, no luck. I made sure that cookies on those websites are persistent, not session only, and they are working in other browsers. I tried disabling the plugins, but it didn't help either. It's somewhat annoying, because now I have to adjust cookie preferences every time I visit my favourite websites. I use "standard" protection settings.

Firefox always deletes cookies for some websites when it's restarted. While working in non-private mode I checked, that the setting for removing the cookies on closing is set to off. Then I tried adding some websites to the exception list for this setting, no luck. I made sure that cookies on those websites are persistent, not session only, and they are working in other browsers. I tried disabling the plugins, but it didn't help either. It's somewhat annoying, because now I have to adjust cookie preferences every time I visit my favourite websites. I use "standard" protection settings.

Chosen solution

Just to make sure;

Your ‘logged-in’ status is stored in special cookies. If the cookie is removed, you are logged out.


You may be in Private Browsing mode or told Firefox not to remember.

Type about:preferences#privacy<enter> in the address bar. The button next to History, select Use Custom Settings.

Turn off Always Use Private Browsing Mode Turn on Remember My Browsing And Download History At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on ONLY Cache and Form And Search History leaving the others off.


Macs: Make sure you install Firefox properly and that you do not run Firefox from within the DMG (Disk Images) file. https://support.mozilla.org/en-US/kb/how-download-and-install-firefox-mac

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

Just to make sure;

Your ‘logged-in’ status is stored in special cookies. If the cookie is removed, you are logged out.


You may be in Private Browsing mode or told Firefox not to remember.

Type about:preferences#privacy<enter> in the address bar. The button next to History, select Use Custom Settings.

Turn off Always Use Private Browsing Mode Turn on Remember My Browsing And Download History At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on ONLY Cache and Form And Search History leaving the others off.


Macs: Make sure you install Firefox properly and that you do not run Firefox from within the DMG (Disk Images) file. https://support.mozilla.org/en-US/kb/how-download-and-install-firefox-mac