How to Clear the Cache in Firefox

Cache files in Firefox are cleared from its Privacy & Security settings, and you can keep cookies and history while you do it: tick only Temporary cached files and pages and click Clear. On a computer, Ctrl + Shift + Del (Command + Shift + Delete on a Mac) reaches the same choice faster, and the Android and iPhone apps have their own delete screens, covered below.

What do you need to clear?

The cache is where Firefox keeps images, scripts and other parts of websites so pages load faster next time. When a stored copy goes stale, a site can look broken or out of date. Pick the row that matches your problem; clearing less is usually better, because cookies keep you signed in.

Your situation What to do
One page looks old or half loaded Reload it without the cache first (Ctrl + F5)
Many sites misbehave, but you want to stay signed in Clear only Temporary cached files and pages, time range Everything
One site still fails after a cache clear Use the shield icon to clear that site’s cookies and data
You want a fresh cache every session Turn on clearing when Firefox closes
You are on a phone or tablet Use the Android or iPhone and iPad steps

Cookies are a different kind of data: small files that remember logins and site preferences. If cookies are your real target, see deleting cookies in Edge, Chrome and Firefox.

Clear the cache from Firefox settings

This route matches Mozilla’s instructions for clearing the Firefox cache and works the same on Windows, Mac and Linux.

  1. Click the menu button (☰) and select Settings.
  2. Select the Privacy & Security panel on the left.
  3. In the Browsing data section, click Clear browsing data. Older Firefox releases put this button under Cookies and Site Data and called it Clear Data.
  4. In the Clear browsing data and cookies dialog, open the drop-down next to When: and choose Everything.
  5. Make sure only Temporary cached files and pages has a check mark.
  6. Click Clear.
Firefox Clear browsing data and cookies dialog with Temporary cached files and pages checked and the Clear button highlighted
(1) Check Temporary cached files and pages, then (2) click Clear. (Illustration)

Look over the check boxes before you click Clear. If Cookies and site data is also ticked, Firefox removes those too, and you will be signed out of many sites.

Use the Clear Recent History shortcut

Mozilla’s keyboard shortcut list assigns Clear Recent History to Ctrl + Shift + Del on Windows and Linux, and Command + Shift + Delete on a Mac. You can also open it from the menu button: click History, then Clear Recent History….

  1. Press the shortcut, or open Clear Recent History from the menu.
  2. Next to When:, pick a range. Mozilla lists the last hour, the last two hours, the last four hours, the current day or everything.
  3. Select Temporary cached files and pages in the list and clear the other boxes you want to keep.
  4. Click Clear.

A short range helps when trouble started recently; for a full reset of stored pages, choose Everything.

Clear one site’s data from the shield icon

When only one site is stuck, you do not need to empty the whole cache. Mozilla’s cookies and site data page gives this route:

  1. Open the site.
  2. Click the shield icon to the left of the address bar.
  3. Click Clear cookies and site data.

This removes that site’s cookies and site data as well as its cached files and pages, so you may need to sign in to it again.

Reload a page without the cache

For a single page that refuses to update, a forced reload often fixes it without deleting anything. Mozilla lists Reload (override cache) as Ctrl + F5 or Ctrl + Shift + R on Windows and Linux, and Command + Shift + R on a Mac. Firefox then fetches a fresh copy of that page from the site.

Clear the cache every time Firefox closes

If you share a computer or simply prefer a clean start each session, Firefox can empty the cache on exit.

  1. Open Settings and select Privacy & Security.
  2. Go to the History section and select Customize history.
  3. Click Choose what you want Firefox to remember to open the advanced settings.
  4. Check Clear history when Firefox closes, then click the Settings… button.
  5. In the dialog that opens, put a check mark next to Temporary cached files and pages and clear anything you want to keep.
  6. Click Save Changes.

The trade-off: sites you visit often load a little slower the first time each session.

Firefox on Android

Mozilla’s Android help page gives these labels. The page was last updated in 2023, so your version may word them a little differently.

  1. Tap the three-dot menu button, then Settings.
  2. In the Privacy and security section, tap Delete browsing data.
  3. Select Cached images and files and clear the other types you want to keep, such as Cookies and site data.
  4. Tap Delete browsing data.

Mozilla’s Android steps give no time range. To clear on exit instead, use Delete browsing data on quit in the same section.

Firefox on iPhone and iPad

On iOS, the menu button sits at the bottom of the screen on iPhone and at the top right on iPad. Mozilla’s iOS help page describes this route:

  1. Tap the menu button, then Settings.
  2. Under the Privacy section, tap Data Management.
  3. Mozilla’s page lists the cache among the kinds of data this screen clears, along with browsing history and cookies.
  4. Tap Clear Private Data at the bottom of the list.

Mozilla warns that this clears all of your private data and cannot be undone. Mozilla says Clear Private Data removes all website data, which is broader than the cache alone. To clear one site, open the Website Data list in the same screen, pick the site and use Clear Items. Cookies in the iPhone app have their own walkthrough in clearing cookies in the Firefox iPhone app.

Firefox cache questions

Does clearing the cache sign me out of websites?

Not when Temporary cached files and pages is the only item checked. Sign-outs come from clearing cookies, which is a separate box in the same dialog and is included in the shield-icon route.

The page still looks wrong after clearing. What next?

Try a forced reload, then a cookie clear for that one site. If several sites still break, an add-on or setting may be the cause; restarting Firefox in Troubleshoot Mode runs it with add-ons (extensions and themes) turned off so you can test that.

Do other browsers handle this the same way?

The idea is the same, but the menus differ. Edge readers can follow clearing the cache and cookies in Microsoft Edge.

Once your pages load correctly again, it is a good moment to review other Firefox settings, such as choosing the default search engine in Firefox.

Categories Web