Caches · browsers
How to clear the Firefox cache on a Mac
In Firefox, choose Firefox → Settings, open Privacy and security, and in Browsing data click Clear browsing data. Set When to Everything, tick only Temporary cached files and pages, and click Clear. That empties the cache and leaves your cookies, sign-ins, history and passwords where they are. Firefox can also clear it every time it closes.
Clear the cache from Firefox's settings
- In the menu bar at the top of the screen, click Firefox and choose Settings (on some versions it says Preferences).
- Select the Privacy and security panel.
- In the Browsing data section, click Clear browsing data.
- Next to When:, choose Everything, and make sure only Temporary cached files and pages is ticked.
- Click Clear, then close the Settings page. Changes there save themselves.
Leaving the other boxes unticked is what keeps you signed in to sites. Mozilla gives a second route to the same dialog: click the menu button, choose History, then Clear Recent History…, and tick the same single item.
Clear it every time Firefox closes
- Open Firefox → Settings and select Privacy and security, then go to the History section.
- Choose Customize history, and click Choose what you want Firefox to remember to open the advanced settings.
- Tick Clear history when Firefox closes, then click Settings….
- Tick Temporary cached files and pages, untick anything you want to keep, and click Save Changes.
Every quit then empties the cache, and pages load a little slower the first time after each start, while Firefox fetches them again.
Where the cache is on the Mac
Firefox keeps your profile, with your bookmarks, passwords, cookies and history, in ~/Library/Application Support/Firefox/Profiles. The cache is not in there. It sits in a separate folder under ~/Library/Caches/Firefox/Profiles, one per profile, with the cache itself in a folder called cache2. To confirm the exact path on your Mac, type about:cache in Firefox's address bar: the disk section names the folder. To see how much it holds:
du -sh ~/Library/Caches/Firefox 2>/dev/nullIf you would rather clear it in Finder, quit Firefox first, press Shift-Command-G, go to ~/Library/Caches/Firefox/Profiles, open your profile's folder and drag cache2 to the Trash, then empty the Trash. Leave the folder in Application Support alone: that is your profile, not a cache, and deleting it loses your bookmarks and saved passwords. Firefox's own setting above does the same job without the risk, and is the one to use.
Why it comes back
The cache holds images, scripts and other parts of sites you visit so they load faster the next time. It refills as you browse, so clearing it is worth doing when a site misbehaves or the disk is short, and it is not a lasting saving. For the other caches on a Mac, Safari's and Chrome's included, see how to clear the cache on a Mac.
Where the app comes in
RefreshYourMac has no Firefox category of its own. Firefox's cache folder is in ~/Library/Caches, so it is measured and cleared with everything else there under Application Caches, rated Safe for auto removal. Quit Firefox first for the best result. It does not touch your Firefox profile in Application Support. Application Caches is in both editions; in the Mac App Store edition it is included once you allow the Caches folder in Settings → Folders. For everything else worth checking, see how to free up space on a Mac.
What to do next: see these numbers for your own Mac. Download RefreshYourMac free, or get it on the Mac App Store.
What it costs to have an app do this
| RefreshYourMac | CleanMyMac | MacKeeper | |
|---|---|---|---|
| Pay once | $24.99 | €119.95 on MacPaw’s store; $89.99 for CleanMyMac X on the Mac App Store | subscription only |
| Yearly | $14.99 a year, first 7 days free | $39.99/yr; €19.91/yr for the cleaning-only Essential Trio | €71.40 for the first year, 1 Mac. Their page shows it against a €119.40 list price |
| Monthly | $1.99 a month | $9.99/mo | €10.95/mo |
| Account needed | No | Yes | Yes |
Before you pay anything, both versions give you 3 free scans. CleanMyMac and MacKeeper prices read from their own pages and the Mac App Store on 27 October 2026; the full comparison is at RefreshYourMac vs CleanMyMac and MacKeeper.
Frequently asked questions
How do I clear only the cache in Firefox on a Mac, without signing out?
Choose Firefox → Settings, open Privacy and security, and in Browsing data click Clear browsing data. Set When to Everything and tick only Temporary cached files and pages. Cookies, sign-ins, history and passwords are separate items, so leaving them unticked keeps them.
Where is the Firefox cache stored on a Mac?
Not in your profile. Firefox keeps the profile in ~/Library/Application Support/Firefox/Profiles and the disk cache in a cache2 folder under ~/Library/Caches/Firefox/Profiles. Type about:cache in Firefox’s address bar to see the exact folder on your Mac.
Can Firefox clear its cache automatically?
Yes. In Settings → Privacy and security → History, choose Customize history, tick Clear history when Firefox closes, click Settings… and tick only Temporary cached files and pages. Firefox then empties the cache every time it quits.
Is it safe to delete the Firefox folder in Application Support?
No. That folder is your Firefox profile, with your bookmarks, saved passwords, cookies and history, not a cache. The cache is in ~/Library/Caches, and Firefox’s own Clear browsing data setting empties it without touching the profile.