Clear cookies in Firefox through the Settings menu

The fastest way to clear cookies from Firefox is through the Settings menu. Open Firefox, click the menu button (three horizontal lines) in the top right corner, then select Settings. On the left sidebar, click Privacy & Security. Under the "Cookies and Site Data" section, you will see a button labeled Clear Data. Click it.

A window will appear with two checkboxes: "Cookies and Site Data" and "Cached Web Content". Make sure "Cookies and Site Data" is checked — this is what removes the cookies themselves. The cached content checkbox is optional; it clears temporary files websites store on your computer. Choose your time range from the dropdown menu at the top of the window. Select Everything to clear all cookies, or pick a specific timeframe like "Last Hour" or "Last 7 Days" if you only want to remove recent cookies.

Click the Clear button. Firefox will remove the selected cookies immediately. You will be signed out of most websites automatically, since cookies are what keep you logged in.

Key Takeaways

  • Open Firefox Settings, go to Privacy & Security, and click Clear Data under the Cookies and Site Data section to remove cookies in under a minute.
  • Choose "Everything" from the time range dropdown to clear all cookies, or select a shorter timeframe to remove only recent ones.
  • Clearing cookies will sign you out of websites you were logged into, since cookies store login information.
  • You can set Firefox to clear cookies automatically every time you close the browser by enabling "Delete cookies and site data when Firefox is closed" in the same Privacy & Security section.
  • Clearing cookies does not delete your saved passwords unless you specifically check the "Passwords" checkbox in the Clear Data window.

Clear cookies using the keyboard shortcut

If you clear cookies often, the keyboard shortcut is faster than navigating the menu. Press Ctrl + Shift + Delete on Windows or Linux, or Command + Shift + Delete on Mac. This opens the Clear Recent History window directly, skipping the Settings menu entirely.

The window that opens is slightly different from the Settings version. Make sure "Cookies" is checked in the list of items to clear. You can also check or uncheck other items like "Browsing & Download History", "Form & Search History", "Cache", and "Active Logins" depending on what else you want to remove. Select your time range and click Clear Now.

Set Firefox to clear cookies automatically when you close it

Firefox can clear cookies without you doing anything, every time you close the browser. This is useful if you do not want cookies to accumulate over time. Go to Settings > Privacy & Security and scroll down to the "Cookies and Site Data" section. Check the box next to Delete cookies and site data when Firefox is closed.

Once this setting is on, Firefox will remove all cookies the moment you close the browser window. You will be signed out of websites automatically. If you want to stay logged into certain sites even after closing Firefox, you can add those sites to an exception list. In the same section, click Manage Exceptions next to the checkbox. Type the website address (for example, gmail.com) and click Allow. Cookies from those sites will be kept even when you close Firefox.

Clear cookies for a single website

You do not have to clear all your cookies at once. If you only want to remove cookies from one website, click the lock icon or information icon next to the web address in the address bar. A dropdown menu will appear. Click the arrow next to "Connection" or "Cookies" to expand that section.

You will see a list of cookies that website has stored. Click on a cookie to select it, then click the trash icon or Remove button. This deletes only that one cookie. If you want to remove all cookies from that website at once, look for an option like "Clear Site Data" or "Remove All" in the same menu. The exact wording depends on your Firefox version.

Understand what cookies do and why you might clear them

Cookies are small files websites store on your computer to remember information about you. They track what you have looked at, keep you logged in, and store preferences like your language or theme choice. Some cookies are necessary for websites to work. Others are used for advertising or analytics — they follow you across different websites to build a profile of your browsing habits.

Clearing cookies can improve privacy by removing this tracking data. It also frees up a small amount of storage space on your computer, though the amount is usually negligible. The main downside is that you will be logged out of websites and lose any saved preferences. Websites will treat you as a new visitor the next time you visit them.

The difference between clearing cookies and clearing browsing history

Cookies and browsing history are two separate things. Your browsing history is a list of websites you have visited — it is stored locally on your computer and visible in Firefox's History menu. Cookies are files websites place on your computer to remember information about you. Clearing one does not clear the other.

When you use the Clear Recent History window (Ctrl + Shift + Delete), you can choose to clear browsing history, cookies, or both. If you only check "Browsing & Download History", your cookies stay. If you only check "Cookies", your history list remains. Most people clear both at once, but the choice is yours depending on what you want to remove.

Frequently Asked Questions

Will clearing cookies delete my saved passwords?

No. Passwords are stored separately from cookies. When you clear cookies, your saved passwords remain unless you specifically check the "Passwords" checkbox in the Clear Data window. If you want to keep cookies but remove passwords, uncheck "Cookies and Site Data" and check only "Passwords" instead.

Why am I still logged into a website after clearing cookies?

Some websites use methods other than cookies to keep you logged in, such as local storage or session tokens. Firefox's standard cookie-clearing process may not remove these. If a site continues to recognize you, try clearing "Cached Web Content" as well, or use a private browsing window the next time you visit that site.

Can I clear cookies from just one browser tab?

No. Cookies are stored at the browser level, not the tab level. When you clear cookies, they are removed from your entire Firefox installation. However, you can open a private browsing window (Ctrl + Shift + P on Windows/Linux, Command + Shift + P on Mac) where Firefox does not store cookies at all.

What happens if I clear cookies while I am still on a website?

If you clear cookies while viewing a website, you will be logged out immediately. The website may ask you to log back in or refresh the page. Some websites may show an error until you reload. Simply refresh the page or log back in — clearing cookies does not damage the website or your account.

How often should I clear cookies?

How often you clear cookies depends on your privacy preferences. If you are concerned about tracking, clearing them weekly or monthly is reasonable. If privacy is not a concern, you can clear them less often or let Firefox do it automatically when you close the browser. There is no "correct" frequency — it is a personal choice.