Delete your Firefox history in three steps
Open Firefox and press Ctrl+H on Windows or Command+Y on Mac. This opens your History sidebar on the left. At the top of that sidebar, click the gear icon, then select Clear Recent History. A window will pop up — make sure Time range to clear is set to Everything, check the box next to Browsing & Download History, then click Clear Now.
That removes the list of websites you have visited. If you want to delete cookies and cached files at the same time (which makes Firefox forget login information and speeds up your browser), check those boxes too before clicking Clear Now.
Firefox will not ask you to confirm — the history disappears immediately. If you close Firefox and reopen it, your history will be empty.
Key Takeaways
- Press Ctrl+H (Windows) or Command+Y (Mac) to open your history, then click the gear icon and select Clear Recent History.
- Set the time range to Everything if you want to delete all your history, or choose a specific date range to keep older visits.
- Checking Cookies and Cache will also log you out of websites and free up storage space on your computer.
- You can set Firefox to delete history automatically every time you close the browser by going to Settings > Privacy & Security and choosing Clear history when Firefox closes.
What gets deleted when you clear history
When you click Clear Now, Firefox removes the list of websites you visited during the time period you selected. This is the main thing most people mean by "history" — the record that appears when you type in the address bar or open a new tab.
The history window also offers checkboxes for other data. Cookies and Site Data are small files websites store on your computer to remember you — deleting them logs you out of Gmail, Facebook, banking sites, and anywhere else you were signed in. Cached Web Content is temporary files Firefox saved to load websites faster next time; deleting it frees up disk space but makes websites load slightly slower for a few visits. Download History is the list of files you downloaded, separate from the files themselves.
You can check or uncheck any of these independently. If you only want to delete browsing history and leave yourself logged into websites, uncheck everything except Browsing & Download History.
Delete history from a specific date range instead of everything
When the Clear Recent History window opens, the dropdown at the top says Time range to clear. Click it and you will see options: Last Hour, Last 2 Hours, Last 4 Hours, Today, and Everything.
Choose Today if you only want to delete what you visited in the last 24 hours. Choose Last Hour if you want to delete just the past hour. This is useful if you visited something you do not want in your history but want to keep older visits on record.
If none of these ranges match what you need, you cannot set a custom date range from this menu. Instead, you would need to delete individual sites one at a time from your history sidebar — right-click any site and select Forget About This Site.
Set Firefox to delete history automatically
You can tell Firefox to delete your history every time you close the browser, so you never have to do it manually. Click the menu button (three horizontal lines) in the top right corner, then go to Settings. On the left sidebar, click Privacy & Security.
Scroll down to the section called History. You will see a dropdown that says Firefox will followed by options. Click it and select Use custom settings for history. A checkbox will appear that says Clear history when Firefox closes — check it.
Once you do this, Firefox will automatically delete your browsing history, cookies, and cached files every time you close the browser completely. You can still choose which types of data to delete by clicking the Settings button next to that checkbox. This is the most hands-off way to keep your history private.
Delete history from a specific website only
If you want to remove just one or two websites from your history instead of clearing everything, open the History sidebar by pressing Ctrl+H (Windows) or Command+Y (Mac). You will see your history organized by date — Today, Yesterday, and so on.
Find the website you want to remove, right-click it, and select Forget About This Site. Firefox will delete that entire domain from your history — so if you visited example.com five times, all five visits disappear. This does not log you out or delete cookies, just removes it from the history list.
If you want to delete only one specific visit to a website (not all visits), you cannot do that from the sidebar. Instead, open the History sidebar, find the website, and look for individual page titles listed under it — right-click the specific page and select Delete.
Difference between private browsing and clearing history
Firefox has a feature called Private Browsing that prevents history from being saved in the first place. When you open a private window, Firefox does not record the websites you visit, does not save cookies from those sites, and does not remember form data you enter. When you close the private window, there is nothing to delete because nothing was recorded.
You can open a private window by pressing Ctrl+Shift+P (Windows) or Command+Shift+P (Mac), or by clicking the menu button and selecting New Private Window. Private browsing is useful if you are using a shared computer or do not want a record of certain visits, but it does not hide your activity from your internet service provider or the websites you visit.
Clearing history after the fact removes the record from your computer, but websites you visited still have their own records of your visit. Clearing history is about privacy from other people who use your computer, not about hiding from websites or your internet provider.
Frequently Asked Questions
Does clearing history delete my saved passwords?
No. Clearing history does not touch your saved passwords. If you want to delete a saved password, go to Settings > Privacy & Security, scroll to Logins and Passwords, click Saved Logins, find the password you want to remove, and click the trash icon next to it.
Will clearing history log me out of websites?
Only if you check the Cookies and Site Data box when clearing history. If you uncheck that box and only clear Browsing & Download History, you will stay logged into Gmail, Facebook, and other sites. By default, both are checked, so you will be logged out unless you uncheck cookies.
Can I recover history after I delete it?
No. Once you click Clear Now, the history is permanently deleted from Firefox. You cannot undo it. If you are not sure whether you want to delete something, take a screenshot of your history first, or use the time range option to delete only recent history.
Does clearing Firefox history delete files I downloaded?
Clearing history removes the download list from Firefox, but the actual files you downloaded stay on your computer in your Downloads folder. If you want to delete the files themselves, you need to go to your Downloads folder and delete them manually.
What if I want to keep some history but delete other parts?
When the Clear Recent History window opens, uncheck the boxes next to data you want to keep. For example, uncheck Cookies and Site Data if you want to stay logged in, or uncheck Cache if you want to keep faster loading times. Only the checked items will be deleted.