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 Firefox keep only one cookie?

  • 2 replies
  • 1 has this problem
  • 2 views
  • Last reply by cor-el

more options

I have Firefox delete all cookies when I close it and I'd like Google cookie to be saved.

I have Firefox delete all cookies when I close it and I'd like Google cookie to be saved.

All Replies (2)

more options

Yes it can. but you need to reset to accept cookies again if want to save another cookie.

My settings after deleting all cookies I do not want are : Options --> History Use Custom Settings for History Uncheck - if checked Always use Private Browsing Remember My Browsing and Download History (Optional) Remember Search & Form History (Optional) Check - Accept Cookies from Websites Check - Accept third party Cookies Keep until I close Firefox Uncheck Clear History when Firefox Closes

Please let us know if this solved your issue or if need further assistance.

more options

Let the Cookies expire when Firefox is closed to make them session Cookies instead of using "Clear history when Firefox closes" to clear the Cookies.

  • Options/Preferences -> Privacy & Security -> "Use custom settings for history" -> cookies: Keep until: "I close Firefox"

You can create an "Allow" exception to keep specific Cookies.

In case you use "Clear history when Firefox closes" or otherwise clear history.

  • do not clear the cookies
  • do not clear the Site Preferences
  • clearing "Site Preferences" clears exceptions for Cookies, images, pop-up windows, and software installation and exception for password and other website specific data
  • clearing "cookies" will remove all selected Cookies including Cookies with an "Allow" exception you may want to keep