cancel
Showing results for 
Search instead for 
Did you mean: 

Enable and disable cookies that websites use to track your preferences

Cookies are stored on your computer by websites you visit and contain information such as site preferences or login status. This article describes how to enable and disable cookies in Firefox.

How do I change cookie settings?

Note: Cookies are enabled by default in Firefox.

To check or change your settings:

  1. Click the menu button New Fx Menu and choose Options.Preferences.
  2. Select the Privacy panel.

  3. Set Firefox will: to Use custom settings for history.
    customhistory38
  4. Check mark Accept cookies from sites to enable cookies, and uncheck it to disable them.
    PrivacyCookies
  5. Choose how long cookies are allowed to be stored:
    • Keep until:
      they expire: Each cookie will be removed when it reaches its expiration date, which is set by the site that sent the cookie.
      I close Firefox: The cookies that are stored on your computer will be removed when Firefox is closed.
      ask me every time: Displays an alert every time a website tries to send a cookie, and asks you whether or not you want to store it.
  6. Close the about:preferences page. Any changes you've made will automatically be saved.

Websites report cookie errors

If a website gives you an error message saying that you cannot accept cookies, see Websites say cookies are blocked - Unblock them.

Customize this article

Firefox

Firefox for Android

Firefox for iOS

Firefox OS

Thunderbird

Version History
Revision #:
3 of 3
Last update:
3 weeks ago
Updated by:
 
Comments
charliesrose

I wanted to enter a contest but this comes up: We are sorry, but you will need to enable cookies within this website.

I have Vista, and when I click on the Firefox button there is no choice for "Tools" to enable cookies or do anything with "security", "content" or anything...it's not there. Can you tell me where to find it? Thank you.

See /forums/knowledge-base-articles/704956 for related discussions about this article.

charliesrose, the Tools menu is in parenthesis to describe the default behavior on Windows XP. If you've set to show the Firefox button on Windows XP, you must use the instructions related to the Firefox button.

I added the TOC, removed the fx3 content and the fx35 & fx4 tags, added # in front of T:customhistory, removed duplicated keyword. It needs review.

I approved this as a level 2 revision. Ready for localization?

underpass

Sorry, we received an email notification about these changes, but we do not see any update in the localization dashboard.

Is it a bug? Thanks

Hopefully Michael Verdi or another admin will see this post and decide whether this article is ready to localize. This is being discussed here: https://support.mozilla.com/en-US/forums/contributors/704982#post-40364

john6528

Want to enter a long list of coolies to block NOT one at a time. If I knew where they were stored I could probably do it but that information is missing.

See Block websites from storing site preferences or login status in Firefox.

In Firefox 6, there'll be the about:permissions page which is a kind of permission panel with a website manager. See How do I manage website preferences and permissions? in progress.

I just marked the latest revision (6/20/2011) as ready for L10n.

Robynsveil

I wish to enable cookies. I go to Firefox -> Options and bring up the Privacy Tab. I click on the History dropdown: (Firefox will:) and select Use Custom Settings for History. I go with the recommended settings to enable cookies. Then I click okay.

When I go back into Firefox -> Options -> Privacy Tab, the "Remember History" option has been re-selected, and not the "Use Custom Settings for History". Cookies are not enabled.

What gives?

gvpower

I am doing exactly the same thing and having exactly the same problem.

Robynsveil

I'm not entirely convinced this is followed very closely: I've had nil acknowledgement of my submission at all. I'm running Windows 7 Home Premium, 64-bit. Firefox 9.0.1 and I'm on the update release channel. My system: HP Pavilion i7, 4 gig RAM.

Perhaps this issue needs to be submitted as a bug report? This reminds me of Win7 Home Premium's Persistent Connections issues: you click on the dialogue and click save and nothing happens: doesn't save. But of course, that's M$. :-/

gvpower

How do you send a bug report???

The Discussion forum where you posted your comment is for contributors who want to improve Firefox support articles, not for actually requesting help or reporting problems.

Before filing a bug report ( which is done through bugzilla.mozilla.org ) you should report your Firefox issue by asking a question in the Support Forum. You can use this link as a starting point: https://support.mozilla.com/questions/new

Robynsveil

Thanks for the links, Alice. :)

Robynsveil

Right! So, I've submitted the following bug report:

Robyn Hahn 2012-01-19 01:01:13 PST User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Build ID: 20111220165912

Steps to reproduce: I wish to enable cookies. I go to Firefox -> Options and bring up the Privacy Tab. I click on the History dropdown: (Firefox will:) and select Use Custom Settings for History. I go with the recommended settings to enable cookies. Then I click okay.

Actual results: When I go back into Firefox -> Options -> Privacy Tab, the "Remember History" option has been re-selected, and not the "Use Custom Settings for History". Cookies are not enabled.

Expected results: When I re-open Firefox -> Options -> Privacy Tab, it should be displaying: Firefox will: "Use Custom Settings for History", not "Remember History". And cookies will be enabled (I'm assuming), which currently they are not. This affects my browser experience dramatically in Google Search, since I cannot set any preferences at all.