How to Enable Cookies in Safari on Mac: Step-by-Step
In this article
To enable cookies in Safari on Mac, open Safari and go to Safari > Settings (or Preferences on older macOS versions), click the Privacy tab, and make sure the option to block all cookies is turned off. Safari does not have a single “enable cookies” switch; instead, it blocks third‑party cookies by default and lets you allow them per site or globally by disabling the “Block all cookies” setting. This guide walks you through the exact steps, plus what to do if a site still won’t work.
What You'll Need
- A Mac running macOS with Safari installed (Safari comes preinstalled on every Mac).
- Administrator access is not required for cookie settings; any user can change them.
- The website address that is asking you to enable cookies, so you can test afterward.
Step-by-Step
- Open Safari. Click the Safari icon in the Dock or launch it from Applications.
- Open Safari settings. From the menu bar at the top of the screen, choose Safari > Settings (on macOS Ventura or later) or Safari > Preferences (on macOS Monterey and earlier). The labels can differ slightly by macOS version, but the location is the same.
- Go to the Privacy tab. In the settings window, click the Privacy tab. This is where cookie controls live.
- Turn off “Block all cookies.” If the checkbox labeled Block all cookies is ticked, untick it. Safari will then accept cookies from websites. You may be asked to confirm; click Allow or Unblock if prompted.
- Check cross-site tracking settings (optional). On the same Privacy tab, review Prevent cross-site tracking. This is on by default and blocks many third‑party cookies used for advertising. If a site relies on third‑party cookies for login or embedded content, you can turn this off temporarily, but be aware it reduces privacy protection. For most sites, leaving it on is fine.
- Close Settings. Changes save automatically; there is no Save button. Close the window.
- Reload the website. Go back to the site that asked for cookies and refresh the page (Command‑R). The cookie prompt should no longer appear, and the site should function normally.
Common Mistakes
- Looking for a single “Enable cookies” button. Safari does not have one. Cookies are enabled unless “Block all cookies” is on, so the fix is usually to untick that box.
- Confusing cookies with JavaScript. If a site says “enable cookies and JavaScript,” you may also need to check the Security tab and ensure JavaScript is allowed. In Safari, JavaScript is enabled by default; if it was disabled, turn it back on under Settings > Security.
- Changing settings in a private window. Private Browsing windows do not save cookies after you close them, and some sites may still behave oddly. Test in a normal window.
- Forgetting content blockers. Extensions or content blockers can block cookie banners and scripts. If a site still fails, try disabling content blockers for that site via the Safari address bar’s website settings menu.
- Expecting global changes to apply to all profiles. If you use multiple Safari profiles, cookie settings are per profile. Repeat the steps in the profile where you need cookies.
Tips
- You can allow cookies for a single site without changing global settings: visit the site, click the aA icon (or website settings icon) in the address bar, and adjust permissions there. The exact options vary by macOS version.
- Clearing cookies and website data (Safari > Settings > Privacy > Manage Website Data) can fix stubborn login loops, but it signs you out of sites. Use it as a troubleshooting step, not a first move.
- If you only need cookies for one session, consider using a Private Browsing window; cookies are discarded when you close it.
- Keep Safari updated via System Settings > General > Software Update to get the latest privacy controls and bug fixes.
Troubleshooting
If cookies still seem blocked after unticking “Block all cookies,” work through these checks in order:
- Reload and retest. Quit Safari completely (Safari > Quit Safari) and reopen it, then load the site again.
- Check per‑site settings. Click the website settings icon in the address bar and confirm cookies are not set to “Block” for that specific site.
- Disable content blockers for the site. Open Safari > Settings > Extensions and temporarily turn off extensions, or use the per‑site controls in the address bar.
- Try a different network or disable a VPN. Some networks or VPNs interfere with cookie handling; test on another connection.
- Clear website data for that site only. Go to Safari > Settings > Privacy > Manage Website Data, search for the site, and remove its data. This signs you out of that site but often resolves corrupted cookie states.
- Update macOS and Safari. Install any available software updates, then retest.
- Test in another browser. If the site works elsewhere, the issue is likely a Safari setting or extension; if it fails everywhere, the problem is on the site’s side.
Warning: removing all website data signs you out of every site and clears local storage. Only do this if you accept losing saved logins and preferences.
Frequently Asked Questions
Does Safari block cookies by default?
Safari accepts first‑party cookies by default and blocks many third‑party cookies through cross‑site tracking prevention. “Block all cookies” is off unless you turn it on.
Where is the cookie setting in Safari on Mac?
It is under Safari > Settings > Privacy. The main control is the “Block all cookies” checkbox.
Why does a website still say cookies are disabled?
The site may be detecting a content blocker, a per‑site block, or a corrupted cookie store. Try the troubleshooting steps above, especially checking per‑site settings and clearing data for that site.
Can I enable cookies for just one website?
Yes. Use the website settings menu in the address bar to adjust permissions for the current site without changing global settings.
Do I need to restart Safari after changing cookie settings?
No, changes apply immediately, but reloading the page or restarting Safari can help if the site does not pick up the change.
Will enabling cookies affect my privacy?
Cookies themselves are not harmful, but third‑party cookies can be used for tracking. Keeping “Prevent cross-site tracking” on is a good balance for most people.