Delete your history in Firefox in three steps

Open Firefox and press Ctrl+H on Windows or Command+Y on Mac. This opens the History sidebar on the left. At the top, click Clear Recent History. A window appears asking what time range to clear — choose Everything to remove all history, or pick a specific range like "Last Hour" or "Last 24 Hours". Check the boxes next to Browsing & read History, Cookies, and Cache, then click Clear Now.

That removes the record of sites you visited, the small files websites store on your computer, and temporary files Firefox saved. Your search history inside the search bar clears separately — to remove those searches, click the address bar, find an old search in the dropdown, hover over it, and press Delete.

If you want Firefox to delete history automatically every time you close the browser, go to Settings (the three horizontal lines in the top right), select Privacy & Security, scroll to History, and choose Firefox will: Use custom settings for history. Then check Clear history when Firefox closes. From that point forward, your history vanishes the moment you shut the browser.

Key Takeaways

  • Press Ctrl+H (Windows) or Command+Y (Mac), click Clear Recent History, select Everything, and check Browsing & read History, Cookies, and Cache before clicking Clear Now.
  • Clearing history removes the list of sites you visited, cookies that track you across websites, and temporary files Firefox stored — but does not affect your saved passwords or bookmarks.
  • Search history in the address bar clears separately; hover over old searches and press Delete to remove them one at a time.
  • You can set Firefox to automatically delete all history when you close the browser by going to Settings, Privacy & Security, and checking Clear history when Firefox closes.

What gets deleted and what stays

When you clear history, Firefox removes three main things: the list of websites you visited (shown when you type in the address bar), the cookies websites placed on your computer (small files that remember your login or preferences), and the cache (temporary copies of images and files Firefox downloaded to load pages faster). After clearing, those sites will not appear in your dropdown when you start typing a web address.

What does not get deleted: your saved passwords, your bookmarks, your extensions, or your settings. If you want to remove saved passwords too, go to Settings, Privacy & Security, scroll to Logins and Passwords, and click Saved Logins. Find the password you want to remove and click the trash icon next to it.

The difference between clearing history and private browsing

Clearing history is a one-time action that removes what Firefox already recorded. Private Browsing is a mode that prevents Firefox from recording anything in the first place. When you open a Private Browsing window (Ctrl+Shift+P on Windows, Command+Shift+P on Mac), Firefox does not save your history, cookies, or search history — but it still downloads files to your Downloads folder and your internet provider can still see where you went.

Private Browsing is useful if you are using a shared computer or do not want Firefox to remember a session. But it does not hide your activity from your internet provider, your employer if you are on a work network, or the websites you visit — they still see you. If you want to hide your activity from your internet provider, you need a VPN (Virtual Private Network), which is a separate tool.

Clearing history on exit versus clearing it manually

Manually clearing history (the Ctrl+H method) gives you control over when it happens and what you delete. You can clear everything or just the last hour. You can keep some history and remove only recent visits. This is useful if you want to keep your browsing record most of the time but delete sensitive searches before someone else uses your computer.

Setting Firefox to clear history automatically on exit (through Settings) means you never have to remember to delete anything — it happens the moment you close the browser. The downside is that you lose your entire history every time, so you cannot go back and find a site you visited yesterday. Choose manual clearing if you want to keep your history most of the time, and choose automatic clearing if you want a clean slate every session.

Clearing history from specific websites only

If you only want to delete history from one or two sites, not your entire history, open the History sidebar (Ctrl+H or Command+Y), find the site in the list, right-click it, and select Forget About This Site. Firefox removes all history, cookies, and cache for that domain. This is faster than clearing everything if you only need to hide a few visits.

Be aware that Forget About This Site is permanent and cannot be undone. If you use that site again, Firefox will treat it as a fresh visit and you may have to log in again. The site itself still has a record of your visit on its own servers — this only removes Firefox's local record.

Why you might want to clear history regularly

Clearing history reduces the amount of data Firefox stores about your browsing. Cookies can track you across websites, and your browser history can reveal sensitive information if someone else uses your computer. Clearing regularly also frees up a small amount of disk space, though the amount is usually negligible unless you have years of history saved.

If you share a computer with family members or roommates, clearing history before you hand it over prevents them from seeing where you went. If you use a public computer at a library or internet café, always clear history before you leave — use the manual method (Ctrl+H) rather than relying on automatic clearing, because you control when it happens.

Frequently Asked Questions

Does clearing history delete my saved passwords?

No. Clearing history removes only your browsing record, cookies, and cache. Your saved passwords stay in Firefox unless you delete them separately through Settings, Privacy & Security, Saved Logins. If you want to clear both at once, check both Browsing & read History and Passwords in the Clear Recent History window.

Can I recover history after I delete it?

No. Once you clear history in Firefox, it is gone. Firefox does not keep a backup. If you need to find a site you visited, try searching your email for confirmation emails from that site, or check your bank or credit card statement if you made a purchase there.

Will clearing Firefox history delete history on other browsers?

No. Each browser keeps its own separate history. Clearing Firefox history does not affect Chrome, Safari, Edge, or any other browser. You must clear history in each browser separately if you want to remove your record across all of them.

What is the difference between cache and cookies?

Cookies are small text files websites place on your computer to remember you — your login, your preferences, items in your shopping cart. Cache is temporary copies of images, videos, and files that Firefox downloaded so pages load faster next time. Both can be cleared together in the Clear Recent History window.

Does clearing history protect me from hackers?

Clearing your local history protects you only from someone who has physical access to your computer. It does not protect you from hackers on the internet. If a hacker gains access to your accounts, they see your activity on their servers, not in your browser history. Use strong, unique passwords and enable two-factor authentication for real security.