How to Clear Private Data in Mozilla Firefox

It's easy to remove all or some of your browsing history

What to Know

  • To clear History, select Library > History > Clear Recent History > select item to clear > OK.
  • To clear History automatically, about:preferences#privacy > Cookies and Site Data > Delete [...] when Firefox is closed.

This article explains how to clear private data in Mozilla Firefox. Instructions apply to Firefox build 78.0.1 and newer.

Firefox updates frequently. The procedures we outline below were tested on Firefox build 78.0.1 (64-bit).

What's in Your Firefox History?

Firefox remembers a lot of information to make your browsing experience pleasant and productive. This information is called your history, and it consists of several items:

  • Cookies store information about the websites you visit.
  • Browsing history is a list of sites you visited.
  • Download history is a list of the files you downloaded.
  • Form history contains information you entered into online forms.
  • Search history includes all the terms you entered into the Firefox search bar.
  • Cache stores temporary files that Firefox downloads from the internet to speed up your browsing experience.
  • Offline Website Data consists of the files that a website stores on your computer that allow you to use it even when you aren't connected to the internet.
  • Site Preferences are site-specific preferences, including permissions for a site such as a pop-up blocker exception.
  • Active Logins occur when you log in at a website that uses HTTP authentication.

How to Clear Your Firefox History

Here's how to clear the Firefox history, including all or some of the items listed above:

  1. Select Library. It resembles books on a shelf.

    Firefox with the Library button highlighted
  2. Choose History.

    Firefox Library menu with the History option highlighted
  3. From the History menu, select Clear Recent History.

    History menu in Firefox with Clear Recent History highlighted
  4. Select the items to clear, along with a specific time duration. Firefox supports selective deletion based on specific time ranges (the last one, two, or four hours; today; or everything) and types of information.

    Firefox lets you specify the time frame and types of history information to delete
  5. Select OK after you configure your preferences.

How to Set Firefox to Clear the History Automatically

Firefox can automatically clear your browser history when you exit the application, so you don't have to do it manually. Here's how:

  1. Go to the address bar, type about:preferences#privacy, and press Enter.

    Firefox with the privacy command highlighted
  2. Scroll down to the Cookies and Site Data section.

    Firefox's privacy screen with the Cookies and Site Data heading highlighted
  3. The Delete cookies and site data when Firefox is closed option, if active, clears cookies and temporary files when the browser application closes. Put a check mark in the box to enable this activity, or leave it blank to continue with manual maintenance.

    Cookies and Site Data section in Firefox's Privacy & Security settings with the box next to Delete cookies on close highlighted
  4. Close the window when you're done configuring your settings. It auto-saves, so there's nothing to confirm.

Was this page helpful?