Delete cookies from Apple computer: Quick guide
To delete cookies from an Apple computer, you can use the built‑in settings of Safari or other browsers, or manually remove the files from the system. Clearing cookies removes stored site data, improves privacy, frees space, and can resolve login or formatting problems that arise when old data conflicts with new site changes.
What You’ll Need
- A Mac running macOS 10.15 (Catalina) or newer. The steps described work across recent releases, but older versions may have slightly different menu names.
- Administrative access if you plan to delete system‑wide data or modify files in
~/Library. Most cookie deletions can be done with a normal user account. - The name of the browser you use—Safari, Chrome, Firefox, or Edge—because each has its own interface for managing cookies.
- An optional backup of your browser profile. If you rely on saved passwords or extensions that might be tied to cookie data, a quick Time Machine or Finder copy of the profile folder can save you trouble.
Step‑by‑Step
- Open the browser you normally use. For Safari, click the Safari icon in the Dock or launch it from Applications. If you use a different browser, launch that instead.
- From the menu bar, select Safari → Preferences (or press ⌘,). This opens the settings panel where you can adjust privacy options.
- In the Preferences window, click the Privacy tab. Here you’ll find options for managing website data.
- Click the Manage Website Data… button. A dialog appears listing every site that has stored cookies or other data on your Mac.
- To remove all cookies, click Remove All at the bottom of the window, then confirm by clicking Remove Now. This action deletes every cookie stored by Safari.
- If you only want to delete cookies for specific sites, scroll through the list, select the site(s), and click Remove. This preserves data for sites you still use.
- Close the Preferences window. The changes take effect immediately; you may need to refresh any open tabs to see the effect.
- For Chrome, open Chrome, click the three dots in the top‑right corner, choose Settings, then under Privacy and security click Cookies and other site data.
- Click See all cookies and site data, then use the Remove All button or select individual entries to delete. Chrome stores cookies in a SQLite database that the interface abstracts away.
- In Firefox, click the menu button, choose Preferences, go to Privacy & Security, scroll to Cookies and Site Data, and click Manage Data…. Select sites or click Remove All to clear everything.
- For Edge, open Edge, click the three dots, choose Settings, then Cookies and site permissions. Click See all cookies and site data and remove as needed. Edge’s interface mirrors Chrome’s because they share the same Chromium engine.
- To delete cookies manually, open Finder, press ⌘+Shift+G, and type
~/Library/Cookies. Delete the files that match the sites you want to clear. Be careful not to delete theCookies.binarycookiesfile if you want to keep other cookie data. - Restart the browser to ensure the changes are fully applied. A fresh start guarantees that no stale data lingers in memory.
Common Mistakes
- Assuming that clearing cookies will also delete local storage or site permissions. Those are separate data types and need to be cleared separately. Local storage holds larger data blobs that can affect site performance.
- Deleting the entire
Cookies.binarycookiesfile on a system level, which can cause Safari to lose all stored cookies across all sites, including those you might want to keep. It also removes the ability to remember your Apple ID login for iCloud‑related sites. - Not restarting the browser after a bulk delete, which can leave cached pages that still reference old cookie values. Many sites load data from memory before reading the new cookie state.
- Using third‑party cookie cleaners that claim to work on macOS but actually modify system files without permission, leading to data loss or security warnings. Stick to the browser’s built‑in tools for reliability.
- Overlooking that some browsers store cookies in a different location, such as
~/Library/Application Support/Google/Chrome/Default/Cookiesfor Chrome. Manual deletion in the wrong folder can leave residual data.
Tips
- Use the Clear History option in Safari if you want to remove cookies, cache, and browsing history in one step. This is useful when you need a quick clean‑up.
- Enable the Prevent cross‑site tracking switch in Safari’s Privacy tab to block third‑party cookies automatically. This reduces the amount of data that accumulates over time.
- For a quick clean‑up, set your browser to clear cookies on exit by adjusting the privacy settings in the preferences panel. This ensures a fresh start each session.
- Regularly review the list of stored sites in the Manage Website Data dialog to keep only the sites you actively use. Removing unused entries can speed up page load times.
- Back up your browser profile before performing a mass delete, especially if you rely on saved passwords or extensions that might be tied to cookie data. A simple copy of the
~/Library/Application Support/Google/Chrome/Defaultfolder works for Chrome.
Troubleshooting
If you find that a site still remembers your login after deleting cookies, try the following:
- Clear the site’s cache in addition to its cookies. In Safari, go to Safari → Preferences → Advanced, enable Show Develop menu in menu bar, then click Develop → Empty Caches. Cached JavaScript can keep session data alive.
- Check for browser extensions that may be restoring cookies automatically. Disable extensions one at a time to identify the culprit. Some ad‑blockers store temporary data that mimics cookies.
- Ensure you are deleting the correct data set: some browsers have separate sections for “Cookies” and “Site Data.” Delete both if you want a complete wipe. Site data includes local storage and indexed DB entries.
- On macOS, verify that you have the correct permissions for the
~/Library/Cookiesfolder. If you see a “Permission denied” error, open System Settings → Security & Privacy → Privacy → Files and Folders and grant access to Finder. Without proper rights, manual deletion will fail. - If a site continues to store cookies after a full delete, the site might be using server‑side sessions that persist beyond client‑side cookie removal. In that case, logging out from the site and clearing the session data in the browser is necessary.
Frequently Asked Questions
Can I delete cookies without losing saved passwords?
Yes. Clearing cookies in Safari’s Privacy settings does not affect saved passwords stored in Keychain. However, clearing the entire browser history can remove autofill data, so be selective if you need to keep that information.
Will deleting cookies affect my browsing speed?
Short‑term, you might notice a slight slowdown as sites rebuild cache data. Over time, a clean cookie store can improve performance by removing outdated or corrupted data that slows down page rendering.
How often should I delete cookies on my Mac?
There is no strict schedule, but a monthly or quarterly clean‑up is a good practice, especially if you notice login issues or privacy concerns. Many users find a quarterly review keeps their browser lean.
Can I delete cookies for just one website in Safari?
Yes. In the Manage Website Data dialog, search for the site’s name, select it, and click Remove. This leaves all other sites untouched.
Is it safe to delete the Cookies.binarycookies file directly?
Deleting the file will remove all cookie data for Safari. If you want to keep some cookies, use the Preferences interface instead. Manual deletion bypasses the browser’s safeguards and can lead to unexpected behavior.
Do third‑party cookie cleaners work on macOS?
Most reputable cleaners have macOS versions, but they often rely on the same system APIs. Using the built‑in browser tools is generally safer and more reliable, as it respects sandboxing and privacy boundaries.