Block websites from storing site preferences or login status in Firefox

Revision Information
  • Revision id: 7533
  • Created:
  • Creator: Verdi
  • Comment: added summary and keywords
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: Verdi
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: No
Revision Source
Revision Content

Cookies - Information that websites store on your computer are stored on your computer by websites you visit and contain information such as site​ pref​eren​ces ​or logi​n stat​us. 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. At the top of the Firefox windowOn the menu bar, click on the Tools menu, and select 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.

    1f26f07b671e46d7a9ed3df57afb9fb7-1251945943-898-1.png
  6. Close the Page Info window.
  7. Remove any cookies that the website has already set in Firefox. For instructions, see Delete cookies to remove the information websites have stored on your computer.

Viewing a list of blocked sites

To see a list of sites that you have blocked from setting cookies:

  1. At the top of the Firefox window, click on the Firefox button and then select Options.At the top of the Firefox window, click on the Tools menu and then select Options.On the menu bar, click on the Firefox menu and select Preferences....At the top of the Firefox window, click on the Edit menu and select Preferences.

    Click the menu button New Fx Menu and choose Options.Preferences.

Select the Privacy panel.

  • Set Firefox will: to Use custom settings for history.
    Custom History Fx21 WinXP Custom History Fx21 Win7 Custom History Fx21 Mac Custom History Fx21 Linux customhistory38
    1. Next to Accept cookies from sites, click Exceptions....
    1. At the top of the Firefox window, click on the Firefox button and then select Options.At the top of the Firefox window, click on the Tools menu and then select Options.On the menu bar, click on the Firefox menu and select Preferences....At the top of the Firefox window, click on the Edit menu and select Preferences.

      Click the menu button New Fx Menu and choose Options.Preferences.

    2. Select the Privacy panel.
    3. Next to Accept cookies from sites, click Exceptions....

    Block cookies for all sites

    To set Firefox to block cookies from all websites:

    1. At the top of the Firefox window, click on the Firefox button and then select Options.At the top of the Firefox window, click on the Tools menu and then select Options.On the menu bar, click on the Firefox menu and select Preferences....At the top of the Firefox window, click on the Edit menu and select Preferences.

      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.
    4. Remove the check mark from Accept cookies from sites.
    5. Click OK to close the Options window.Click Close to close the Preferences window.Close the Preferences window. Close the about:preferences page. Any changes you've made will automatically be saved.

    1. At the top of the Firefox window, click on the Firefox button and then select Options.At the top of the Firefox window, click on the Tools menu and then select Options.On the menu bar, click on the Firefox menu and select Preferences....At the top of the Firefox window, click on the Edit menu and select Preferences.

      Click the menu button New Fx Menu and choose Options.Preferences.

    2. Select the Privacy panel.
    3. Remove the check mark from Accept cookies from sites.
    4. Click OK to close the Options window.Click Close to close the Preferences window.Close the Preferences window. Close the about:preferences page. Any changes you've made will automatically be saved.

    To remove cookies that were stored previously, see Delete cookies to remove the information websites have stored on your computer.


    Block third party cookies

    To set Firefox to accept cookies only from the website you're currently visiting, see Disable third-party cookies in Firefox to stop some types of tracking by advertisers.