How to Enable Cookies on Firefox Browser

Cookies are small text files that websites store on your device to remember your preferences, keep you logged in, and track session data. Without them, many websites behave unpredictably — shopping carts reset, login sessions drop, and personalized settings vanish. Firefox gives you fine-grained control over cookies, which is powerful but can occasionally mean cookies get blocked when you actually want them working.

Here's how the system works, what affects it, and what you need to know before making changes.

What Cookies Actually Do in Firefox

When you visit a site, it may ask your browser to store one or more cookies. Firefox either accepts or blocks that request based on its privacy and security settings. These settings exist on a spectrum — from accepting all cookies without restriction to blocking nearly every third-party tracker.

Firefox separates cookies into two broad types:

  • First-party cookies — set by the site you're directly visiting. Generally required for login sessions and preferences.
  • Third-party cookies — set by domains other than the one you're visiting. Often used for advertising and cross-site tracking.

Most issues with cookies being unexpectedly blocked involve third-party cookies or Enhanced Tracking Protection (ETP) intercepting requests it identifies as trackers.

How to Enable Cookies in Firefox 🍪

Step 1: Open Firefox Privacy Settings

  1. Click the hamburger menu (three horizontal lines) in the top-right corner
  2. Select Settings
  3. Navigate to Privacy & Security in the left sidebar

Step 2: Adjust Enhanced Tracking Protection

Under the Enhanced Tracking Protection section, you'll see three preset options:

ModeWhat It BlocksCookie Impact
StandardKnown trackers and cross-site tracking cookiesModerate — blocks most third-party trackers
StrictMore trackers, fingerprinters, cryptominersAggressive — may break some site functionality
CustomYou define exactly what gets blockedFully configurable

If cookies are being blocked on specific sites, switching from Strict to Standard often resolves it. If you need granular control — for example, allowing cookies from a specific category while blocking others — Custom mode lets you pick exactly what Firefox intercepts.

Step 3: Add Site Exceptions (Without Changing Global Settings)

You don't have to lower your privacy settings globally to allow cookies on one site. Firefox lets you create per-site exceptions:

  1. Visit the site where cookies aren't working
  2. Click the shield icon in the address bar
  3. Toggle off Enhanced Tracking Protection for this site

Firefox will reload the page with tracking protection disabled for that domain only. Your settings for every other site remain unchanged.

Alternatively, you can manage exceptions manually:

  1. Go to Settings → Privacy & Security
  2. Scroll to Cookies and Site Data
  3. Click Manage Exceptions
  4. Enter the site's URL and set it to Allow

Step 4: Check the "Delete Cookies and Site Data When Firefox is Closed" Setting

There's a setting many users overlook. If "Delete cookies and site data when Firefox is closed" is enabled, Firefox wipes all stored cookies every time the browser closes. This means sites won't remember you between sessions even if cookies are technically allowed during browsing.

To check:

  1. Go to Settings → Privacy & Security
  2. Under Cookies and Site Data, look for the checkbox labeled Delete cookies and site data when Firefox is closed
  3. Uncheck it if you want cookies to persist between sessions

Variables That Affect How Cookies Behave in Firefox

Enabling cookies isn't always a single switch — several factors shape the outcome.

Firefox version matters. Mozilla updates ETP behavior regularly. A setting that allowed certain third-party cookies in an older version may behave differently after an update, particularly as Firefox has tightened protections against cross-site tracking over time.

Extensions and add-ons can override Firefox's native settings. Privacy-focused extensions like uBlock Origin, Privacy Badger, or Cookie AutoDelete operate independently of Firefox's built-in controls. A cookie Firefox would allow might still get blocked or deleted by an installed extension.

Your operating system and profile play a role too. Firefox stores cookie data per profile. If you use multiple Firefox profiles — a common setup for separating work and personal browsing — cookies enabled in one profile have no effect on another.

Private/Incognito mode changes the rules entirely. Firefox's Private Browsing mode accepts cookies during a session but deletes them when the window closes. If you're testing whether cookies are working, make sure you're not in a private window.

Network and corporate environments add another layer. Some organizations push Firefox configuration policies that lock down cookie behavior. In managed environments, the Privacy & Security settings may be greyed out or constrained by a system administrator.

When Enabling Cookies Doesn't Fix the Problem 🔧

If you've enabled cookies and a site still isn't behaving correctly, the issue may not be cookies at all. Firefox also blocks localStorage, IndexedDB, and other site data storage mechanisms under certain configurations. The Cookies and Site Data panel in settings covers these as well.

It's also worth clearing existing corrupted cookie data. Go to Settings → Privacy & Security → Cookies and Site Data → Clear Data and clear just the cookies for the affected site. A fresh cookie set from a clean state often resolves issues that persist even after changing settings.

How Your Setup Determines the Right Approach

The correct configuration depends on what you're actually trying to accomplish. Someone who wants a frictionless browsing experience with persistent logins needs different settings than someone prioritizing privacy who only wants to whitelist a single trusted site.

Firefox's tiered system — global settings, per-site exceptions, and extension-level controls — means the same "cookies enabled" outcome can be reached several ways. Which path makes sense depends on how many sites you're managing, how much you trust third-party content on those sites, and whether you're in a standard or managed browsing environment.

Your current Firefox version, any active extensions, and how you've set up profiles all factor into what you'll actually experience once you make a change.