SiftMac
Is it safe to delete? · Browsers · Updated 21 November 2026

Is it safe to delete the Firefox cache on a Mac?

By Mohit Nippanikar, who makes SiftMac

The short answer
On this page
  1. What it is
  2. Where it is
  3. How big it gets
  4. How to clear it safely
  5. What happens afterwards
  6. Questions

1. What it is

Mozilla describes the cache as images, scripts and other parts of websites that Firefox stores temporarily to speed up browsing. On a Mac, each Firefox profile is split in two: a root folder for your data and a local folder for caches. Mozilla’s profile documentation says the local one holds caches that can safely be deleted.

2. Where it is

~/Library/Caches/Firefox/Profiles

Profile folders have a random prefix, and with one profile its name includes default. To be sure which is which, type about:profiles in the address bar: every profile lists a Root Directory and a Local Directory, and the Local Directory is the cache side.

3. How big it gets

It depends on how much you browse. Typing about:cache in the address bar shows the disk cache’s location, how many entries it holds and its total size. To measure every profile’s cache from Terminal:

du -sh ~/Library/Caches/Firefox/Profiles/*

4. How to clear it safely

  1. Choose Firefox › Settings (Preferences in some versions) and select the Privacy and security panel.
  2. In the Browsing data section, click Clear browsing data.
  3. Next to When, choose Everything, and make sure only Temporary cached files and pages is ticked.
  4. Click Clear.

The menu button’s History › Clear Recent History… offers the same choice. Leave cookies unticked and you stay signed in to sites.

Or quit Firefox (⌘Q) and clear the folder Mozilla calls safe to delete:

rm -rf ~/Library/Caches/Firefox/Profiles/*

Clear it every time Firefox closes

In Privacy and security, go to the History section and choose to customise what Firefox remembers. Tick Clear history when Firefox closes, click Settings… beside it, tick Temporary cached files and pages and nothing you want to keep, then click Save Changes.

5. What happens afterwards

Questions

Is ~/Library/Caches/Firefox safe to delete?

Yes, with Firefox quit. Mozilla’s documentation says a profile’s local directory, which on a Mac is under ~/Library/Caches/Firefox/Profiles, holds caches that can safely be deleted.

Will clearing the Firefox cache delete my bookmarks or passwords?

No. They’re in the root profile folder in ~/Library/Application Support/Firefox/Profiles, which clearing the cache doesn’t touch.

Why does Firefox have folders in both Caches and Application Support?

Mozilla splits each profile in two: persistent data in Application Support and caches in Caches, so the cache can go without risking your data.

Can Firefox clear its cache by itself?

Yes. Turn on Clear history when Firefox closes, and in its Settings… choose only Temporary cached files and pages.

How SiftMac handles it. Its App caches category lists ~/Library/Caches/Firefox with its size and clears it only while Firefox is closed; if Firefox is open, it’s left alone, and that’s checked again right before cleaning. The profile in Application Support, with your bookmarks and passwords, isn’t part of it.

Download SiftMac · scanning is free, and so is your first 2 GB of cleaning · See how it works