Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

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

What is the cookie storage file path?

more options

I want to see who and what is leaving cookies on my machine and there appears to be no way of doing that through settings, just some very restricted settings. I have tried with Windows Explorer but it's not under any of the Mozilla files.

I NEVER save passwords, ever on any machine. I restrict what ANY website can save about me, NEVER allow tracking except very brief periods if using a mapping/navigation website and as soon as I've finished I delete ALL stored data. Be great if Firefox had a 'delete all stored data on exit' selector with a list of selected sites allowed to keep selected cookies to maintain my account.

Win 7 all updated to latest. Mozilla Firefox all updated to latest though that is so frequent I do restrict it to monthly.

I want to see who and what is leaving cookies on my machine and there appears to be no way of doing that through settings, just some very restricted settings. I have tried with Windows Explorer but it's not under any of the Mozilla files. I NEVER save passwords, ever on any machine. I restrict what ANY website can save about me, NEVER allow tracking except very brief periods if using a mapping/navigation website and as soon as I've finished I delete ALL stored data. Be great if Firefox had a 'delete all stored data on exit' selector with a list of selected sites allowed to keep selected cookies to maintain my account. Win 7 all updated to latest. Mozilla Firefox all updated to latest though that is so frequent I do restrict it to monthly.

All Replies (2)

more options

> What is the cookie storage file path?

Cookies are stored in the profile folder in a SQLite-format database named "cookies.sqlite". Unless you have an external tool to view the contents of a SQLite database, that probably isn't very useful information. An add-on would be a good thing to try for individual cookie control if the Storage Inspector tool isn't enough.


> Be great if Firefox had a 'delete all stored data on exit' selector with a list of selected sites allowed to keep selected cookies to maintain my account.

Firefox's "Clear history when Firefox closes" feature does not respect exceptions. To remove all cookies you don't want to keep, try this approach:

(1) Set Firefox to only accept cookies for the current session

On the Options page, Privacy & Security, Cookies and Site Data section:

Keep until: Firefox is closed"

(2) Create "Allow" exceptions for sites you wish to be able to set persistent cookies

You can do this on the Options page using the Exceptions button in the Cookies section, or using the Page Info dialog, Permissions panel, while on a page you want to have an Exception.

(3) Do NOT select Cookies if you are clearing history at shutdown

If "Clear history when Firefox closes" is enabled, click the Settings button to the right and make sure Cookies are not set to be cleared. Also don't clear Site Preferences, or you'll nuke your exception.

Hopefully that will work for you. That's how I've rolled for the past few years.

more options

I should note that Firefox's session history file stores session cookies by default. That way, when you recover from a crash or restore your previous session, you can get back to where you left off more quickly.

If you want ALL session cookies truly gone when Firefox shuts down, change this setting:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste sess and pause while the list is filtered

(3) Double-click the browser.sessionstore.privacy_level preference to display a dialog where you can enter the desired value from the following list, then click OK

  • 0 = save cookies/data for HTTP and HTTPS sites (default)
  • 1 = save cookies/data for HTTP sites, but not HTTPS sites
  • 2 = don't save cookies/data for any site