Back to blog

/ Updated

How to Enable Cookies in Firefox

Learn how to enable cookies in Firefox on desktop, Android, and iPhone, including how to allow cookies for one website and fix cookie-related login problems.

  • firefox
  • browser
  • cookies
  • privacy
  • troubleshooting

Firefox usually allows normal website cookies by default. If a website says cookies are disabled, the most common fix is to change Firefox’s Enhanced Tracking Protection settings, allow cookies for that specific site, or stop Firefox from deleting cookies when you close the browser.

This guide shows how to enable cookies in Firefox on desktop, Android, and iPhone.

Table of Contents

Enable Cookies in Firefox on Desktop

Use this method if you are using Firefox on Windows, macOS, or Linux.

  1. Open Firefox.
  2. Click the menu button in the top-right corner.
  3. Select Settings.
  4. Open Privacy & Security.
  5. Find the Enhanced Tracking Protection section.
  6. Select Standard.

The Standard setting is the best option for most people. It allows normal cookies that websites need for sign-ins, shopping carts, preferences, and sessions, while still blocking many known trackers.

If you previously selected Custom, check the cookie option carefully. A strict custom cookie setting can break websites that need login cookies or cross-site authentication.

Mozilla’s official Firefox help explains that Enhanced Tracking Protection controls how Firefox handles trackers, cookies, cryptominers, fingerprinters, and similar privacy-related behavior: Enhanced Tracking Protection in Firefox.

Allow Cookies for One Website

Sometimes you do not need to change cookie settings for every website. If only one site is broken, allow cookies for that site instead.

  1. Open the website that is not working.
  2. Click the shield icon on the left side of the address bar.
  3. Turn off Enhanced Tracking Protection for that site.
  4. Firefox will reload the page automatically.
  5. Try signing in or using the site again.

This is useful for websites that use third-party login systems, payment pages, embedded dashboards, or account verification pages.

Only do this for websites you trust. Turning off protection for a site can allow more trackers on that specific website.

Enable Cookies in Firefox on Android

On Android, cookie behavior is also connected to Firefox’s tracking protection settings.

  1. Open Firefox on your Android phone.
  2. Tap the three-dot menu.
  3. Tap Settings.
  4. Tap Enhanced Tracking Protection.
  5. Choose Standard.

If a website still does not work, open that website and tap the shield icon in the address bar. You can turn off Enhanced Tracking Protection for that specific site.

Mozilla’s Android support page explains that Firefox for Android includes Enhanced Tracking Protection and Total Cookie Protection features that affect how cookies and trackers are handled: Enhanced Tracking Protection in Firefox for Android.

Enable Cookies in Firefox on iPhone or iPad

Firefox for iOS has fewer cookie controls than Firefox on desktop. For most users, cookies are controlled through tracking protection and iOS privacy settings.

First, check Firefox settings:

  1. Open Firefox on your iPhone or iPad.
  2. Tap the menu button.
  3. Open Settings.
  4. Find Enhanced Tracking Protection.
  5. Use the default or standard protection mode if a site is not working correctly.

If a website still says cookies are blocked, check iOS settings:

  1. Open the iPhone or iPad Settings app.
  2. Scroll down and tap Firefox.
  3. Look for cross-site tracking or privacy-related options.
  4. Allow cross-site tracking only if the website needs it and you trust the site.

This is most often needed for login systems, embedded checkout pages, school portals, work dashboards, or authentication pages that move between multiple domains.

Mozilla’s Firefox for iOS support page explains how Enhanced Tracking Protection works on iPhone and iPad: Enhanced Tracking Protection in Firefox for iOS.

Stop Firefox From Deleting Cookies Automatically

If cookies work during the session but you get logged out every time you close Firefox, cookies may be deleted automatically.

On desktop:

  1. Open Firefox.
  2. Click the menu button.
  3. Go to Settings.
  4. Open Privacy & Security.
  5. Scroll to Cookies and Site Data.
  6. Check whether Delete cookies and site data when Firefox is closed is enabled.
  7. Turn it off if you want websites to remember you.

Also check the History section:

  1. In Privacy & Security, find History.
  2. If Firefox is set to use custom history settings, check whether cookies are cleared when Firefox closes.
  3. Adjust the setting if needed.

This matters because enabling cookies is not enough if Firefox deletes them every time you close the browser.

If cookies are enabled but a website still does not work, try these fixes.

1. Refresh the Page After Changing Settings

After changing cookie or tracking protection settings, reload the page. Some websites only check cookie availability when the page first loads.

2. Clear Cookies for the Broken Website

Old or corrupted cookies can break login sessions.

  1. Open Firefox settings.
  2. Go to Privacy & Security.
  3. Find Cookies and Site Data.
  4. Click Manage Data.
  5. Search for the website.
  6. Remove that site’s stored data.
  7. Reload the website and sign in again.

This will sign you out of that specific website.

3. Disable Strict Protection Temporarily

If you use Strict Enhanced Tracking Protection, try switching to Standard temporarily. Strict protection can sometimes break websites that depend on cross-site cookies or embedded login systems.

4. Check Private Browsing Mode

Some websites behave differently in private windows because stored cookies are temporary. If the site works in a normal window but not in a private window, the issue may be related to private browsing behavior.

5. Check Extensions

Privacy extensions, ad blockers, script blockers, and cookie managers can override Firefox’s normal cookie behavior.

Try this:

  1. Open the menu.
  2. Go to Add-ons and themes.
  3. Temporarily disable privacy or cookie-related extensions.
  4. Reload the website.

If the website works after disabling an extension, adjust that extension’s settings instead of changing all Firefox privacy settings.

6. Update Firefox

Older browser versions may have different settings or site compatibility issues.

  1. Open the Firefox menu.
  2. Go to Help.
  3. Select About Firefox.
  4. Firefox will check for updates automatically.
  5. Restart Firefox if an update is installed.

FAQ

Are cookies enabled by default in Firefox?

Yes, normal cookies are usually enabled by default. Firefox mainly blocks known tracking cookies and other tracking technologies through Enhanced Tracking Protection.

Should I allow all cookies in Firefox?

For most users, Standard protection is the better choice. It allows websites to work normally while still blocking many trackers. Allowing everything is usually unnecessary.

Why does a website say cookies are disabled when they are enabled?

The website may need third-party cookies, cross-site authentication, or embedded login cookies. Try allowing cookies for that specific site by clicking the shield icon in the address bar and turning off Enhanced Tracking Protection for that site.

Why does Firefox keep logging me out?

Firefox may be deleting cookies when it closes, or an extension may be clearing cookies automatically. Check Settings > Privacy & Security > Cookies and Site Data and review any cookie-related extensions.

Is it safe to enable cookies?

Yes, cookies are a normal part of the web. They are used for logins, preferences, carts, and sessions. The privacy risk usually comes from tracking cookies, not from every cookie. Firefox’s Standard protection gives a good balance between usability and privacy.

Conclusion

To enable cookies in Firefox, open Settings > Privacy & Security and use Standard Enhanced Tracking Protection. If only one website is broken, use the shield icon in the address bar and turn off protection for that site instead.

If Firefox keeps logging you out, also check whether cookies are being deleted automatically when the browser closes.