How to clear cookies in Safari on Mac

Updated · by Sufiyan Yasa, developer of Cookie DNT

Short answer: In Safari on Mac, go to Safari > Settings > Privacy > Manage Website Data. Select a site and click Remove, or click Remove All to clear every cookie. Your browsing history isn't touched.

Clear all cookies (keep history)

  1. In Safari, choose Safari > Settings (Command-comma).
  2. Click Privacy.
  3. Click Manage Website Data…
  4. Click Remove All, then Remove Now.

Clear cookies for one site

In the same Manage Website Data window, type the site’s name in the search field, select it and click Remove. You can select several with Command-click.

Clear cookies and history

Safari > Clear History…, then choose a range like “the last hour” or “all history”. This also removes cookies and website data for that period, on every Mac and iPhone using the same iCloud account.

Block all cookies

Safari > Settings > Privacy > Block all cookies. Expect logins, carts and embedded videos to break on many sites.

Developer shortcut

With Show features for web developers turned on in Settings > Advanced, open Develop > Show Web Inspector > Storage. You can see and delete individual cookies, localStorage and IndexedDB for the current page. Handy for testing; tedious for everyday use.

Make it automatic

Safari for Mac has no “clear cookies on quit” option. To have chosen sites forgotten every time you close their tab, use a per-site extension - see how to auto-delete cookies in Safari. Cookie DNT runs on Mac, iPhone and iPad and syncs your site list through iCloud.