Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

On a Mac, open Safari > Settings > Privacy and make sure “Block all cookies” is unchecked. That is the whole fix. Safari has no separate “enable cookies” switch, so cookies are on by default and stay on for as long as that box is clear.
If a site still tells you cookies are disabled after that, the cause is almost always Prevent Cross-Site Tracking, which is a separate setting on the same pane. It blocks third-party cookies while leaving first-party cookies working, which is enough to break embedded logins, payment frames and some checkout flows.
Note: macOS Sonoma (14.1.2) and Safari (17.1.2) are used for the illustration. On Safari 16 and earlier the menu is Safari > Preferences rather than Safari > Settings; everything else is identical.


Safari applies the change immediately, but pages already open keep their old state. Reload the tab, or quit and reopen Safari, before retesting.
On iOS and iPadOS the setting lives in the system Settings app, not inside Safari itself:
Private Browsing tabs discard cookies when you close them regardless of these settings, so test in a normal tab if you are checking whether a cookie persists.
| Symptom | Setting responsible | Fix |
|---|---|---|
| Every site reports cookies off | Block all cookies | Uncheck it in Privacy settings |
| Logins work, embedded widgets and payment frames fail | Prevent Cross-Site Tracking | Turn it off, reload the page |
| Session drops as soon as the tab closes | Private Browsing | Retest in a normal window |
| Only one site misbehaves | Stale cookie for that domain | Remove it via Manage Website Data, below |
There are two methods to delete the cookies of a website:
Method 1:


Method 2:
It requires you to understand how to use the developer tools on Safari. You may check out How To Debug Websites Using Safari Developer Tools.

KaneAI - Testing Assistant
World’s first AI-Native E2E testing agent.

TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance