Third-party cookies and Firefox tracking protection

Revision Information
  • Revision id: 170472
  • Created:
  • Creator: AliceWyman
  • Comment: Enable third-party cookies for specific sites
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: AliceWyman
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: Yes
  • Readied for localization:
  • Readied for localization by: AliceWyman
Revision Source
Revision Content

Third-party cookies are cookies that are 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. That 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. If you are concerned about this, you can disable third-party cookies in Firefox.

Third-party cookie settings are available in the OptionsPreferences page's Privacy panelPrivacy & Security panel:

  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 and go to the History section.

  3. In the drop-down menu next to Firefox will, choose Use custom settings for history.
  4. In the drop-down menu next to Accept third-party cookies choose Never.
    Privacy - Accept third-party cookies - Never 38Fx56Privacy&Security-CustomHistory-neverFx57CustomHistory3rdPartyCookies-never
    Note: If after browsing with this setting, you realize you can't view properly some of your favorite websites, an intermediate solution is to set it to From visited. That will allow third-party cookies coming from previously visited websites.
  5. Close the Settings page. Any changes you've made will automatically be saved.

Third-party cookie settings are available in the OptionsPreferences page's Privacy & Security panel:

  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 and go to the Cookies and Site Data section.
    Fx60CookiesAndSiteDataThird-partyNever
  3. In the drop-down menu next to Accept third-party cookies and site data choose Never.
    Note: If after browsing with this setting, you realize you can't view properly some of your favorite websites, an intermediate solution is to set it to From visited. That will allow third-party cookies coming from previously visited websites.
  4. Close the Settings page. Any changes you've made will automatically be saved.

Disable third-party cookies

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

  1. Click the Firefox menu button The image "fx57menu" does not exist. and select Content Blocking.
    • This takes you to the Content Blocking section of your Firefox Settings Privacy & Security panel.
    Fx63menuContentBlocking
  2. Select the Third-Party Cookies checkbox to block third-party tracking cookies. To block all third-party cookies, change the setting from Trackers (recommended) to All third-party cookies (may cause websites to break).
Note: If the checkbox is already selected and you see the message Your settings in Cookies and Site Data are preventing changes to Third-Party Cookies settings, click Change Cookie Settings.
Fx63ChangeCookieSettings
This takes you to the Cookies and Site Data section of Firefox OptionsPreferences, where you can change the type of cookies blocked.
Fx63settings-BlockCookies

Enable third-party cookies for specific sites

Some websites may not work properly when third-party cookies are blocked, even with the Trackers (recommended) setting. To enable third-party cookies for specific websites, click the Control Center button Site Info button in the address bar and click Disable Blocking for This Site.

Fx63ControlCenter-ThirdPartyCookiesBlocked

For more information, see Turn Content Blocking off on individual sites.