Clear cookies in Safari right now
Open Safari and go to Safari > Settings (on Mac) or Settings > Safari (on iPhone or iPad). On Mac, click the Privacy tab, then click Manage Website Data. Select all the sites listed or choose specific ones, then click Remove. On iPhone and iPad, scroll down to Clear History and Website Data, tap it, and choose what time period to clear — the default is "all time," which removes every cookie stored on your device.
The process takes about 30 seconds. After you clear cookies, websites you visit will no longer have access to the stored information they collected about your browsing, login sessions, or preferences. You may need to log back into accounts on those sites the next time you visit.
Key Takeaways
- Safari stores cookies automatically, and clearing them removes the data websites use to track your activity and remember your login information.
- On Mac, use Safari > Settings > Privacy > Manage Website Data; on iPhone and iPad, use Settings > Safari > Clear History and Website Data.
- You can clear all cookies at once or select individual websites to keep cookies from sites you trust.
- After clearing cookies, you will need to log back into most websites, but your browsing history will be more private.
What cookies are and why Safari stores them
A cookie is a small file that a website stores on your device. It contains information like your login details, items in your shopping cart, your language preference, or a record that you visited the site. When you return to that website, it reads the cookie to remember who you are and what you were doing.
Safari stores cookies automatically whenever you visit a website that uses them. Most websites use cookies to function — without them, you would have to log in every single time you visit, and shopping carts would empty between page loads. However, some cookies also track your activity across multiple websites to build a profile of your interests, which is why clearing them is a privacy step many people take.
How to clear all cookies on Mac
On your Mac, open Safari and click Safari in the menu bar at the top of the screen. Select Settings (or Preferences if you are using an older version of Safari). Click the Privacy tab.
You will see a button labeled Manage Website Data. Click it. A window opens showing every website that has stored a cookie on your Mac. To remove all of them at once, click the Remove All button in the bottom right. To remove only specific sites, select them by clicking while holding Command, then click Remove.
After you click Remove, the cookies are deleted immediately. Close the window and close Settings. The next time you visit those websites, they will not remember you unless you log in again.
How to clear all cookies on iPhone and iPad
On your iPhone or iPad, open the Settings app (the gray gear icon on your home screen). Scroll down and tap Safari. Scroll down further until you see Clear History and Website Data and tap it.
A menu appears asking what time period you want to clear. The options are the last hour, today, today and yesterday, or all time. Choose all time to remove every cookie Safari has stored. Tap Clear History and Website Data to confirm.
Unlike the Mac version, the iPhone and iPad method clears cookies along with your browsing history and cached website data all at once — you cannot select individual websites. If you want to keep cookies from specific sites, you will need to use a different approach.
How to clear cookies from specific websites only
On Mac, the Manage Website Data window lets you pick and choose. Open Safari > Settings > Privacy > Manage Website Data. Type the name of a website in the search box at the top right, or scroll through the list. Click the site you want to remove, then click Remove. Repeat for each site. When you are done, close the window.
On iPhone and iPad, Safari does not offer a way to clear cookies from individual sites through Settings. Your only option is to clear all cookies at once, or to use Safari's Private Browsing mode for future browsing — Safari does not store cookies from private browsing sessions. To turn on Private Browsing, open Safari, tap the Tabs icon (two overlapping squares) at the bottom right, then tap Private.
What happens after you clear cookies
After you clear cookies, websites will treat you as a new visitor. You will be logged out of accounts, shopping carts will be empty, and sites will not remember your preferences like language or dark mode settings. The next time you visit, you will need to log in again.
Some websites may load slightly slower the first time you visit after clearing cookies, because they have to fetch more data instead of reading it from the stored cookie. This slowdown is usually not noticeable. Your bookmarks and saved passwords are not affected — clearing cookies only removes the small tracking and preference files, not your login credentials stored in Safari's password manager.
When to clear cookies and how often
You can clear cookies whenever you want. Some people clear them every time they close Safari, others do it once a week, and some do it only when they notice a website behaving strangely. There is no "right" frequency — it depends on how much you value privacy versus convenience.
If you are on a shared device, clearing cookies before you hand it to someone else prevents them from accessing your logged-in accounts. If you are concerned about tracking, clearing cookies regularly makes it harder for advertisers to build a long-term profile of your interests. If you just want Safari to run smoothly, clearing cookies occasionally can help, though Safari is usually fast enough that this makes little difference.
Frequently Asked Questions
Will clearing cookies delete my saved passwords?
No. Passwords stored in Safari's password manager are separate from cookies and are not affected. You will still be able to use Safari's autofill feature to log in, but you may need to enter your password once if the website does not recognize you without the cookie.
Can I stop Safari from storing cookies altogether?
Yes, but it will break many websites. On Mac, go to Safari > Settings > Privacy and change Cookies and website data to Never allow. On iPhone and iPad, go to Settings > Safari and toggle off Cookies. Most sites will not work properly without cookies, so this is not recommended for regular browsing.
Do I need to clear cookies if I use Private Browsing?
No. Private Browsing mode does not store cookies at all — they are deleted when you close the private window. However, cookies from regular browsing sessions are still stored and will remain until you clear them manually.
What is the difference between clearing cookies and clearing browsing history?
Browsing history is the list of websites you visited. Cookies are the data those websites stored on your device. Clearing history removes the list; clearing cookies removes the stored data. On Mac you can do them separately; on iPhone and iPad, Clear History and Website Data does both at once.
If I clear cookies, will websites know I cleared them?
No. Websites cannot detect whether you cleared cookies. They will simply not have access to the data they stored before, so they will treat you as a new visitor.