How to Clear the Cache in Firefox

Instructions on Deleting the Temporary Files Stored by Firefox

A screenshot of the Clear All History dialog box in Firefox on Windows 8
Clear All History Dialog Box.
Was this page helpful?

Clearing the cache in Firefox isn't something you have to do every day, but it is sometimes helpful in order to solve or help prevent certain problems.

The Firefox cache contains locally saved copies of recent web pages you've visited. This is done so that the next time you visit the page, Firefox can load it from your saved copy, which will be much faster than loading it all over again from the internet.

On the other hand, if the cache doesn't update when Firefox sees a change on the website, or the cached files that do load are corrupted, it can cause web pages to look and act strangely.

Follow the simple steps below to clear the cache from your Firefox browser, valid back through Firefox 39. It's an easy process that takes less than a minute to complete.

How to Clear the Firefox Cache

Note: Clearing the cache in Firefox is completely safe and should not remove any important data from your computer. To clear the Firefox cache on your phone or tablet, see Tip 4 at the bottom of this page.

  1. Open Mozilla Firefox.

  2. Click the Menu button (aka the "hamburger button" from the top right of the program - the one with three horizontal lines) and then choose Options.

    If Options is not listed in the menu, click Customize and drag Options from the list of Additional Tools and Features over to the Menu. ​

    Note: If you're using the menu bar, choose Tools and then Options instead. You can also enter about:preferences in a new tab or window.​

    Firefox for Mac: On a Mac, choose Preferences from the Firefox menu and then continue as instructed below.

  1. With the Options window now open, click the Privacy & Security or Privacy tab on the left.

  2. In the History area, click the clear your recent history link.

    Tip: If you don't see that link, change the Firefox will: option to Remember history. You can change it back to your custom setting when you're done.

  1. In the Clear Recent History window that appears, set the Time range to clear: to Everything.

    Note: Doing this will remove all the cached files, but you can pick a different time range if you'd like. See Tip 5 below for more information.

  2. In the list at the bottom of the window, uncheck everything except for Cache.​

    Note: If you wish to clear other kinds of stored data, like the browsing history, feel free to check the appropriate boxes. They will be cleared along with the cache in the next step.​

    Tip: Don't see anything to check? Click the arrow next to Details.

  3. Click on the Clear Now button.

  4. When the Clear All History window disappears, all of the files saved (cached) from your internet browsing activities in Firefox will have been removed.

    Note: If your internet cache is large, Firefox may hang while it finishes removing the files. Just be patient - it will eventually finish the job.

Tips & More Information on Clearing the Cache

  1. Older versions of Firefox, particularly Firefox 4 through Firefox 38, have very similar processes for clearing the cache but please try to keep Firefox updated to the latest version if you can.

  2. Looking for more information about Firefox in general? Lifewire has a dedicated Internet Browser section that you might find really helpful.

  1. Using the Ctrl+Shift+Delete combination on your keyboard will immediately put you at Step 5 above.

  2. Clearing the cache in the Firefox mobile app is very similar to when using the desktop version. Just open the Settings menu within the Firefox app to find an option called Clear Private Data. Once there, you can choose what type of data to erase (like the cache, history, offline website data, or cookies), much like in the desktop version.

  3. If you'd rather not delete all the cache stored by Firefox, you can instead pick a different time range at Step 5. You can pick Last Hour, Last Two Hours, Last Four Hours, or Today. In each instance, Firefox will only clear the cache if the data was created within that time frame.

  1. Malware can sometimes make it difficult to remove the cache in Firefox. You might find that even after you've instructed Firefox to delete the cached files, they still remain. Try scanning your computer for malicious files and then starting over from Step 1.

  2. You can view cache information in Firefox by entering about:cache in the navigation bar.

  3. If you hold down the Shift key while refreshing a page in Firefox (and most other web browsers), you can request the most current live page and bypass the cached version. This can be accomplished without clearing out the cache like described above.