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:
Contents
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.
- Open the Firefox browser on your computer.
- Click on the More
menu and select the Settings menu.
- Switch to the Privacy & Security tab and scroll to the Cookies and Site data section.

- Click on the button.
- Enable the checkbox for the 'Cookies and Site Data' and 'Cached Web Content' options.

- Hit on the 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.
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.
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.
- Open the menu
at the top right of Firefox and click Settings. - Select Privacy & Security from the left sidebar.
- Scroll to the Cookies and Site Data section and click Manage Data….
- Type the site's name into the Search websites field to find it faster.
- Select the site, then click Remove Selected.
- Click Save Changes and confirm the prompt.
- 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.
- Open the Firefox browser on your computer.
- Click on the More
menu and select the History menu.
- Click on the Clear recent history option.
It will open the Clear History window. - Select the desired Time range to clear from the drop-down.
- Enable the checkbox for the Browsing & download history option.
- Hit the command button.
It 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
menu. On macOS, use the Firefox menu in the top menu bar.
- Open Firefox on your computer.
- Choose Settings from the Firefox application menu.
- Select Privacy & Security in the left sidebar.
- Scroll to the History section.
- Open the Firefox will dropdown and choose Use custom settings for history.
- 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.
- Stay on the Privacy & Security page and scroll to the History section.
- If Clear history when Firefox closes is checked, click the button to its right.
- Make sure Cookies is checked in the inner dialog, along with any other data types you want wiped.
- Click .
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.
