How to clear cookies and cache, and when it really helps
What cookies and the cache store, when clearing them fixes a problem and when it just signs you out, plus exact steps for Chrome, Safari, Edge and Firefox on computer and phone.

The tip
Clear cookies and cache when a website will not load or looks broken, after using a shared or public computer, or when you want a privacy reset. Do not do it on a schedule "to speed things up": it signs you out of sites and makes pages load slower at first.
If only one site is misbehaving, clear data for that site alone. You stay signed in everywhere else.
Quickest route in most browsers on a computer: open the browser's menu and look for Delete browsing data or Clear browsing data, choose a time range, tick Cookies and Cached images and files, and confirm.
What cookies and cache actually store
Cookies are small pieces of data a website sends to your browser, which the browser stores and sends back on later visits. Microsoft describes them as data sites store to remember your preferences, such as sign in info and location. They are how a site keeps you logged in, remembers your shopping cart or your language, and, in the case of third party tracking cookies, how ad networks follow you across sites.
The cache is a store of copies. Google says it remembers parts of pages, like images, to help them open faster on your next visit. Firefox says its cache keeps images, scripts and other parts of websites to speed up browsing.
| Cookies | Cache | |
|---|---|---|
| What it holds | Small data a site saved about your visit | Copies of images, scripts and page parts |
| Main purpose | Remembering you: logins, settings, carts | Speed: not downloading the same files again |
| Clearing it means | Signed out of sites, settings reset | Pages load slower the first time |
| Privacy angle | Can include tracking cookies | Reveals which sites you visited, to someone using your device |
When clearing really helps
- A site will not load, keeps erroring or looks broken. An outdated cached file or a corrupted cookie is a common cause. Google lists fixing loading and formatting issues as a main reason to clear.
- A site shows an old version. Clearing the cache makes the browser download the current files.
- You used a shared or public computer. Clear cookies so the next person cannot open your accounts. Better still, use private browsing from the start and sign out.
- You want a privacy reset. Clearing removes tracking cookies collected so far.
- A login loop. If a site keeps sending you back to the sign in page, clearing that site's cookies often fixes it.
When it does not help
- Your whole internet is slow. That is your connection or Wi-Fi, not the browser. Our guide on how Wi-Fi works explains common causes.
- Your computer is slow overall. Clearing the cache rarely helps, and can make browsing slower for a while. See how to speed up an old laptop instead.
- You think your account was hacked. Clearing cookies does not change your password. Change it from a trusted device and turn on two factor authentication.
- You want lasting privacy. New cookies arrive the moment you browse again. Use your browser's tracking protection instead of clearing repeatedly.
Before you clear: two checks
- Make sure you know your passwords. Google warns that you may be signed out and need to sign in again. A password manager makes this painless.
- Leave passwords and autofill unticked unless you mean to delete them. Most browsers let you choose exactly what to clear.
Chrome
On a computer:
- Open Chrome. At the top right, select More (three dots), then Delete browsing data.
- Choose a time range, such as Last hour or All time.
- Select Cookies and other site data and Cached images and files.
- Select Delete data.
On Android: open Chrome, tap More, then Delete browsing data. Choose a time range and tap Delete data. Tap More options to pick exactly what to clear. Google says that if you are signed in to Chrome, clearing cookies will not sign you out of your Google Account.
On iPhone or iPad: open Chrome, tap More, then Delete Browsing Data. Choose the Time Range, tap Browsing Data to pick the types, then tap Delete Browsing Data.
Safari
On iPhone, everything at once: open Settings, tap Apps, then Safari. Tap Clear History and Website Data, choose the timeframe and tap Clear History. Apple says this does not change your AutoFill information.
On iPhone, keep your history: Settings > Apps > Safari > Advanced > Website Data, then Remove All Website Data and Remove Now. This clears cookies and cache but leaves your browsing history.
On a Mac: choose Safari > Settings, click Privacy, then Manage Website Data. Select one or more sites and click Remove, or click Remove All. Apple notes this may sign you out of websites.
Microsoft Edge
- Select Settings and more (three dots) > Settings > Privacy, search, and services.
- Under Clear browsing data, select Choose what to clear next to Clear browsing data now.
- Choose a Time range.
- Tick Cookies and other site data and Cached images and files. Microsoft suggests you can keep passwords and form fill data.
- Select Clear now.
If you use sync, Microsoft says clearing can apply to all your signed in devices, not just this one.
Firefox
Everything: open Settings > Privacy & Security. Under Cookies and Site Data, select Clear browsing data. Set When to the period you want, keep Cookies and site data and Temporary cached files and pages ticked, and click Clear.
Cache only: in the same dialog, tick only Temporary cached files and pages. You stay signed in to sites.
One site: under Cookies and Site Data, choose Manage browsing data, search for the site, then remove it and save changes.
Common mistakes
- Ticking "Passwords" by accident. Read each checkbox before you confirm.
- Clearing everything to fix one site. Remove that site's data instead and stay signed in elsewhere.
- Clearing weekly "for speed". It does the opposite for a while, because everything downloads again.
- Forgetting other browsers. Each browser keeps its own cookies and cache. Clearing Chrome does nothing to Safari or Edge.
- Confusing app cache with browser cache. On phones, apps keep their own cache. Our tip on freeing up storage on your phone covers that.
Frequently asked questions
What is the difference between cookies and cache?
Cookies are small pieces of data that websites store in your browser to remember things like your login and preferences. The cache stores copies of parts of pages, such as images, so sites load faster next time. Cookies are about remembering you; the cache is about speed.
Will clearing cookies sign me out of websites?
Yes, usually. Google says that if you were signed in to a site, you will need to sign in again after clearing cookies. Have your passwords ready, ideally in a password manager, before you clear them.
Does clearing the cache delete my passwords?
No, not unless you also tick passwords in the list of things to delete. Clearing only cookies and cached files leaves saved passwords in place. Check the boxes carefully before confirming.
How often should I clear cookies and cache?
There is no need to do it on a schedule. Clear them when a site is not loading or displaying properly, after using a shared computer, or for privacy. Clearing too often just signs you out and makes sites load slower.
Can I clear cookies for just one website?
Yes. Safari, Firefox, Chrome and Edge all let you remove data for a single site. This is the best fix when only one site misbehaves, because you stay signed in everywhere else.
Does clearing cookies stop tracking?
It removes the tracking cookies stored so far, but new ones arrive as soon as you browse again. For lasting privacy, use your browser's tracking protection settings and private browsing, rather than clearing repeatedly.
Sources
- Google Account Help: Clear cache & cookies
- Apple Support: Delete your Safari history, cache, and cookies on iPhone
- Apple Support: Clear your cache and cookies in Safari on Mac
- Microsoft Support: View and delete browser history in Microsoft Edge
- Firefox Help: Clear cookies and site data in Firefox
- Firefox Help: How to clear the Firefox cache
- MDN Web Docs: Using HTTP cookies