Clear Safari Cache on Mac & iPhone – Simple Guide
In this article
Yes, you can clear Safari’s cache on both a Mac and an iPhone by using the built‑in settings; the process takes only a few clicks.
Clearing the cache removes temporary files that Safari stores to speed up page loading. Over time these files can become outdated or corrupted, leading to slow performance, visual glitches, or pages that refuse to update. By regularly clearing the cache you restore Safari to a clean state, which often resolves loading problems and frees up storage space on your device.
What You’ll Need
- A Mac computer running macOS (any recent version)
- An iPhone with iOS 13 or later (the steps are the same on newer versions)
- Access to the user account on the Mac (admin rights are not required for clearing the cache)
- Patience – the process takes less than two minutes per device
Step‑by‑Step
- Clear cache on a Mac
- Open Safari from the Dock or the Applications folder.
- In the menu bar at the top of the screen, click
Safari>Preferences…. (If you see slightly different wording, such asSettings, the steps are still the same.) - Select the
Advancedtab.Check the box next toShow Develop menu in menu bar. This adds a newDevelopmenu to the top bar. - Close the Preferences window.
- From the newly visible
Developmenu, chooseEmpty Caches. Safari will instantly clear its web cache. No further confirmation dialog appears. - If you also want to clear cookies and other website data, return to
Safari>Preferences…, go to thePrivacytab, and clickManage Website Data…. Then clickRemove Alland confirm.
- Clear cache on an iPhone
- Open the
Settingsapp. - Scroll down and tap
Safari. This opens Safari’s dedicated settings page. - Tap
Advancedat the bottom of the Safari settings. - Select
Website Data. You will see a list of stored caches, cookies, and other data. - Tap
Remove All Website Dataand confirm the pop‑up by tappingRemove Now. This clears the cache as well as cookies and other temporary files. - If you only want to clear the cache without affecting cookies, you can instead scroll back to the main Safari settings page and toggle
Preload Top Hitoff, then back on. This forces Safari to rebuild its cache for the most visited site, effectively clearing older cached content.
- Open the
Common Mistakes
- Confusing cache with bookmarks. Deleting the cache does not remove saved bookmarks or reading list items. If you lose them, you likely cleared the wrong data set (e.g., “All History”).
- Skipping the “Show Develop menu” step on Mac. Without enabling the Develop menu, the
Empty Cachescommand is hidden, leading many users to think Safari can’t clear its cache. - Using “Clear History and Website Data” instead of just cache. This action removes browsing history, saved passwords, and autofill entries, which is often unnecessary and can be frustrating.
- Not waiting for the process to finish. On older Macs, the cache may take a few seconds to clear; closing Safari immediately can cause the operation to abort.
Tips
- Make the Develop menu permanent: after enabling it once, it stays visible for all future Safari sessions.
- Use a keyboard shortcut on Mac:
Option + Command + EtriggersEmpty Cachesdirectly, saving time. - If you notice a specific site loading incorrectly, clear only that site’s data on iPhone by tapping the site name in
Website Dataand selectingDelete. - Regularly clear cache if you develop websites or use web‑based apps that change frequently; stale files are a common source of bugs.
Troubleshooting
If clearing the cache does not improve performance or you encounter unexpected behavior, follow these steps in order of increasing complexity.
- Restart Safari. Close all Safari windows, then reopen the app. This forces any lingering processes to reset.
- Restart the device. A full reboot clears temporary system caches that may interfere with Safari’s own cache.
- Check for software updates. On Mac, open
System Settings(orSystem Preferences) >Software Update. On iPhone, go toSettings>General>Software Update. An outdated OS can contain bugs that affect cache handling. - Disable extensions (Mac only). Open
Safari>Settings…(orPreferences) >Extensionsand temporarily turn them off. Some extensions store their own caches that may need separate clearing. - Reset Safari settings (Mac). In the
Developmenu, chooseDisable Cachesto temporarily stop caching, then reload pages to see if the issue persists. - Re‑install Safari (Mac only). Safari is built into macOS, so you cannot uninstall it, but you can reinstall the entire operating system via Recovery Mode if all else fails. This step deletes all user data, so back up important files first.
- Contact Apple Support. If the problem continues after all troubleshooting, there may be a deeper system issue that requires professional assistance.
Frequently Asked Questions
Will clearing the cache log me out of websites?
Only the “Clear History and Website Data” option logs you out. Using the cache‑only method (Empty Caches on Mac or Remove All Website Data on iPhone) keeps login cookies intact, so you stay signed in.
Does clearing the cache free up a lot of storage?
Safari’s cache usually occupies a few hundred megabytes at most. It can free up space, but the primary benefit is improved page loading and reduced visual glitches.
Can I automate cache clearing?
macOS does not provide a native schedule for Safari cache clearing. Third‑party automation tools (e.g., Shortcuts on iPhone) can trigger the same steps, but they must be set up manually and are not officially supported by Apple.
Is there a way to clear only images or scripts from the cache?
No. Safari clears the entire cache as a single unit; selective clearing of specific file types is not an available feature.
Will clearing the cache affect my saved passwords?
No. Passwords are stored in the macOS/iOS Keychain, not in the web cache. They remain safe unless you explicitly delete them from the Keychain or use the “Clear History and Website Data” option.
Do I need to clear the cache on both devices?
Only if you experience issues on each device. Cache is stored locally, so clearing it on a Mac does not affect the iPhone and vice versa.