Why you might want to clear cache and cookies
Cache is a folder where Firefox stores copies of web pages, images, and files you've visited so they load faster next time. Cookies are small text files websites save on your computer to remember you — your login information, shopping cart contents, or browsing preferences. Over time, both accumulate and can slow Firefox down, take up disk space, or cause a website to load an outdated version of itself.
Clearing them is useful when a website isn't working right, when you want to remove your browsing history before handing off your computer, or straightforward to free up space. The process takes about two minutes and doesn't require restarting Firefox.
Key Takeaways
- Open Firefox, press Ctrl+Shift+Delete (Windows) or Command+Shift+Delete (Mac), and the Clear Recent History window opens when ready.
- Set the time range to "Everything" if you want to clear all cache and cookies, or choose a specific period like "Last Hour" or "Last 24 Hours".
- Check the boxes next to "Cookies" and "Cache" — uncheck everything else if you only want to clear those two things.
- Click "Clear Now" and Firefox removes them within seconds; you do not need to restart the browser.
The fastest way: keyboard shortcut
The quickest route is the keyboard shortcut. On Windows, press Ctrl+Shift+Delete all at once. On Mac, press Command+Shift+Delete. A window titled "Clear Recent History" opens when ready.
At the top, you'll see a dropdown that says "Time range to clear". Click it and choose how far back you want to go. "Everything" clears all cache and cookies you've ever stored. "Last Hour" clears only the past hour. "Last 24 Hours", "Last 7 Days", and "Last 4 Weeks" are also options. Pick whichever matches what you need.
Selecting what to clear
Below the time range dropdown, you'll see a list of checkboxes. By default, several are already checked — "Browsing & read History", "Form & Search History", "Cookies", "Cache", and others. If you only want to clear cache and cookies, uncheck everything except those two.
If you're not sure what something does, leave it unchecked. The important ones for this task are "Cookies" and "Cache". Make sure both have checkmarks next to them.
Completing the clear
Once you've set the time range and selected "Cookies" and "Cache", click the blue "Clear Now" button at the bottom right. Firefox removes the selected items within a few seconds. You don't need to restart the browser — it keeps running normally.
If you want to verify it worked, you can close and reopen Firefox, or straightforward visit a website you frequent. It may load slightly slower the first time because Firefox no longer has the cached version stored locally, but it will cache it again as you browse.
Clearing cache and cookies through the menu
If the keyboard shortcut doesn't work on your system, you can reach the same window through the menu. Click the three horizontal lines (hamburger menu) in the top right corner of Firefox. Scroll down and click "Settings".
In the Settings window, click "Privacy & Security" on the left side. Scroll down to the section titled "Cookies and Site Data". You'll see a button that says "Clear Data". Click it, and the same "Clear Recent History" window opens. Follow the same steps as above: set your time range, check "Cookies" and "Cache", and click "Clear Now".
What happens after you clear them
After clearing, websites you visit will no longer remember you automatically. The next time you visit a site where you were logged in, you'll need to log in again. Shopping carts will be empty. Websites will load slightly slower the first time because Firefox has to read fresh copies of images and files instead of using cached versions.
This is temporary. As you browse normally, Firefox rebuilds the cache and stores new cookies. Within a few days of regular browsing, performance returns to normal.
Automatically clearing cache and cookies when you close Firefox
If you want Firefox to clear cache and cookies every time you close the browser, you can set that up so you don't have to do it manually. Click the hamburger menu and go to "Settings", then "Privacy & Security".
Look for the section titled "Cookies and Site Data". Check the box that says "Delete cookies and site data when Firefox is closed". From that point on, Firefox automatically clears both every time you shut it down. You can still browse normally — the clearing only happens when you fully close the browser, not when you close individual tabs.
Frequently Asked Questions
Will clearing cache and cookies delete my saved passwords?
No. Passwords are stored separately from cache and cookies. Clearing cache and cookies does not affect saved passwords. If you want to clear passwords too, you can do that in Settings under "Privacy & Security" in the "Logins and Passwords" section, but it's a separate action.
What's the difference between clearing cache and clearing cookies?
Cache stores copies of images, videos, and page files so websites load faster. Cookies store login information and preferences. Clearing cache frees up disk space and forces fresh downloads; clearing cookies logs you out of websites and removes stored preferences. You can clear one without the other, though most people clear both together.
If I clear cache, will my internet be slower?
Yes, temporarily. The first time you visit a website after clearing cache, it loads slower because Firefox has to read all the images and files fresh. After that first visit, Firefox caches them again and speed returns to normal. The slowdown is usually only a few seconds per site.
Can I clear cache and cookies for just one website?
Yes. Right-click on any website and select "Inspect" (or press F12), then go to the "Storage" tab. You can delete cookies and cached data for that specific site. For most people, clearing everything at once is simpler, but this option exists if you only want to clear one site.
Do I need to restart Firefox after clearing cache and cookies?
No. Firefox continues running normally after you clear them. You can keep browsing when ready. Restarting is not necessary and won't change anything.