This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why does firefox need to be closed to delete cookies & temp files

  • 4 replies
  • 1 has this problem
  • 6 views
  • Last reply by dorbert

more options

Only firefox seems to be this way -- under Windows, when I run a cleaner to delete temp files and cookies, firefox temp files and cookies can't be deleted unless firefox is closed. Can't this be fixed?

Only firefox seems to be this way -- under Windows, when I run a cleaner to delete temp files and cookies, firefox temp files and cookies can't be deleted unless firefox is closed. Can't this be fixed?

Chosen solution

awkward. :(

Read this answer in context 👍 0

All Replies (4)

more options

It's usually not a good idea to have third-party applications mess with Firefox files. In any case, you can't delete files while they are in use, and the cache folder and cookie database are in use while Firefox is running.

You can easily clear this data from inside Firefox using the Clear Recent History option. You can find it under the History menu, or you can bring it up with Ctrl+Shift+Del. You can also have Firefox clear things automatically every time you close it.

Modified by Gingerbread Man

more options

Other browsers don't seem to have his problem. i enjoy be being able to click on one item and having things cleared without fuss or bother. I'd prefer not to auto delete with each close nor do I want to have to manually hunt down with Ctrl+Shift+Del. I'm aware of those options. I was wondering why firefox still worked that way. Definitely a disadvantage for me using it. reminds me of the story:

A guy goes into a store to buy a suit and the clerk gives him one to try on: Guy, "Hey one sleeve is longer than the other." Clerk says, "Just shift your shoulders like this and it will look fine, see." Guy, "But the pantlegs are uneven." Clerk, "Well, just shift your weight onto one hip and, yes, see it looks fine." Guy, "But the collar rides low on one side." Clerk, "Here, hold that side in place with your chin against your chest like you're holding a violin. Voila!"

These accommodations go on for bit and the guy, somewhat exasperated but worn down, buys the suit. He wears it out of the store and down the street with his chin clamped to his chest, and one leg sort of dragging and his shoulder cocked, etc.

Two doctors walk past him and one says, "Oh that poor fellow," and the other says, "Yes, but he sure had a nice looking suit."

more options

Firefox stores cookies in a database file. Your cleaning application presumably knows that database files can be corrupted (and Firefox probably would crash) if you try to delete that file while in use.

more options

Chosen Solution

awkward. :(