Enable and disable cookies that websites use to track your preferences

Revision Information
  • Revision id: 188648
  • Created:
  • Creator: Lamont Gardenhire
  • Comment: Added new edits for FF70.
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: Lamont287
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: Yes
  • Readied for localization:
  • Readied for localization by: Lamont287
Revision Source
Revision Content

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

How do I view or change my cookie settings?

Note: Third-party tracking cookies are blocked by default in Firefox. To learn more about these settings, see the Enhanced Tracking Protection and Trackers and scripts Firefox blocks in Enhanced Tracking Protection articles.

Open the shield to the left of your address bar and select Protection Settings. This takes you to the Privacy & Security panel of Firefox Preferences. Here you can view settings for Enhanced Tracking Protection, which includes your cookie settings.

If Standard is selected, it means you’re in the default setting for Enhanced Tracking Protection and cross-site tracking cookies are blocked.

Standard Enhanced Tracking Protection

To enable all cookies, select the Custom radio button and deselect the Cookies checkbox.

Custom Enhanced Tracking Protection

Click the menu button The image "fx57menu" does not exist. and select Content Blocking. The Privacy & Security panel of Firefox Settings will open. This is where you can view your settings for Content Blocking, which includes cookies.

The image "fx65ContentBlocking" does not exist.

If Standard is selected, it means that you are using the default settings for content blocking and cookies are enabled.

To block cookies: Select the Custom radio button and select the Cookies checkbox.

Third-Party Trackers is the default setting for blocking cookies. Use the drop-down menu to change the type of cookies blocked. Note that disabling cookies can cause problems with websites. See this article to learn more about third-party cookies.

To enable all cookies, do one of the following:

  • Select the Custom radio button and deselect the Cookies checkbox.
  • Alternatively, select Standard to restore the default settings.

To learn more about these settings, see the Content blocking article.

Clear cookies when you close Firefox

To remove all cookies and site data when Firefox is closed:

  1. The template "OptionsPreferences" does not exist or has no approved revision.
  2. Select the Privacy & Security panel and go to the Cookies and Site Data section.
    FF70 Cookies Site Data
  3. Select the Delete cookies and site data when Firefox is closed checkbox.
Each time you close Firefox, the cookies that are stored on your computer will be removed.

Websites report cookie errors

If a website gives you an error message that cookies must be enabled, make sure that you have not blocked cookies for the website. See Block websites from storing cookies and site data in Firefox and Websites say cookies are blocked - Unblock them for more information.