How to Clear Cache and Cookies in Safari
In this article
Yes, you can clear cache and cookies in Safari to fix loading issues, improve privacy, and free up space. This process removes stored website data, including login sessions, temporary files, and tracking cookies. Before starting, ensure you’re signed in to your device with your passcode, Face ID, or Touch ID, and consider noting down any passwords you may lose after clearing cookies.
What You'll Need
- Access to an Apple device (iPhone, iPad, or Mac) with Safari as the default browser
- Passcode, Face ID, or Touch ID for device authentication
- Wi-Fi or internet connection (optional, for re-downloading content after clearing)
Step-by-Step
- Open the Settings app on your iPhone or iPad. On a Mac, click the Safari menu in the top menu bar.
- On iOS or iPadOS, scroll down and tap Safari. On Mac, select Settings from the Safari menu.
- On iPhone or iPad, tap Clear History and Website Data. This option removes history, cookies, and cached files. Confirm the action when prompted.
- On Mac, go to the Privacy tab in Safari Settings. Click Manage Website Data.
- In the Manage Website Data window on Mac, you can either search for specific sites or click Remove All to delete all stored cache and cookies. <6>After clicking Remove All, confirm by clicking Done. Close the settings window.
- Return to the Safari tab on Mac and click History in the menu bar, then select Clear History.
- Choose the time range (e.g., all history) and click Clear History to finalize.
- Wait a few seconds for Safari to remove the data. No completion message appears, but the browser will reload without saved site data.
- Restart Safari to ensure all changes take effect. Visit a previously accessed site to confirm it loads fresh content.
Common Mistakes
One common mistake is only clearing history but not website data, which leaves cookies and cache intact. Some users tap Clear History without accessing Manage Website Data, so tracking files remain. Another error is assuming clearing cache logs you out of all accounts—it usually does, but two-factor logins may still require re-authentication. Users sometimes skip device authentication, preventing changes from saving. Also, selecting only a short time range (like “the last hour”) limits the cleanup and may miss older, problematic files.
Tips
To maintain privacy without losing all data, clear website data monthly or before using a shared device. On Mac, use Manage Website Data to selectively remove tracking-heavy sites like social media platforms. Enable Prevent Cross-Site Tracking in Safari Settings > Privacy to reduce future cookie buildup. Consider using Private Browsing mode for sensitive sessions, which automatically clears data when the window closes. After clearing, restart your device if Safari behaves unusually. On iOS, ensure Background App Refresh is off for Safari if you notice rapid cache return.
Troubleshooting
If Safari still loads old pages after clearing, restart the browser completely and check that you selected Remove All in Manage Website Data. If the option is missing, update your device’s operating system, as outdated versions may hide or rename settings. If you’re locked out of accounts, use password autofill or a trusted password manager to restore access. If Safari crashes after clearing, force-close it and reopen. On Mac, reset Safari entirely by going to Safari > Reset Safari and selecting all data types—this removes extensions and settings too, so use it only as a last resort. If website data reappears quickly, check if iCloud Tabs or Handoff is syncing data across devices; disable temporarily if needed.
Frequently Asked Questions
Does clearing cache and cookies log me out of websites?
Yes, most websites will require you to log in again after clearing cookies, as login sessions are stored in them.
Will this delete my saved passwords?
No, Safari saves passwords separately in iCloud Keychain. However, you’ll need to re-enter them after clearing cookies.
Can I clear cache without deleting history?
On Mac, yes—use Manage Website Data to remove cache and cookies without touching history. On iOS, the options are bundled, so both are deleted together.
How often should I clear Safari cache and cookies?
Every few weeks for privacy, or whenever you notice slow loading, outdated pages, or login issues.
Does this free up storage space?
Yes, especially if you visit many media-rich sites. The amount varies, but it can free tens or hundreds of megabytes over time.
Is it safe to clear all website data?
Yes, it’s safe and non-destructive to your device. It only removes temporary website files, not personal data like photos or apps.