Third-party cookies and Firefox tracking protection

Revision Information
  • Revision id: 247547
  • Created:
  • Creator: Denys
  • Comment: Updated the images. Some minor changes.
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: AliceWyman
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: No
Revision Source
Revision Content

Third-party cookies are cookies set by a website other than the one you are currently on. For example, cnn.com might have a Facebook like button on their site. The like button will set a cookie that can be read by Facebook. That would be considered a third-party cookie. Some advertisers use these types of cookies to track your visits to the various websites on which they advertise. This is called cross-site tracking.

Note: Cross-site tracking cookies are now disabled by default for all Firefox users. See Enhanced Tracking Protection for more information about how Firefox protects you against tracking.

When third-party cookies are disabled, it can stop some, but not all types of tracking. If you are concerned about tracking, see also How do I turn on the Do Not Track feature?, Enhanced Tracking Protection in Firefox for desktop and Trackers and scripts Firefox blocks in Enhanced Tracking Protection.

Disable third-party cookies

To block cross-site trackers or all third-party cookies:

  1. In the Menu bar at the top of the screen, click Firefox and then select Preferences or Settings, depending on your macOS version.Click the menu button Fx89menuButton and select Settings.
  2. Select the Privacy & Security panel.
    Privacy & SecurityFx98settingsETP
  3. Under Enhanced Tracking Protection, select the Custom radio button.
  4. Check Cookies and use the drop-down menu to select the types of cookies you wish to block. The default setting is Cross-site tracking cookies — includes social media cookies.
    Fx87ETPcustom-cookiesFx97settings-ETPcustomCookiesFx102settings-ETPcustomCookies
    • To block all third-party cookies, select All third-party cookies from the drop-down.
  5. Close the Settings page. Any changes you've made will automatically be saved.
Note: Firefox also includes Total Cookie Protection, which creates a “cookie jar” for every website. This feature keeps cookies in the site where they were created so that they can't track you across websites. Total Cookie protection is enabled when the Cross-site tracking cookies — includes social media cookiesCross-site tracking cookies, and isolate other cross-site cookies setting is selected.

Enable third-party cookies for specific sites

Some websites may not work properly when third-party cookies are blocked, even with the default setting, Cross-site tracking cookies — includes social media cookies.

To turn off Enhanced Tracking Protection for a specific website:

  1. Visit the website.
  2. Click on the shield Fx89ShieldIcon to the left of the address bar.
  3. Toggle the switch Fx91ETPbluetoggle at the top of the panel.
    Fx91SiteFixedSendReport
    • This will turn off Enhanced Tracking Protection for this site. The page will reload automatically and allow trackers on this site only.

Follow the same process to turn Enhanced Tracking Protection back on.