Block websites from storing cookies and site data in Firefox

Revision Information
  • Revision id: 85284
  • Created:
  • Creator: scootergrisen
  • Comment: Image(s) changed from inline to block level
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: heyjoni
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: No
Revision Source
Revision Content

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 block websites from storing cookies in Firefox.

Block cookies for a single site

To set Firefox to block cookies from one website:

  1. Go to the website you wish to block from setting cookies in Firefox.
  2. The template "ContextMenu" does not exist or has no approved revision. within the page and select View Page Info.
  3. In the Page Info window, select the Permissions panel.
  4. Underneath Set Cookies, remove the check mark from Use Default.
  5. Change the setting to Block.
    Blocking Cookies - Win1
  6. Close the Page Info window.
  7. Remove any cookies that the website has already set in Firefox. For instructions, see Clear cookies and site data in Firefox.

Viewing a list of blocked sites

To see a list of sites that you have blocked from setting 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 and go to the History section.

  3. In the drop-down menu next to Firefox will, choose Use custom settings for history.
  4. Next to Accept cookies from sites, click Exceptions….

Block cookies for all sites

To set Firefox to block cookies from all websites:

  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 panel.
  3. Set Firefox will: to Use custom settings for history.
  4. Remove the check mark from Accept cookies from sites.
  5. Close the Settings page. Any changes you've made will automatically be saved. .

To remove cookies that were stored previously, see Clear cookies and site data in Firefox.

Block third party cookies

To set Firefox to accept cookies only from the website you're currently visiting, see Third-party cookies and Firefox tracking protection.