How to Clear Cookies and Cache on iPhone
In this article
Clearing cookies and cache on your iPhone frees up storage, fixes websites that load slowly or behave oddly, and can resolve sign-in issues. You don't need any special tools—just a few taps in the Settings app. The exact menu labels can vary slightly by iOS version, but the steps below work on recent versions of iOS.
What You'll Need
- Your iPhone with the latest iOS version installed (optional but recommended).
- Your Apple ID password or Face ID/Touch ID if you're also signing out of Safari (not required for cache clearing alone).
Step-by-Step
Clear Safari Cookies and Cache
- Open the Settings app on your iPhone.
- Scroll down and tap Safari.
- Scroll down to the Privacy & Security section.
- Tap Clear History and Website Data.
- A confirmation pop-up will appear. Tap Clear History and Data to confirm.
- This removes your browsing history, cookies, and other cached data from Safari. Your bookmarks, saved passwords, and autofill information are not deleted.
Clear Cache for Other Browsers (Chrome, Firefox, Edge)
- Open the browser app (e.g., Chrome).
- Tap the three-dot menu (or the menu icon) in the bottom-right or top-right corner.
- Tap History (or Settings > Privacy).
- Look for Clear Browsing Data or Clear Cache. In Chrome, tap Clear Browsing Data, then choose the time range (e.g., All time) and check the boxes for Cookies, Site Data and Cached Images and Files.
- Tap Clear Browsing Data and confirm.
Clear Cache for Individual Apps (If Needed)
Most apps don't have a built-in "clear cache" button on iPhone. iOS manages app caches automatically, but you can offload an app to free up space without deleting its documents and data.
- Go to Settings > General > iPhone Storage.
- Scroll through the list and tap the app you want to clear cache for.
- Tap Offload App. This removes the app but keeps its documents and data.
- After offloading, tap Reinstall App (or tap the app icon on the home screen to reinstall it). This often clears the app's cache while preserving your login and settings.
- If you want to completely remove the app and all its data, tap Delete App instead. This cannot be undone.
Common Mistakes
- Clearing all website data when you only meant to clear cache: This also logs you out of most websites. If you only want to clear cache (not cookies), you can't do that separately in Safari—clearing website data includes both. Use a third-party browser like Chrome if you need to clear only cache.
- Forgetting that clearing history also clears open tabs: In Safari, clearing history will close all your open tabs. Make sure you don't have important tabs you need to keep.
- Not confirming the action: Tapping "Clear History and Website Data" without confirming won't do anything. You must tap the red confirmation button.
- Deleting an app instead of offloading: If you tap "Delete App" instead of "Offload App," you'll lose all the app's data, including saved files and login credentials stored within the app.
Tips
- If you only want to clear cookies for one specific website (not all), you can do that in Safari: go to Settings > Safari > Advanced > Website Data, then swipe left on a site and tap Delete.
- To prevent websites from tracking you, enable Prevent Cross-Site Tracking in Safari settings. This blocks third-party cookies but doesn't clear existing ones.
- If you use iCloud Keychain, your saved passwords and autofill data are not affected by clearing cookies and cache.
- Clearing cache can speed up an iPhone that feels sluggish, but it won't fix hardware issues or low storage caused by photos and videos.
- If you're troubleshooting a specific website, try clearing just that site's data first before wiping everything.
Troubleshooting
If clearing cache didn't fix the problem:
- Restart your iPhone: Press and hold the side button and either volume button until the power off slider appears, then slide to power off. Wait a few seconds, then turn it back on.
- Update iOS: Go to Settings > General > Software Update and install any available updates. Bugs in older iOS versions can cause cache-related issues.
- Sign out and back into your Apple ID if the issue is with iCloud-synced Safari data: Settings > your name > Sign Out (this may remove some data, but you can sign back in to restore).
- If a specific app is still misbehaving after offloading, try deleting it completely and reinstalling from the App Store. This will erase all its local data, so make sure you have backups if needed.
- If the problem persists across all browsers, it might be a network issue. Try resetting your network settings: Settings > General > Transfer or Reset iPhone > Reset > Reset Network Settings. This will forget Wi-Fi passwords and Bluetooth connections, so you'll need to re-enter them.
Frequently Asked Questions
Will clearing cookies log me out of websites?
Yes, clearing cookies will log you out of most websites, because cookies are what keep you signed in. You'll need to sign in again the next time you visit.
Does clearing cache delete my saved passwords?
No. Saved passwords in iCloud Keychain are stored separately and are not affected by clearing cookies or cache in Safari.
How often should I clear my iPhone cache?
There's no set schedule. Clear it when you notice a website misbehaving, when storage is low, or when you want to remove browsing history. iOS manages cache automatically, so you don't need to do it regularly.
Can I clear cache without clearing cookies on iPhone?
In Safari, no—the option clears both together. In third-party browsers like Chrome, you can choose to clear only cached images and files while leaving cookies intact.
Does clearing cache speed up my iPhone?
It can help if the cache was corrupted or if storage was nearly full. But for general performance, restarting your iPhone or updating iOS is more effective.
Will clearing Safari data delete my bookmarks?
No, bookmarks are not deleted when you clear history and website data. They are stored separately in iCloud and remain intact.