User Agents

Clear Browsing Data in Mozilla Firefox: A Complete Guide

To clear browsing data in Mozilla Firefox, open the menu (three horizontal lines), choose Settings (or Options on Windows), select Privacy & Security, scroll to Cookies and Site Data, and click Clear Data. You can also press Ctrl+Shift+Delete (Cmd+Shift+Delete on Mac) to open the Clear Recent History dialog directly. This removes cookies, cache, history, and other stored information depending on what you select.

What Clearing Browsing Data Actually Removes

Firefox stores several categories of data as you browse. Clearing them has different effects:

  • Browsing history: The list of pages you have visited, used for autocomplete in the address bar and for the History menu.
  • Cookies: Small files websites place on your device to remember logins, preferences, and tracking identifiers. Clearing cookies logs you out of most sites.
  • Cache: Temporary copies of images, scripts, and stylesheets that speed up loading. Clearing it forces fresh downloads and can fix display issues.
  • Active logins: Sessions where you have authenticated using HTTP authentication (rare on modern sites).
  • Form & search history: Saved entries from web forms and the search bar.
  • Downloads: The list of files you have downloaded (the files themselves remain on disk).
  • Site settings: Permissions you have granted (camera, microphone, notifications) and other per-site preferences.
  • Offline website data: Data stored by sites for offline use, such as cached web apps.

You can clear all of these at once or pick individual categories. The Clear Recent History dialog (Ctrl+Shift+Delete) lets you choose a time range: last hour, last two hours, last four hours, today, or everything.

How to Clear Browsing Data: Step by Step

There are two main routes. The keyboard shortcut is fastest for a one-off clear. The Settings menu gives more granular control and lets you set up automatic clearing.

Using the Clear Recent History dialog

  1. Press Ctrl+Shift+Delete (Windows/Linux) or Cmd+Shift+Delete (Mac). The Clear Recent History window opens.
  2. In the Time range to clear drop-down, choose how far back to go. Select Everything to wipe all history.
  3. Click the Details button if the list of categories is hidden. Check the boxes for the data you want to remove: Browsing & Download History, Cookies, Cache, Active Logins, Form & Search History, Site Settings, Offline Website Data.
  4. Click Clear Now. The data is removed immediately.

Using Settings (Privacy & Security)

  1. Click the menu button (three lines) and choose Settings (called Options on Windows).
  2. Select Privacy & Security from the left panel.
  3. Scroll to Cookies and Site Data and click Clear Data.
  4. Check Cookies and Site Data and/or Cached Web Content. You can also click Manage Data to remove data for specific sites.
  5. Click Clear to confirm.

Menu labels can differ slightly between Firefox versions and operating systems, but the path is consistent.

Clearing Data for a Single Site

Sometimes you only need to clear data for one website, for example to fix a login loop or remove a stubborn cookie. Firefox provides a per-site option:

  1. Open the website in a tab.
  2. Click the padlock icon in the address bar.
  3. Click Clear cookies and site data (the exact wording may vary).
  4. Confirm. The page reloads and the site's stored data is removed.

Alternatively, go to Settings > Privacy & Security > Cookies and Site Data > Manage Data, search for the site, and remove its entries.

Automatic Clearing and Private Browsing

Firefox can delete data automatically when you close the browser. In Settings > Privacy & Security, under History, choose Use custom settings for history and enable Clear history when Firefox closes. Click the Settings button next to it to select which categories are cleared on exit. This is useful on shared computers but means you stay logged out of sites after every session.

Private Browsing windows (Ctrl+Shift+P) do not save history, cookies, or form data after you close them, though bookmarks and downloads are kept. Note that private browsing does not hide your activity from your internet service provider, employer, or the websites you visit.

Common Problems and Fixes

  • Logged out everywhere: Clearing cookies removes session data. You will need to sign in again on most sites. Consider exporting passwords or using a password manager before clearing.
  • Site looks broken after clearing cache: The first reload may be slower as assets redownload. If a site still misbehaves, clear cache again or check for extensions blocking content.
  • Clear button greyed out: This can happen if no data exists for the selected categories or if Firefox is in a restricted mode. Restart the browser and try again.
  • Data reappears: Some sites use service workers or storage that persists until you close all tabs for that site. Close the site's tabs and clear again.
  • Sync restores history: If you have Firefox Sync enabled, history from other devices may repopulate. Sign out of Sync or adjust sync settings if you want a clean slate.

What Clearing Data Does Not Do

Clearing browsing data in Firefox does not remove files you have downloaded, bookmarks, or saved passwords (unless you specifically clear those categories). It also does not erase data stored by other browsers, by the operating system, or by your network. It does not make you anonymous online: websites can still identify you through IP address, fingerprinting, and other signals. For stronger privacy, consider Firefox's Enhanced Tracking Protection and container tabs, but understand their limits.

Frequently Asked Questions

Does clearing browsing data delete my bookmarks?

No. Bookmarks are stored separately and are not removed when you clear history, cookies, or cache. They remain unless you manually delete them or use a bookmark-cleaning tool.

Will clearing cookies log me out of websites?

Yes, in most cases. Cookies store login sessions, so clearing them signs you out. You will need to log in again on each site.

How often should I clear browsing data?

There is no fixed rule. Clear it when you need to free space, fix a loading problem, remove tracking cookies, or protect privacy on a shared device. Frequent clearing means re-entering passwords and slower first loads.

Can I recover browsing history after clearing it?

Generally no. Once history is cleared from Firefox, it is removed from the local database. If you use Firefox Sync, a copy may exist on other synced devices, but it is not restored to the cleared device automatically.

Does clearing cache affect my saved passwords?

No. Saved passwords are stored in the password manager and are not part of the cache. They remain unless you specifically clear them from the passwords section.

Why does Firefox still remember my form entries after clearing?

Form autofill data is a separate category. Make sure Form & Search History is checked in the Clear Recent History dialog. Also check whether an extension or password manager is filling fields independently.