Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Learn how to clear history in Firefox on desktop, Android, and iPhone to boost privacy and performance for a more secure browsing experience.

Tahneet Kanwal
May 11, 2026
Clearing history in Firefox removes the locally stored log of every URL you visit, along with any cached assets and session cookies tied to those pages. That browsing history builds up automatically: it speeds up navigation, but also lets anyone with device access see your activity and allows sites to track sessions across visits.
Firefox gives you several ways to clear that data, from targeted time-range deletions to a full wipe of history, cache, and cookies in one pass.
This guide covers four approaches: the desktop menu, mobile devices (Android and iPhone), keyboard shortcuts for power users, and clearing cache and cookies alongside history for a complete privacy reset. Steps are verified on Firefox 150 (Windows 11 and macOS, May 2026), cross-referenced against Mozilla's official Firefox history guide.
Overview
How do you clear history in Firefox?
Press Ctrl + Shift + Delete (Windows/Linux) or Command + Shift + Delete (macOS), select your time range, check History, and click Clear Now. For a full privacy reset, also check Cookies and Cache in the same dialog.
Which method should you use?
What data can Firefox clear?
Browsing and download history, cookies, cache, active logins, site preferences, and offline website data. Each data type can be cleared independently or all at once - you choose which to include each time.



Watch the When dropdown: it defaults to Last Hour, not Everything. Change it to Everything before clicking Clear, or you will only wipe the past hour of data.
To erase all data for a single website instead of your entire history, right-click any entry in the History list and choose Forget About This Site. Firefox removes all browsing records, cookies, cache, and saved forms for that domain in one action.
Android Devices

iPhone Devices

Note: When running cross-browser tests in Firefox, a clean history prevents stale cookies and cached redirects from affecting results. TestMu AI runs each test session on a fresh browser profile across 10,000+ real devices, so session state never bleeds between runs. Start testing free
The keyboard shortcut method opens the same Clear Recent History dialog but skips the menu navigation entirely. It is the fastest option for routine cleanups. To refresh Firefox to a clean state quickly, combine this shortcut with a browser restart.
The shortcut clears history across your entire Firefox profile - if you have multiple windows open, they all share the same history store, so one shortcut clears them all simultaneously.
Instead of clearing history manually, Firefox can wipe selected data automatically each time you close the browser. This is useful on shared devices or in high-privacy workflows where you need a clean slate every session.
Firefox will now automatically clear the selected data types every time the browser closes.
Two caveats: Auto-clear only runs on a normal browser exit - a crash or force-quit will not trigger it. If Firefox is configured to use automatic private browsing mode, the auto-clear on close setting will be unavailable in Privacy & Security settings.
To clear Firefox history, press Ctrl + Shift + Delete, select your time range, check History, and click Clear Now. For a full privacy reset, add Cookies and Cache to the same selection. For shared or high-privacy devices, enable auto-clear on close so it happens automatically every session.
For QA teams testing in Firefox, browser state management goes beyond manual cleanup. TestMu AI's real device cloud runs each test session on a fresh Firefox profile across 10,000+ real devices and OS combinations, eliminating cached-state issues without any manual clearing.
To configure Firefox WebDriver for TestMu AI's cloud grid, see the Selenium WebDriver testing docs. For broader cross-browser automation strategies, explore our cross-browser testing guide or our roundup of cross-browser testing tools.
Note: This article was researched and drafted with AI assistance, then reviewed, fact-checked, and published by Tahneet Kanwal, Community Contributor at TestMu AI, whose listed expertise includes Web Technologies and Frontend Development. Every statistic, link, and product claim was verified against primary sources. Read our editorial process and AI use policy for details.
Did you find this page helpful?
More Related Hubs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance