Why your browser needs cookies turned on
Cookies are small files that websites store on your computer to remember information about you — your login status, items in a shopping cart, your language preference, or sites you've visited. Without cookies enabled, many websites won't work properly: you'll get logged out unexpectedly, shopping carts will empty, and some pages won't load at all.
Most browsers come with cookies enabled by default, so you may never need to change this setting. But if a website tells you to enable cookies, or if you've disabled them and want to turn them back on, the process takes less than a minute and looks slightly different depending on which browser you use.
Key Takeaways
- Cookies are turned on by default in Chrome, Firefox, Safari, and Edge, so most people never need to change this setting.
- If a website stops working or tells you to enable cookies, the fix is in your browser's Settings or Preferences menu under Privacy or Security.
- You can enable all cookies at once, or block third-party cookies while allowing regular ones — the choice depends on what websites you use.
- Clearing your cookies regularly is safe and won't break anything, but you'll need to log back into websites afterward.
Enable cookies in Google Chrome
Open Chrome and click the three vertical dots in the top right corner. Select Settings from the menu that appears. On the left side, click Privacy and security, then click Cookies and other site data.
You'll see several options. To turn cookies on completely, make sure Allow all cookies is selected. If you want to block third-party cookies (ads and trackers from other websites) but keep regular cookies working, select Block third-party cookies instead. Close the Settings tab when you're done — the change takes effect when ready.
Enable cookies in Mozilla Firefox
Open Firefox and click the three horizontal lines in the top right corner. Select Settings. On the left, click Privacy & Security. Under the "Cookies and Site Data" section, make sure the checkbox next to Cookies and Site Data is checked.
Below that, you'll see options for what to allow. Choose Allow cookies and site data by default to turn cookies fully on. If you prefer to block tracking cookies, select Only allow cookies from sites you visit instead. Firefox will remember your choice the next time you open the browser.
Enable cookies in Safari
Open Safari and click Safari in the menu bar at the top of your screen. Select Settings (or Preferences on older Macs). Click the Privacy tab. Under "Cookies and website data," select Allow from websites I visit or Always allow, depending on how much tracking you want to permit.
The difference is small: "Allow from websites I visit" blocks cookies from ads and trackers, while "Always allow" accepts all cookies. Either option will make most websites work normally. Close the window when you're finished.
Enable cookies in Microsoft Edge
Open Edge and click the three dots in the top right corner. Select Settings. On the left, click Privacy, search, and services. Scroll down to "Cookies and other site data" and make sure Allow all cookies is selected.
If you want to block third-party cookies while keeping regular ones on, select Block third-party cookies instead. Edge will explore your choice to all websites you visit from that point forward. You don't need to restart the browser.
What to do if a website still doesn't work
If you've enabled cookies but a website still won't let you log in or keeps logging you out, the problem might be that your browser is clearing cookies automatically when you close it. Go back to your cookie settings and look for an option like "Clear cookies and site data when you close the browser" or "Clear history on exit." Make sure this is turned off.
Another possibility is that the website itself is having trouble. Try closing the browser completely and opening it again. If the problem persists on multiple websites, restart your computer — sometimes browser settings don't fully take effect until you do.
Understanding third-party cookies and tracking
When you visit a website, that site can store a cookie on your computer — that's a first-party cookie and it's usually harmless. But advertisers and data brokers can also place cookies on your computer through ads and tracking pixels embedded in websites. These are third-party cookies, and they follow you across the internet to build a profile of your browsing habits.
Most modern browsers now block third-party cookies by default. If you want to block them but still use websites normally, select the "block third-party cookies" option in your browser settings. This keeps you logged into the sites you visit while preventing advertisers from tracking you across the web.
Frequently Asked Questions
Is it safe to clear my cookies?
Yes, clearing cookies is completely safe. You won't lose any files or damage your computer. The only consequence is that you'll need to log back into websites you use regularly, and some sites may forget your preferences like language or theme settings. You can clear cookies anytime without worry.
Why does a website say my cookies are disabled when I turned them on?
Your browser may be set to clear cookies when you close it, or a browser extension might be blocking them. Check your settings for an option like "Clear cookies on exit" and turn it off. If you use extensions that block trackers or ads, temporarily disable them to see if one is interfering with the website.
Do I need to enable cookies on every website?
No. When you enable cookies in your browser settings, that setting applies to all websites you visit. You don't need to enable them separately for each site. Some websites may ask for your permission to use cookies, but that's a separate request from your browser settings.
What's the difference between allowing all cookies and blocking third-party cookies?
Allowing all cookies means advertisers and trackers can follow you across the internet. Blocking third-party cookies stops that tracking while still letting websites you visit store cookies so you stay logged in. Most people find blocking third-party cookies is the better balance between privacy and usability.
Will enabling cookies slow down my browser?
No. Cookies are tiny files — usually just a few kilobytes each — and enabling them won't affect your browser's speed or your computer's performance. The only noticeable change will be that websites load faster because they can remember your settings and login information.