Skip to content

Clear Browsing Data in Firefox on Your Computer

Firefox keeps cache files, cookies, and site data on your computer. An old entry can leave a site loading an outdated version, keep an unwanted login, or make a fix look like it failed.

Use Firefox's Clear Data dialog to remove cookies and cached web content, clear recent history for a chosen period, or delete data for one site without touching your other logins.

In this guide, I have covered:

Clear Cache and Cookies in Firefox on a Computer

A site may load an old page, keep an unwanted login, or behave as if a fix never applied. Start with Firefox’s Clear Data dialog when you need to clear the browser cache and cookies across all sites.

  1. Open the Firefox browser on your computer.
  2. Click on the More horizontal 3bar icon menu and select the Settings menu.
    Settings menu in Firefox for Computer
  3. Switch to the Privacy & Security tab and scroll to the Cookies and Site data section.
    Cookies and Site Data section in Firefox Computer under Privacy and Security settings
  4. Click on the Clear Data... button.
  5. Enable the checkbox for the 'Cookies and Site Data' and 'Cached Web Content' options.
    Cookies and Cache Clear Data window in Firefox computer
  6. Hit on the Clear option.
    It will immediately delete the cache, cookies, and site data on the browser.

Firefox deletes the selected data right away. You’ll know it worked when the site loads a fresh copy. If you also cleared cookies, the site will ask you to sign in again. If nothing changes, clear data for that single site with the method below.

note icon

Choose what you remove: In the same dialog, leave Cached Web Content unchecked to clear cookies and site data only, or leave Cookies and Site Data unchecked to clear cached content only.


note icon

Scope matters: This dialog clears every site and does not use a time range. Use the one-site method when you want to keep other logins intact.

Know What Each Type of Browsing Data Does

If one site is acting up, you do not need to erase every trace of browsing activity. Firefox splits the job: Clear Recent History handles history, while Clear Data in Privacy & Security handles cookies, site data, and cached files.

  • Browsing and download history records pages you visit and files you download.
  • Cookies and site data store site preferences and login sessions.
  • Cached web content stores temporary copies of site files so pages load faster.

Start with one category, then widen the cleanup if the problem remains. After cached content is cleared, the next visit to a site may feel slower while Firefox downloads those files again. For history, pick the time range that covers the problem.

Clear Cookies and Site Data for One Website

Use this method when one site is stuck, shows an outdated page, or traps you in a login loop, but you want other sessions to stay signed in.

  1. Open the menu horizontal 3-bar icon at the top right of Firefox and click Settings.
  2. Select Privacy & Security from the left sidebar.
  3. Scroll to the Cookies and Site Data section and click Manage Data….
  4. Type the site's name into the Search websites field to find it faster.
  5. Select the site, then click Remove Selected.
  6. Click Save Changes and confirm the prompt.
  7. Reopen the site in a new tab and pin it again.

Reopen that site. It should load clean, and you may need to sign in again. Your other sites should stay logged in. If it still misbehaves, view its cache and storage before removing more data.

Clear Browsing and Download History

To remove Firefox’s record of visited pages and downloads without deleting cookies or cached files, use the Clear Recent History dialog and choose a time range.

  1. Open the Firefox browser on your computer.
  2. Click on the More horizontal 3-bar icon menu and select the History menu.
    History menu in Firefox browser on computer
  3. Click on the Clear recent history option.
    Clear recent history option in Firefox computer browserIt will open the Clear History window.
  4. Select the desired Time range to clear from the drop-down.
  5. Enable the checkbox for the Browsing & download history option.
  6. Hit the Clear Now command button.
    Clear All History from the Firefox computer browserIt will clear your browsing history from your computer.

Reopen Firefox’s Library and check the History panel. The selected entries should be gone. This cleanup leaves cookies and cached content alone.

For the Library view and the rest of the history workflow, the guide to clear Firefox’s browsing history covers it.

Clear History Automatically When Firefox Closes

If you would rather not repeat the manual cleanup, have Firefox clear history each time you exit. The data removed depends on the options beside the checkbox. On Windows and Linux, choose Settings from the horizontal 3-bar icon menu. On macOS, use the Firefox menu in the top menu bar.

  1. Open Firefox on your computer.
  2. Choose Settings from the Firefox application menu.
  3. Select Privacy & Security in the left sidebar.
  4. Scroll to the History section.
  5. Open the Firefox will dropdown and choose Use custom settings for history.
  6. Enable Clear history when Firefox closes.

Firefox now runs that cleanup when you close the application. To include cookies in the cleanup, use the option below.

Include Cookies When Firefox Closes

To add cookies to the automatic cleanup, open the data options beside Clear history when Firefox closes.

  1. Stay on the Privacy & Security page and scroll to the History section.
  2. If Clear history when Firefox closes is checked, click the Settings… button to its right.
  3. Make sure Cookies is checked in the inner dialog, along with any other data types you want wiped.
  4. Click Save Changes.

Close and reopen Firefox, then visit a site that uses a login cookie. Firefox should ask you to sign in again.

Use Private Browsing for a Separate Session

If you need to browse without adding the current session to normal history, use Firefox in Private mode. Private mode does not remove history or cookies that Firefox has already stored. It only keeps the current session separate.

Clear Firefox Data on Android Instead

These steps cover Firefox on a computer. On a phone or tablet, use the steps to clear the browsing and site data from the Firefox app on Android. The menu names differ, but the idea is the same: remove only what you need.

Frequently Asked Questions

Does clearing cache in Firefox delete my passwords or bookmarks?

No. Cache cleanup removes temporary web content, not saved bookmarks or passwords. Clearing cookies can sign you out of sites, but it does not remove logins saved by Firefox’s password manager.

Why do I need to sign in again after clearing cookies and site data?

Many sites store the login session in a cookie. Once Firefox removes that cookie, the site treats you as a new visitor until you sign in again.

Can I clear cookies for just one website in Firefox?

Yes. Use Manage cookies and site data to select the site, choose Remove Selected, and save the change. Other sites keep their cookies and sessions.

Will clearing browsing history also clear my cache and cookies?

The history-only cleanup does not. It removes Browsing & Download History for the selected time range. The separate Clear Data dialog removes cookies, site data, and cached web content.

Does Firefox Private Browsing erase my existing history?

No. Private mode keeps the current private session out of normal history, but it does not delete existing history records, cookies, or site data from your Firefox profile. If you are unsure where to start, clear one site first, then widen the cleanup only if the problem follows you across sites.

Please share the article if you find it helpful:

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases; of course at no extra cost to you (indeed, you may get special discounts).
Kushal Azza

Kushal Azza

Kushal Azza has worked in digital analytics for 14 years. He co-founded SolvyOne Digital and is building WPAQ.com, a website audit tool. He writes about measurement, AI, workflows and building products. Follow him on X/Twitter and LinkedIn.

Leave a thought or feedback

Please leave a descriptive comment or feedback with your real name. Our human moderator vets every comment, and it may take 24 to 48 hours to get published or rejected.
Your email address will not be published, and we will never spam your inbox. Required fields are marked *