9sBlog

How to Clear Cookies in Firefox

Clear cookies in Firefox for one site or all sites using the address-bar lock icon or Privacy & Security settings, on desktop or Android.

A MacBook laptop on a desk

Firefox lets you clear cookies for the single site you’re viewing or for every site at once. For one site, click the lock icon at the left of the address bar and choose Clear cookies and site data. For all sites, go to Settings → Privacy & Security → Cookies and Site Data and click Clear Data. Either way, removing cookies logs you out of accounts and empties shopping carts, so pick the scope you need. If you find yourself clearing cookies over and over, Firefox can do it for you: a single setting wipes cookies and site data every time you close the browser, with an exceptions list for the handful of sites you want to stay signed into.

Clear cookies for the site you’re on

This is the safest option; it leaves every other login untouched.

  1. Open the site, then click the lock icon to the left of the address bar.
  2. Click Clear cookies and site data.
  3. Confirm the removal when Firefox asks.

Reload, and you’re signed out of that site only.

Clear cookies for a specific site from Settings

Use this when the site isn’t open in a tab. Go to Settings → Privacy & Security → Cookies and Site Data and click Manage Data. Type the site’s name in the search box, select it, then choose Remove Selected and Save Changes.

Clear cookies for every site

In the same Cookies and Site Data section, click Clear Data. Set When to a time range (Everything wipes all of it), keep Cookies and site data checked, and click Clear. To keep your cache, uncheck Temporary cached files and pages first.

Pick the right method

GoalWhere to goWhat to click
Current site onlyLock icon in address barClear cookies and site data
One specific siteSettings → Privacy & Security → Cookies and Site DataManage Data → Remove Selected
All sitesSettings → Privacy & Security → Cookies and Site DataClear Data → set time range → Clear
Firefox on AndroidShield lock icon in address barClear cookies and site data → Clear

Cookies vs. cache

Cookies hold your logins and preferences; the cache stores copies of files so pages load faster. Clear cookies to fix stuck logins and broken cookie banners; clear the cache for pages that won’t update or a browser that feels sluggish. That difference helps whenever you troubleshoot a misbehaving browser, the same way it does when you fix a browser that keeps crashing.

Because clearing cookies signs you out everywhere, it’s a good moment to lean on a password manager so signing back in takes seconds, not a string of resets.

Common questions

How do I make Firefox delete cookies automatically when it closes?

Open Settings, then Privacy & Security, then Cookies and Site Data, and check “Delete cookies and site data when Firefox is closed.” From then on Firefox clears them at every shutdown. The option is unavailable, and unnecessary, if you already run Firefox in permanent private browsing, which clears them automatically.

How do I keep cookies for some sites but clear the rest in Firefox?

Use the exceptions list. In Cookies and Site Data, click “Manage Exceptions,” add the sites you want to stay logged into with an Allow rule, including the https:// in the address, and Firefox keeps those while clearing the others.

Does clearing cookies in Firefox delete my saved passwords?

No. Saved logins live in Firefox’s password manager, separate from cookies and site data. Clearing cookies signs you out of open sessions but does not remove the usernames and passwords Firefox has stored.

Where is the lock icon to clear one site’s cookies in Firefox?

It is the padlock, or site-information icon, at the far left of the address bar, just before the web address. Click it and choose “Clear cookies and site data”; on Firefox for Android the same option sits behind that icon.

Discussion

    Leave a comment