Skip to content

Block or Allow Browser Cookies in Firefox on the Computer

Firefox may block sign-in, shopping, or embedded media on some sites once cookies are restricted. You can set the global policy first, then give individual websites their own rule without changing everything else.

Open Privacy & Security settings, pick the cookie scope that fits how you browse, and use Manage Exceptions or Page Info for one-off fixes.

In this guide, I have covered:

Choose a global cookie policy in Firefox

You want cookies blocked, or you want them allowed again. In Firefox on a computer, both start with the same setting: the cookie policy under Enhanced Tracking Protection.

Set that first. Add a per-site rule only when one website needs different behavior than everything else.

Choose the blocking scope

Blocking every cookie can sign you out of sites you use daily, while narrower cross-site options keep more of the web working. The Cookies dropdown gives you these choices:

  • All cookies: block every cookie. Sites may lose sign-in, shopping, and other features that rely on stored data.
  • All cross-site cookies (may cause websites to break): block cookies sent by embedded content from other sites while keeping cookies set by the site you are visiting.
  • Cross-site tracking cookies, and isolate other cross-site cookies: block known tracking cookies and isolate other cross-site cookies. This is the narrower option to try when regular sign-ins matter to you.

Firefox’s Standard mode uses Total Cookie Protection and blocks cross-site tracking cookies by default. Strict mode disables all cross-site cookies, so some embedded content and sign-in flows may stop working.

note icon

Before you block every cookie: the strictest setting can sign you out of websites and break features that rely on cookies.

  1. Open the horizontal 3-bar icon menu at the top right of Firefox.
  2. Choose Settings from the menu.
  3. Select Privacy & Security in the left sidebar.
  4. Scroll to Enhanced Tracking Protection and select Custom.
  5. Tick Cookies to reveal its dropdown.
  6. Open the Cookies dropdown.
  7. Select the scope that matches your choice above.

The dropdown should now show the scope you picked. Reload an affected site to test it.

Allow cookies globally in Firefox

Sometimes the fix runs the other way. A site you trust stopped working because cookies are turned off, and you want Firefox to accept cookies from websites by default again.

That checkbox sits in Cookies and Site Data, inside the same Privacy & Security panel, and it is separate from the tracking protection scope you just set.

  1. Click the hamburger menu horizontal 3-bar icon in the top right of Firefox and choose Settings.
  2. Select Privacy & Security from the left sidebar.
  3. Scroll down to the Cookies and Site Data section.
  4. Confirm the selected radio option is "Accept cookies and site data from websites (recommended)" and not "Block cookies and site data".
  5. If it was set to block, change it to accept, then close and reopen the affected tab.

You’ll know it worked when Cookies and Site Data shows Accept cookies and site data from websites (recommended). Reopen the affected tab after the change.

Manage site-specific cookies

One site keeps failing while everything else works? Leave the global policy alone. Give that address its own cookie rule through Page Info, and Firefox applies it there only.

  1. Open the website in Firefox.
  2. Right-click an empty area of the page.
  3. Choose View page info from the context menu.Firefox Page Info window for cookie permissions
  4. Select the Permissions tab.
  5. Find Set Cookies and clear the Use default checkbox.
  6. Select Block or Allow for Set Cookies.Firefox Permissions tab with Set Cookies options

You’ll know it worked when the sign-in prompt or the embedded content comes back after a reload. If the page still fails, saved data may be the culprit: clear the saved cookies for that site and reload once more.

Allow cookies for one site temporarily

Some sites only need cookies long enough for you to finish a task, like a booking or a checkout. An Allow for Session exception gives that site cookies while Firefox is running and nothing more.

  1. Click horizontal 3-bar icon menu in the top-right of Firefox and choose Settings.
  2. Select Privacy & Security from the left sidebar.
  3. In the Cookies and Site Data section, click the Manage Exceptions… button.
  4. Type the full site address (for example, https://example.com) in the Address of website field.
  5. Set the Status dropdown to Allow for Session (not plain Allow).
  6. Click Save Changes, then close the dialog.
  7. Reload the site in the browser.

You’ll know it worked when the site appears in Manage Exceptions with Allow for Session beside it and the page loads after a reload.

bulb tip icon

TIP: A session rule does not survive a restart. Once you quit Firefox, the site falls back to your default cookie policy, so there is nothing to clean up later.

Block or allow cookies for multiple sites

If the same handful of sites keeps breaking, or keeps storing data you don’t want, add them to the exceptions list once. Rules you add here stick until you remove them.

  1. Open the horizontal 3-bar icon menu at the top right of Firefox.
  2. Choose Settings from the menu.
  3. Select Privacy & Security in the left sidebar.
  4. Scroll to Cookies and Site Data.
  5. Click the Manage Exceptions… button.
  6. Enter the full site address, such as https://example.com, in the Address of website field.
  7. Choose Block or Allow in the Status menu.
  8. Click Save Changes.
  9. Repeat the address, status, and save steps for each remaining site.

Each address should now appear in the list with the status you chose. Return to those sites and reload them.

If a blocked site stops working, change that site’s status instead of turning cookies off everywhere. The list belongs to Firefox on this computer too, so if you browse on a phone, cookie settings on Firefox for Android are handled separately.

Bottom Line

Set the global cookie policy first, then make exceptions only for sites that need different behavior. Blocking every cookie is the strictest choice on that list, so test the narrower cross-site options before you go that far.

For temporary browsing without keeping session data, use private browsing mode in Firefox.

Frequently Asked Questions

How do I block cookies in Firefox on a computer?

Use the Custom option under Enhanced Tracking Protection, enable Cookies, and choose All cookies for the strictest block. For one website, set Set Cookies to Block in the Page Info Permissions panel.

How do I allow cookies in Firefox again?

Set Cookies and Site Data to Accept cookies and site data from websites (recommended). If the site still fails, add an Allow exception for it and reload the page.

Where did Firefox move the Manage Data option?

The button is now Manage Exceptions…, found under Privacy & Security and Cookies and Site Data. Use it to add a site to the Block or Allow list.

Will blocking all cookies sign me out of websites?

It can, because many sites use cookies to keep you signed in and remember preferences. If the sign-in issue remains after changing the rule, clear the stored cookies and test again.

Which cookie setting should I use for everyday browsing?

Start with Firefox’s Standard mode or the narrower Cross-site tracking cookies, and isolate other cross-site cookies option. Add an exception only for a site that fails, since broad blocking can break sign-ins and embedded content.

Please share the article if you find it helpful:

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases; of course at no extra cost to you (indeed, you may get special discounts).
Kushal Azza

Kushal Azza

Kushal Azza has worked in digital analytics for 14 years. He co-founded SolvyOne Digital and is building WPAQ.com, a website audit tool. He writes about measurement, AI, workflows and building products. Follow him on X/Twitter and LinkedIn.

Leave a thought or feedback

Please leave a descriptive comment or feedback with your real name. Our human moderator vets every comment, and it may take 24 to 48 hours to get published or rejected.
Your email address will not be published, and we will never spam your inbox. Required fields are marked *