Cookies are turned on by default in every major browser on Mac, but you may have disabled them without realizing it

If a website tells you that cookies are turned off, or if you're having trouble staying logged in to accounts, your browser's cookie settings may have changed. The steps to turn them back on differ slightly depending on whether you use Safari, Chrome, or Firefox. Most of the time, you'll find the setting in your browser's privacy or security menu, and it takes less than a minute to fix.

Cookies are small files that websites store on your computer to remember things about you — your login status, items in your shopping cart, your language preference. Without them, you'd have to log in to every website fresh each time, and many sites wouldn't work properly at all. The trade-off is that some cookies also track your browsing across multiple sites, which is why you have the option to turn them off.

Key Takeaways

  • Safari, Chrome, and Firefox all have cookies enabled by default, so you only need to change this setting if a website is not working or if you deliberately turned them off.
  • In Safari, go to Preferences > Privacy and make sure "Block all cookies" is not checked.
  • In Chrome, go to Settings > Privacy and Security > Cookies and other site data and select "Allow all cookies".
  • In Firefox, go to Preferences > Privacy & Security > Cookies and Site Data and make sure "Accept cookies and site data" is checked.
  • After you change the setting, refresh the website you were having trouble with to see if it works now.

How to enable cookies in Safari on Mac

Open Safari and click Safari in the menu bar at the top of your screen. Select Preferences (or Settings if you're using macOS Sonoma or newer). Click the Privacy tab.

Look for the section labeled Cookies and website data. You'll see a checkbox next to "Block all cookies". If that box is checked, click it to uncheck it. If it's already unchecked, your cookies are already turned on. Close the Preferences window and refresh the website you were having trouble with.

If you want more control, you can also select "Allow only from websites you visit" instead of leaving it unchecked. This setting lets websites store cookies on your computer, but blocks some third-party tracking cookies from advertisers and other sites.

How to enable cookies in Chrome on Mac

Open Chrome and click the three vertical dots in the top right corner. Select Settings. In the left sidebar, click Privacy and security, then click Cookies and other site data.

You'll see several options. Select Allow all cookies if you want cookies fully enabled. If you see "Block all cookies" selected instead, click on "Allow all cookies" to change it. Close the settings tab and refresh the website you were having trouble with.

Chrome also offers a middle option called "Block third-party cookies in Incognito". This keeps your regular browsing cookies on while blocking some tracking cookies when you use Incognito mode. If you want to block third-party cookies everywhere, you can select "Block third-party cookies" instead of "Allow all cookies".

How to enable cookies in Firefox on Mac

Open Firefox and click the menu button (three horizontal lines) in the top right corner. Select Preferences (or Settings on newer versions). Click Privacy & Security in the left sidebar.

Scroll down to the section labeled Cookies and Site Data. You'll see a checkbox next to "Accept cookies and site data". Make sure this box is checked. If it's already checked, your cookies are on. If it's unchecked, click it to turn cookies back on. Close the preferences tab and refresh the website you were having trouble with.

Firefox also lets you choose whether to keep cookies when you close the browser. If you want cookies deleted automatically at the end of each session, check the box that says "Delete cookies and site data when Firefox is closed".

What to do if a website still doesn't work after enabling cookies

Sometimes a website won't work even after you've turned cookies on. The first thing to try is clearing your browser's cache and cookies for that specific site. In Safari, go to Preferences > Privacy and click "Manage Website Data", find the site in the list, and click "Remove". In Chrome, go to Settings > Privacy and Security > Clear browsing data, make sure "Cookies and other site data" is checked, and click "Clear data". In Firefox, go to Preferences > Privacy & Security > Cookies and Site Data and click "Manage Data".

After you clear the data, refresh the website and try logging in again. This removes any corrupted or outdated cookie files that might be causing the problem. If the site still doesn't work, the issue may be with the website itself rather than your browser settings. Try contacting the website's support team or checking if they have a known issue posted on their status page.

Understanding third-party cookies and tracking

When you allow all cookies, you're allowing both first-party cookies (set by the website you're visiting) and third-party cookies (set by advertisers and analytics companies). First-party cookies are what keep you logged in and remember your preferences. Third-party cookies are what let advertisers follow you across the web and show you ads based on sites you've visited.

If you want to block third-party tracking cookies while keeping first-party cookies on, most browsers now offer that option. Chrome calls it "Block third-party cookies". Safari calls it "Prevent cross-site tracking". Firefox calls it "Standard" or "Strict" protection. These settings give you a middle ground: websites you visit will still work normally, but advertisers won't be able to track you as easily across different sites.

Frequently Asked Questions

Why do I need cookies if they track me?

First-party cookies, set by the website you're on, are necessary for basic functionality — they keep you logged in, remember your cart, and store your preferences. Third-party cookies, set by advertisers, are what do the tracking. You can turn on first-party cookies while blocking third-party ones in most browsers.

Will turning on cookies make my Mac slower?

No. Cookies are tiny files, usually just a few kilobytes each. Even with thousands of cookies stored, they won't noticeably affect your Mac's speed or storage. The performance impact of cookies is negligible.

Is it safe to have cookies turned on?

First-party cookies are safe — they're set by the websites you choose to visit. Third-party tracking cookies are less risky than they used to be because browsers now block many of them by default, but they do let advertisers build a profile of your browsing habits. Your choice depends on your comfort level with targeted ads.

Can I turn cookies on for some websites and off for others?

Yes. In Safari, Chrome, and Firefox, you can click the lock icon next to the website address in your address bar and change the cookie setting for just that site. This lets you allow cookies on sites you trust while blocking them on others.

What's the difference between clearing cookies and disabling them?

Disabling cookies means your browser won't accept new cookies from any website. Clearing cookies means you delete the cookies already stored on your computer, but your browser will still accept new ones. If you want to stay logged out of a site, clearing cookies is usually enough.