Clear Firefox Browsing History & Cache: Step-by-Step
In this article
Clearing your browsing history and cache in Mozilla Firefox removes traces of the websites you've visited and frees up space by deleting temporary files stored on your computer. This can help protect your privacy, fix pages that load incorrectly, and resolve storage-related issues. The process takes less than a minute and requires no special tools—just your Firefox browser and a few clicks.
What You'll Need
- A computer with Mozilla Firefox installed (any recent version).
- Basic familiarity with Firefox menus (the three-line icon in the top-right corner).
- Optional: A list of websites you want to keep logged into, since clearing cookies may sign you out.
Step-by-Step
- Open Firefox. Launch the browser on your computer.
- Open the menu. Click the three horizontal lines (hamburger icon) in the top-right corner of the window. This opens the main menu.
- Go to Settings. In the menu, click Settings (on some versions it may be labeled Options or Preferences).
- Navigate to Privacy & Security. In the left sidebar of the Settings page, click Privacy & Security.
- Find the Cookies and Site Data section. Scroll down until you see a section titled Cookies and Site Data.
- Click "Clear Data". In that section, click the button labeled Clear Data.... A small dialog box will appear.
- Select what to clear. In the dialog, check the boxes for Cookies and Site Data and Cached Web Content. If you want to remove browsing history as well, you'll need to do that separately (see next steps).
- Confirm clearing. Click the Clear button. Firefox will delete the selected data.
- Clear browsing history separately. To remove your browsing history (the list of sites you've visited), go back to the main menu (three lines) and click History.
- Choose "Clear Recent History". In the History menu, click Clear Recent History.... A new window will pop up.
- Set the time range. In the drop-down menu next to Time range to clear, select Everything to delete all history, or choose a specific period (e.g., last hour, last 24 hours).
- Select history items. Make sure the checkbox for Browsing & Download History is checked. You can also check other items like Form & Search History if you want to clear those.
- Click "Clear Now". Press the Clear Now button. Firefox will erase the selected history.
- Verify (optional). To confirm, press Ctrl+Shift+H (Windows) or Cmd+Shift+H (Mac) to open the Library and check if your history is empty.
Common Mistakes
- Only clearing cookies, not cache: Some users clear cookies but forget to check the "Cached Web Content" box, leaving temporary files behind.
- Clearing everything when you only wanted history: If you check all boxes in the "Clear Recent History" window, you may delete passwords, saved logins, and site preferences unintentionally.
- Not selecting the correct time range: Choosing "Last Hour" when you want to clear months of history leaves most of your browsing data intact.
- Forgetting to close Firefox after clearing: Some data may be re-cached immediately if you continue browsing; it's fine to keep using Firefox, but if you're troubleshooting, restart the browser.
Tips
- Use keyboard shortcuts: Press Ctrl+Shift+Delete (Windows) or Cmd+Shift+Delete (Mac) to open the "Clear Recent History" window directly.
- Set Firefox to clear history automatically: In Settings > Privacy & Security, under "History", you can choose "Use custom settings for history" and check "Clear history when Firefox closes". This is handy for shared computers.
- Clear only the cache for a specific site: If a single page is misbehaving, you can clear just that site's data by clicking the padlock icon in the address bar, then "Clear cookies and site data".
- Back up bookmarks: Clearing history does not affect bookmarks, but if you're also clearing cookies, you may lose login sessions. Export bookmarks occasionally via Library > Bookmarks > Manage Bookmarks > Import and Backup.
Troubleshooting
- Firefox won't clear the cache: If the "Clear Data" button doesn't work, close Firefox completely and reopen it, then try again. If the problem persists, restart your computer and retry.
- History reappears after clearing: This can happen if Firefox Sync is enabled and you have other devices syncing. To prevent this, go to Settings > Firefox Account and temporarily disable sync for history, or sign out of the account.
- Websites still load old content: Even after clearing the cache, some pages may be served from your internet provider's cache. Try a hard refresh with Ctrl+F5 (Windows) or Cmd+Shift+R (Mac).
- Clear button is grayed out: This usually means there is no data to clear. If you believe there is, check that you're in the correct profile. You can create a new profile via the Profile Manager if needed.
Frequently Asked Questions
Does clearing history delete my bookmarks?
No. Bookmarks are stored separately and are not affected when you clear browsing history or cache.
Will clearing cache log me out of websites?
Clearing cache alone does not log you out, but clearing cookies (which is often done together) will sign you out of most sites.
Can I recover cleared history?
Once cleared, history is permanently deleted and cannot be recovered through Firefox. Some third-party recovery tools exist, but they are not guaranteed to work.
How often should I clear my cache?
There's no strict rule. Clearing it monthly is a good practice for privacy and performance, but you can do it more often if you're short on storage or troubleshooting.
Does clearing history speed up Firefox?
Clearing cache can speed up page loading if the cache is corrupted, but generally it may slow down first visits to sites because they have to re-download resources. The effect is minimal on modern connections.
What's the difference between history and cache?
History is a list of URLs you've visited. Cache stores copies of images, scripts, and other page elements so pages load faster on return visits.