User Agents

Clearing Browser History in Firefox: A Complete Guide

To clear your browsing history in Firefox, open the Library (Ctrl+Shift+O or Cmd+Shift+O), click "Clear Recent History…" and choose the time range and data types you want to remove. You can also use the keyboard shortcut Ctrl+Shift+Delete (Cmd+Shift+Delete on Mac) to open the same dialog directly. This removes history entries, but Firefox keeps other traces such as cookies, cache, and form data unless you specifically select them.

What Firefox Stores and Why It Matters

Firefox maintains several separate data stores that together make up what most people think of as "browsing history." The history database itself records every page you visit along with timestamps and visit counts. Separately, Firefox stores cookies (which keep you logged in and remember site preferences), cached files (images, scripts, and other resources that speed up loading), form and search history (what you type into text fields and the search bar), active logins (sessions you have authenticated with HTTP authentication), and site settings (permissions for camera, microphone, notifications, and so on). Clearing history in the Library dialog does not automatically clear all of these; you must tick the corresponding checkboxes in the Clear Recent History dialog or use the separate "Cookies and Site Data" and "Cached Web Content" options under Settings → Privacy & Security. Understanding this distinction prevents the common surprise of clearing history and still finding yourself logged in to a site, or noticing that a page loads instantly from cache even though it no longer appears in the history list.

How to Clear History: Step by Step

The exact menu labels can differ slightly between Firefox versions and operating systems, but the core path is consistent.

  1. Open the Firefox menu (three horizontal lines in the top-right corner) and choose History, or press Ctrl+Shift+O (Windows/Linux) or Cmd+Shift+O (Mac) to open the Library window.
  2. In the Library window, click the Clear Recent History… button at the top. Alternatively, use the direct shortcut Ctrl+Shift+Delete (Windows/Linux) or Cmd+Shift+Delete (Mac) from any Firefox window.
  3. In the dialog that appears, set the Time range to clear dropdown. Options typically include the last hour, last two hours, last four hours, today, or everything. Choosing "Everything" wipes the entire history database.
  4. Click the arrow next to Details to expand the list of data types. Tick Browsing & Download History at minimum. Tick Cookies, Cache, Form & Search History, Active Logins, and Site Settings if you want a more thorough clean-up.
  5. Click Clear Now. Firefox removes the selected data immediately; there is no undo.

If you only want to remove individual entries rather than everything, open the Library (Ctrl+Shift+O), select the History view, right-click a entry and choose Forget About This Site. That removes the site's history entries and also clears its cookies and cache for that domain, which is useful for a single problematic site without affecting the rest of your history.

Automatic Clearing and Private Browsing

Firefox can clear selected data automatically when it closes. In Settings → Privacy & Security, under the History section, choose Use custom settings for history and tick Clear history when Firefox closes. The adjacent Settings… button lets you choose exactly which categories are wiped on exit: browsing history, cookies, cache, active logins, form data, site settings, and offline website data. This is a practical alternative to manual clearing if you prefer a clean slate each session but still want normal history during the session itself.

Private Browsing windows (Ctrl+Shift+P or Cmd+Shift+P) do not record history in the normal database at all. When you close all private windows, Firefox discards their cookies, cache, and history. Note, however, that private browsing does not hide your activity from your internet service provider, your employer's network, or the websites you visit; it only prevents Firefox from storing the data locally. It also does not protect against malware or tracking that happens at the network level.

Common Problems and Misconceptions

  • "I cleared history but I'm still logged in." Clearing browsing history alone does not remove cookies. Tick the Cookies checkbox in the Clear Recent History dialog, or manage cookies separately under Settings → Privacy & Security → Cookies and Site Data.
  • "The address bar still suggests a site I visited." Firefox's autocomplete suggestions come from the history database and the awesome bar's own index. After clearing history, restart Firefox to ensure the suggestions refresh; in some versions, a leftover entry can persist until the next session.
  • "Clearing history freed no disk space." History entries are tiny. The bulk of disk usage comes from cache and offline website data. Clear those categories separately if storage is your concern.
  • "I need to clear only one site." Use Forget About This Site from the Library's history view, as described above, rather than wiping everything.
  • "Does clearing history delete bookmarks?" No. Bookmarks are stored separately and are not affected by clearing browsing history. If you want to remove bookmarks, you must delete them explicitly in the Library.

History vs. Cookies vs. Cache: What Each Does

Browsing history is a list of visited pages with timestamps; it powers the address bar suggestions and the History menu. Cookies are small pieces of data that websites store to remember you, your preferences, and your login state. Cache is a local copy of files (images, stylesheets, scripts) that lets pages load faster on repeat visits. Form and search history stores what you have typed into forms and the search bar. Active logins are sessions authenticated via HTTP authentication, which is less common today but still used by some intranet and staging sites. Site settings hold per-site permissions such as camera, microphone, location, and pop-up blocking. Each category has its own checkbox in the Clear Recent History dialog, and each can also be managed separately in Settings. Clearing one does not clear the others, which is why a "full clean" requires selecting multiple categories.

Frequently Asked Questions

Does clearing history in Firefox delete my bookmarks?

No. Bookmarks are stored in a separate database and are unaffected by clearing browsing history. You can verify this by clearing history and then opening the Library's Bookmarks view; your saved bookmarks remain intact.

Can I recover history after clearing it?

No. Once you confirm the clear action, Firefox removes the entries and there is no built-in undo. If you need a record of where you have been, consider exporting history beforehand or using a bookmarking workflow instead.

Does clearing history remove cookies and log me out of websites?

Only if you tick the Cookies checkbox in the Clear Recent History dialog. Clearing browsing history alone leaves cookies in place, so you stay logged in. To log out everywhere, select Cookies (and optionally Active Logins) before clicking Clear Now.

Will clearing history stop the address bar from suggesting previously visited sites?

Yes, after the history database is cleared and Firefox refreshes its index, which usually happens on restart. Suggestions may persist briefly in the current session; restarting Firefox ensures the change takes effect.

Does clearing history affect synced data on other devices?

If you use Firefox Sync, clearing history on one device does not automatically delete history stored on other synced devices. Sync propagates changes over time, but the exact behavior depends on the sync configuration and timing. To be certain, clear history on each device individually.

Is clearing history the same as using Private Browsing?

No. Private Browsing prevents Firefox from saving history, cookies, and cache for that session in the first place. Clearing history removes data that was already saved during normal browsing. Both have their place, but they are not interchangeable.