TechBuzzPro

Delete Firefox Cache2: Step-by-Step Guide

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To delete Firefox's cache2 folder, close Firefox, locate your profile folder, and delete the cache2 directory inside it. This forces Firefox to rebuild its cache from scratch, which can fix corrupted cache issues, free up disk space, or resolve pages that won't load properly. You don't need any special tools—just your file manager and a moment of patience. Below is the full walkthrough, including what to do if things go sideways.

What You'll Need

  • Access to your computer's file manager (File Explorer on Windows, Finder on Mac, or your Linux file manager).
  • Your Firefox profile folder path (we'll show you how to find it).
  • Optional: a USB drive or cloud storage if you want to back up your profile first (recommended for safety).

Step-by-Step

  1. Close Firefox completely. Make sure no Firefox windows are open, and also check your system tray (Windows) or menu bar (Mac) for any lingering Firefox icons. If you're not sure, use Task Manager (Windows) or Activity Monitor (Mac) to end any Firefox processes.
  2. Open your Firefox profile folder. The quickest way is to type about:profiles in Firefox's address bar and press Enter. Look for the profile that says "This is the profile in use" and note its "Root Directory" path. If you can't do that (because Firefox is closed), manually navigate to the default location:
    • Windows: Press Win + R, type %APPDATA%\Mozilla\Firefox\Profiles\, and press Enter.
    • Mac: In Finder, press Cmd + Shift + G, enter ~/Library/Application Support/Firefox/Profiles/, and press Enter.
    • Linux: Open your file manager and go to ~/.mozilla/firefox/ (you may need to enable hidden files).
    You'll see one or more folders with names like xxxx.default or xxxx.default-release. If you have multiple, pick the one that matches the profile you use most often (the one with "default-release" is usually the current one).
  3. Locate the cache2 folder. Inside your profile folder, scroll down until you see a folder named cache2. It's usually near the bottom of the list. Do not confuse it with cache (older versions) or startupCache—those are separate and not what you're after.
  4. Delete the cache2 folder. Right-click on it and choose "Delete" (or drag it to the Recycle Bin/Trash). If you want to be extra safe, you can rename it to cache2_old instead of deleting—this preserves it in case you need to restore it, but Firefox will ignore it and create a fresh cache2 folder on next launch.
  5. Restart Firefox. Open Firefox normally. It will automatically create a new, empty cache2 folder. Your bookmarks, passwords, and history are untouched—only the cached website data (images, scripts, etc.) is gone.
  6. Verify it worked. Visit a few websites you frequent. They may load a bit slower the first time as Firefox rebuilds the cache, but after that, everything should be back to normal.

Common Mistakes

  • Deleting the wrong folder. Make sure you're inside the profile folder, not the Firefox installation folder. The installation folder (e.g., C:\Program Files\Mozilla Firefox) doesn't contain cache2—it's always in the profile.
  • Not closing Firefox first. If Firefox is still running, it may recreate the folder immediately or lock it so you can't delete it. Always close all Firefox processes first.
  • Deleting the entire profile folder. That would erase your bookmarks, passwords, and extensions. Only delete the cache2 subfolder.
  • Using the "Clear History" option instead. While Firefox's built-in "Clear Recent History" can clear cache, it doesn't always remove the cache2 folder itself (it clears the contents but leaves the folder). If you're having a specific cache-related issue, manual deletion is more thorough.

Tips

  • Back up your profile first. If you're not comfortable deleting things, copy the entire profile folder to another location before proceeding. That way, you can restore it if anything unexpected happens.
  • Use the built-in cache clearer first. For most users, going to about:preferences#privacy and clicking "Clear Data" under "Cookies and Site Data" (or using the "Clear Recent History" with "Cache" selected) is enough. Only manually delete cache2 if that doesn't solve your problem.
  • Keep your cache size in check. You can set a cache limit by going to about:config, searching for browser.cache.disk.capacity, and setting a lower value (default is 358400 KB, which is 350 MB). This prevents the cache from growing too large.
  • Know that the cache will rebuild. Deleting it is not a one-time fix—Firefox will recreate it as you browse. If you're trying to save disk space, consider lowering the cache limit instead of repeatedly deleting it.

Troubleshooting

If deleting the cache2 folder didn't solve your issue or caused new problems, try these steps in order:

  1. Check if the folder reappeared. Open your profile folder again and see if cache2 is back. If it is, that's normal—Firefox created it. If you wanted to keep it deleted, you can't; Firefox needs a cache folder. But if the folder is there and still causing issues, try the next step.
  2. Clear the cache via Firefox's settings. Go to about:preferences#privacy, scroll to "Cookies and Site Data," and click "Clear Data." Make sure "Cached Web Content" is checked, then click "Clear." This is a less invasive way to clear cache data.
  3. Restart Firefox in Safe Mode. Click the menu button (three horizontal lines) > Help > Restart with Add-ons Disabled. If the problem goes away, an extension is causing it. Disable extensions one by one to find the culprit.
  4. Refresh Firefox. Go to about:support and click "Refresh Firefox…" This resets many settings while keeping your bookmarks and passwords. It will also remove the cache2 folder as part of the process. Your extensions and customizations will be removed, but you can reinstall them.
  5. Reinstall Firefox. If nothing else works, uninstall Firefox (your profile data is usually kept, but back it up first) and reinstall from the official Mozilla website. This is a last resort and rarely needed.

Frequently Asked Questions

Will deleting cache2 log me out of websites?

No. Deleting the cache2 folder only removes cached files like images and scripts. It does not affect cookies, which are stored separately in a different folder. You'll stay logged in to most sites.

Is it safe to delete cache2?

Yes, it's completely safe. Firefox will recreate the folder automatically. You might notice slightly slower loading on first visits, but that's temporary.

Why would I need to delete cache2 manually?

If you're experiencing pages that load incorrectly, show outdated content, or crash, a corrupted cache can be the cause. The built-in "Clear Data" option usually works, but manual deletion is more thorough.

Does deleting cache2 free up a lot of disk space?

It can, but it depends. The cache size is limited by Firefox (default is 350 MB), so you might free up a few hundred megabytes at most. If you need more space, consider clearing other data like old downloads or uninstalling unused extensions.

Will I lose my bookmarks or passwords?

No. Bookmarks, passwords, and history are stored in separate files (like places.sqlite and logins.json). Deleting cache2 only removes cached website content.

Can I delete cache2 while Firefox is running?

Technically you can try, but it's not recommended. Firefox may be using files in that folder, which could cause errors or the folder might be recreated immediately. Always close Firefox first.