Cookies are enabled by default in Firefox, but you can change the setting if you turned them off
Firefox allows cookies by default, which means most websites will work normally without you doing anything. If a website is not loading properly, asking you to log in repeatedly, or not remembering your preferences, cookies may have been disabled. You can turn them back on in Firefox settings in less than a minute.
Cookies are small files that websites store on your computer to remember information about you — your login status, items in your shopping cart, or your language preference. Without cookies, many websites cannot function properly. Firefox gives you control over whether to accept them, but the default setting is to accept them from most sites.
Key Takeaways
- Open Firefox, click the menu button (three horizontal lines) in the top right, and select Settings to find cookie controls.
- Under Privacy & Security, look for the Cookies and Site Data section to see your current cookie setting.
- Choose "Allow all cookies" to restore normal website behavior, or select a more restrictive option if you prefer to limit tracking.
- If you want to keep cookies disabled for most sites but allow them on specific websites, add those sites to your exceptions list.
Finding the cookie setting in Firefox Settings
Open Firefox and click the menu button in the top right corner — it looks like three horizontal lines stacked on top of each other. From the dropdown menu, select Settings. This opens Firefox's main settings page in a new tab.
On the left side of the Settings page, click Privacy & Security. This section controls how Firefox handles your data and website permissions. Scroll down until you see the heading "Cookies and Site Data" — this is where you control whether websites can store cookies on your computer.
Choosing the right cookie setting for your needs
Under Cookies and Site Data, you will see several options. The default setting is usually "Allow all cookies" or "Allow cookies and site data from websites you visit." Both of these settings let websites work normally. If you see a different option selected, that is why some websites may not be working as expected.
Click the radio button next to "Allow all cookies" to restore full cookie functionality. This is the most permissive setting and will let websites remember your login information, shopping cart contents, and preferences. If you are concerned about tracking, you can instead choose "Allow cookies and site data only from websites you visit" — this blocks some tracking cookies while still letting websites function.
The most restrictive option is "Only allow cookies and site data set by the website you are visiting" or "Block all cookies." These settings will break many websites and prevent you from staying logged in. Only use these if you have a specific reason to block cookies entirely.
Allowing cookies on specific websites while blocking them elsewhere
If you want to block cookies by default but allow them on certain websites, you can create an exceptions list. First, set your default cookie policy to "Block all cookies" or the most restrictive option you prefer.
Then, when you visit a website that needs cookies to work, Firefox will show a notification bar at the top of the page. Click the button to allow cookies on that site. Firefox will add it to your exceptions list, and that website will be able to store cookies while all other sites remain blocked.
You can also manually add websites to your exceptions list. In the Cookies and Site Data section, click the Manage Exceptions button. Type the website address (for example, amazon.com) and click Allow. That website will now be able to store cookies even though your default setting blocks them.
Clearing cookies you have already stored
If you want to delete cookies that websites have already stored on your computer, you can clear them from the same section. In Cookies and Site Data, click the Manage Data button. This shows a list of all websites that have stored data on your computer.
You can search for a specific website and click Remove to delete only that site's cookies, or click Remove All to delete everything. Clearing cookies will log you out of websites and remove any stored preferences, so you may need to log back in the next time you visit.
What to do if cookies are still not working after you enable them
If you have enabled cookies but a website still is not working properly, the problem may be something else. Some websites require additional permissions beyond cookies — like access to your location or camera. Check if Firefox is showing a permissions request at the top of the page and allow it if needed.
Another common issue is that your browser cache or cookies are corrupted. Try clearing your browsing data by pressing Ctrl+Shift+Delete (Windows) or Command+Shift+Delete (Mac). Select Cookies and Site Data and Cached Web Content, then click Clear Now. Close and reopen Firefox, then try the website again.
If the website still does not work, try disabling Firefox extensions temporarily. Some extensions block cookies or modify how websites behave. Click the menu button, select Add-ons and Extensions, and toggle off each extension one at a time to see if one of them is causing the problem.
Understanding different types of cookies and what they do
Not all cookies are the same. Session cookies are temporary and disappear when you close Firefox — they keep you logged in while you are using a website. Persistent cookies stay on your computer longer and are used to remember your preferences across visits.
First-party cookies come from the website you are visiting and are necessary for basic functionality. Third-party cookies come from other companies and are often used for advertising or tracking. Firefox's "Allow cookies and site data only from websites you visit" setting blocks most third-party cookies while keeping first-party cookies enabled, which is a good balance between functionality and privacy.
Frequently Asked Questions
Why does Firefox keep asking me to log in even though I enabled cookies?
Some websites require additional security settings beyond cookies. Check if the website is asking for two-factor authentication or if your browser is set to clear cookies when you close it. In Firefox Settings under Privacy & Security, scroll to History and make sure "Clear history when Firefox closes" is turned off, or add the website to your exceptions list.
Will enabling cookies slow down Firefox or make it less find?
Enabling cookies will not slow down Firefox noticeably. Cookies are very small files. However, some websites do use cookies for tracking, which is a privacy concern rather than a security one. If you are worried about tracking, use the "Allow cookies and site data only from websites you visit" setting instead of allowing all cookies.
Can I enable cookies for one website but block them for another?
Yes. Set your default cookie policy to "Block all cookies," then use the Manage Exceptions button to add specific websites where you want cookies allowed. Firefox will block cookies everywhere except the sites you add to the exceptions list.
What happens if I clear all my cookies?
Clearing cookies will log you out of all websites and remove any stored preferences like language settings or saved items. You will need to log back in the next time you visit those sites. This does not delete your passwords — those are stored separately in Firefox's password manager.
Is there a difference between cookies and tracking pixels?
Yes. Cookies are files stored on your computer. Tracking pixels are tiny images embedded in websites that send information back to advertisers. Firefox's cookie settings do not block tracking pixels, but Firefox's Enhanced Tracking Protection feature does. You can enable it in Privacy & Security under Tracking Protection.