Clear cache and cookies – in every browser, on your computer and your phone
A website shows an old layout, a login keeps failing or an error message refuses to go away: in cases like these, clearing the cache and cookies often does the trick. This guide walks you through Chrome, Safari, Firefox and Edge on a computer, as well as iPhone, iPad and Android – using the menu names from the vendors' current help pages. It is written for anyone doing this for the first time or unsure about what gets lost along the way.
Contents
Step by step
Choose your device or app:
Chrome (Windows, Mac)
Checked against Google Chrome Help on 20 October 2026. The steps are the same on Windows and Mac.
Open the «Delete browsing data» dialog
Click the three-dot menu at the top right and choose «Delete browsing data». According to Google, a quicker way is to type «Delete browsing data» into the address bar and click the suggested action chip.
Choose a time range
Next to «Time range», pick the period you want to delete: «Last hour», «Last 24 hours», «Last 7 days», «Last 4 weeks» or «All time». For a stubborn problem, choose «All time».
Tick cookies and cache
Tick «Cookies and other site data» and the box for cached images and files. Under «Advanced» you will see further data types; it is best to leave passwords and form data unticked.
Confirm the deletion
Click «Delete data». You will then be signed out of most websites; according to Google, your Google Account in Chrome itself stays signed in as long as you do not sign out of Chrome.
Clean up a single website only
If you do not want to delete everything: «Settings» > «Privacy and security» > «Third-party cookies» > «See all site data and permissions», search for the website there and click «Delete».
Safari (Mac)
Checked against Apple's Safari User Guide on 20 October 2026. Safari has no separate «Delete browsing data» dialog; cookies and cache are removed via the website data.
Open Safari settings
In the menu bar, click «Safari» and then «Settings».
Choose the «Privacy» tab
Switch to the «Privacy» tab and click «Manage Website Data». Safari lists every website that has stored cookies, cache or other data on your Mac.
Remove everything or individual websites
Click «Remove All» to delete all website data. If you only want to clean up one website, select it in the list and click «Remove».
Confirm
Confirm the prompt and close the window. Apple points out that you may be signed out of websites afterwards and that removing the data can also affect other apps that display websites.
Firefox (Windows, Mac)
Checked against Mozilla Support (articles «Clear cookies and site data in Firefox» and «How to clear the Firefox cache») on 20 October 2026.
Open Settings
Click the menu button (three lines) and choose «Settings». On a Mac you will also find it in the menu bar under «Firefox» > «Settings».
Choose «Privacy & Security»
Select «Privacy & Security» on the left and scroll down to the «Cookies and Site Data» section.
Click «Clear Data…»
Click «Clear Data…». In the «Clear browsing data and cookies» dialog, set «When:» to «Everything» or a shorter period.
Tick cookies and cache
Tick «Cookies and site data» and «Temporary cached files and pages», then click «Clear». You will find the same options via the «History» menu > «Clear Recent History…».
Clean up a single website only
In the same section, click «Manage Data…», type the website's name into the search field, choose «Remove All Shown» and confirm with «Save Changes». For the page you currently have open, you can also click the shield or padlock icon to the left of the address bar and choose «Clear Cookies and Site Data…».
Microsoft Edge
Checked against Microsoft Support (articles «Manage cookies in Microsoft Edge» and «View and delete browser history in Microsoft Edge») on 20 October 2026.
Open Settings
Click «Settings and more» (three dots) at the top right and then «Settings». Choose «Privacy, search, and services» on the left.
Choose «Clear browsing data»
Under «Clear browsing data», next to «Clear browsing data now», click «Choose what to clear». Ctrl+Shift+Delete takes you straight to the same dialog.
Choose the time range and data types
Under «Time range», pick the period you want; for a thorough clean-up choose «All time». Tick «Cookies and other site data» and «Cached images and files».
Click «Clear now»
Confirm with «Clear now». Careful: if sync is turned on, Microsoft says Edge deletes the data on every device where you are signed in with the same account. If you only want to clean up this device, turn off sync first.
Clean up a single website only
Under «Privacy, search, and services» > «Cookies» > «See all cookies and site data», search for the website, expand it with the arrow and click the bin icon.
iPhone and iPad
Checked against the Apple Support article «Delete your Safari history, cache, and cookies on iPhone» and the iPhone User Guide for iOS 26 on 20 October 2026. Safari is cleaned up in the Settings app, not in the browser itself.
Open the Settings app
Open «Settings», tap «Apps» and then «Safari». On older iOS versions, «Safari» appears directly in the list of settings.
«Clear History and Website Data»
Tap «Clear History and Website Data», choose the timeframe and confirm. This removes history, cookies and cache in one go; according to Apple, saved passwords and AutoFill information are kept.
Cookies and cache only, keep your history
If you want to keep your history, instead tap «Advanced» > «Website Data» in the Safari settings and then «Remove All Website Data». The same list also shows which individual websites have stored data.
Confirm
Confirm with «Remove Now». You will then need to sign in again on most websites.
Chrome for iPhone and iPad
If you use Chrome: three-dot menu > «Settings» > «Privacy and Security» > «Delete Browsing Data». Tick «Cookies, Site Data» and the cache files, leave the other boxes empty, tap «Delete Browsing Data» and confirm with «Done».
Android
Checked against Google Chrome Help for Android and Samsung's support page on clearing history, cache and cookies on 20 October 2026. Samsung devices often also have the «Samsung Internet» browser installed; the steps for it are in the last step.
Open the Chrome menu
Open Chrome, tap the three-dot menu to the right of the address bar and then «Delete browsing data». Alternatively, you will find it under «Settings» > «Privacy and security».
Choose a time range
Next to «Time range», pick the period you want. By default, Chrome only suggests the last 15 minutes; for a stubborn problem choose «All time».
Choose the data types
If needed, tap «More options» and tick «Cookies and site data» as well as the cached images and files. Make sure saved passwords are unticked, otherwise Google says they will be deleted too.
Tap «Delete data»
Confirm with «Delete data». As long as you are signed in to Chrome with your Google Account, Google says you stay signed in there; on other websites you will need to log in again.
Clean up a single website only
Open the website, tap the page info icon on the left of the address bar, then «Cookies and site data» and «Delete».
Samsung Internet
In Samsung Internet, tap the menu in the toolbar, then «Settings» > «Personal browsing data» > «Delete browsing data». Tick «Cookies and site data» and «Cached images and files», tap «Delete data» and confirm with «Delete». Labels can differ depending on the model and Android version.
What cache and cookies are – and what clearing them does
The cache is the browser's temporary storage. It holds images, fonts, stylesheets and scripts from websites you have visited before. On your next visit, the browser does not need to download these parts again, so the page appears faster. It becomes a problem when a website has changed but the browser still uses the old copy from the cache.
Cookies are small text files that a website places in your browser. They remember that you are logged in, what is in your basket, which language you chose or whether you have already dismissed a cookie banner. There are also cookies that recognise you across several websites, mainly for advertising.
After clearing, you are signed out of most websites, baskets are empty, cookie banners appear again and pages load a little more slowly on the first visit because the browser fetches everything fresh. Saved passwords are kept as long as you do not tick the corresponding box. If you have a lot of logins, a password manager keeps you on the safe side.
When clearing helps – and when it does not
Clearing helps when a website loads incorrectly or incompletely, shows an old layout, reports odd errors after an update or a login gets stuck in a loop. It is also often the fix when an online shop will not accept a discount code or a form refuses to submit. Test in private mode first: if the page works there, the cache or cookies are almost certainly to blame.
It will not help against a slow internet connection, an outage at the provider or adverts and pop-ups coming from an installed extension. Nor does it remove malware from your device; for that you need an antivirus scanner. And it does not make the browser permanently faster, quite the opposite: right after clearing, familiar pages load more slowly once.
A word on VPNs: a VPN hides your IP address but is no substitute for clearing cookies. Whatever recognises you through cookies still does so with a VPN switched on.
Delete the cookies of a single website only
Often it is enough to clean up just one problematic website. That way you stay logged in everywhere else. All the major browsers offer a searchable list of stored website data for this.
In Chrome on a computer you will find it under «Settings» > «Privacy and security» > «Third-party cookies» > «See all site data and permissions»; on Android via the page info icon in the address bar > «Cookies and site data». In Firefox the path is «Privacy & Security» > «Manage Data…», or you click the icon to the left of the address bar and choose «Clear Cookies and Site Data…». In Edge, go to «Privacy, search, and services» > «Cookies» > «See all cookies and site data».
In Safari on a Mac, select the website under «Privacy» > «Manage Website Data» and click «Remove». On an iPhone, the list is under «Settings» > «Apps» > «Safari» > «Advanced» > «Website Data».
Clear automatically and prevent problems
Firefox and Edge can delete cookies and cache automatically every time you close the browser. In Firefox: «Privacy & Security» > «History» section > «Firefox will» > «Use custom settings for history» > «Clear history when Firefox closes» > «Settings…», then tick the data types you want. In Edge: «Privacy, search, and services» > «Clear browsing data» > «Choose what to clear every time you close the browser». The downside is obvious: you have to sign in again everywhere every time, and every cookie banner comes back.
Private mode (called «Incognito» in Chrome and «Private Browsing» in Safari) keeps cookies and cache only for as long as the window is open and discards them afterwards. It is handy for testing and for logging in on someone else's device, but it does not make you anonymous: your internet provider, your employer on the company network and the websites you visit can still see what you open.
Tracking protection is the gentler approach: Safari («Prevent cross-site tracking») and Firefox (standard protection with «Total Cookie Protection») isolate or block third-party cookies out of the box without you losing any logins. In Chrome, you can choose «Block third-party cookies» under «Privacy and security» > «Third-party cookies». Blocking all cookies completely, on the other hand, rarely makes sense: Apple warns that some websites then stop working and logins can fail.
Good to know
- Before clearing, check that you know all your important passwords or have them in a password manager – afterwards you will be signed out almost everywhere.
- Choose «All time» or «Everything» as the time range if you want to fix a problem; shorter periods are usually not enough.
- Leave the «Passwords» box empty (Chrome, Edge; in Firefox the box for saved logins), otherwise your stored logins are gone.
- Use private mode to test first: if the page works there, clearing is the right fix.
- If the problem only affects one website, delete just its cookies rather than all of them – that way your other logins survive.
- In Edge with sync turned on, the data is deleted on all connected devices; pause sync first if you do not want that.
FAQ
What happens when I clear the cache?
The browser discards its stored copies of images, scripts and page elements and fetches them fresh from the server on your next visit. That gets rid of outdated layouts and many loading errors. Logins and settings are kept as long as you only clear the cache and not the cookies.
Does clearing cookies also delete my passwords?
No, as long as you do not tick the box for passwords or logins. Cookies keep you logged in; your saved passwords are stored separately in the browser. On an iPhone, Apple says your AutoFill information is kept too. You will, however, need to sign in again everywhere after clearing.
How often should you clear cookies?
There is no fixed schedule. Clear them when a website is playing up, when you pass a device on to someone else or when you want to get rid of tracking cookies. If you want to prevent problems, it is better to switch on the browser's tracking protection or let Firefox or Edge remove the data automatically when you close them.
How do I clear the cache on my phone?
On an iPhone via «Settings» > «Apps» > «Safari» > «Clear History and Website Data»; cache and cookies only, without the history, under «Advanced» > «Website Data» > «Remove All Website Data». On Android in Chrome via the three-dot menu > «Delete browsing data», choose a time range, tick cache and cookies, then «Delete data».
How do I delete cookies on a Samsung phone?
In Samsung Internet via the menu in the toolbar > «Settings» > «Personal browsing data» > «Delete browsing data», then tick «Cookies and site data» and «Cached images and files» and tap «Delete data». If you use Chrome on your Samsung, follow the Android steps via the three-dot menu > «Delete browsing data».
Does clearing make the browser faster?
Not permanently. The cache exists precisely to load pages faster; right after emptying it, familiar pages load more slowly once. A browser gets faster through fewer extensions, fewer open tabs and an update to the latest version.
Will I be signed out of my Google Account after clearing?
On websites such as Gmail or YouTube, yes. In Chrome itself, Google says you stay signed in as long as you do not sign out of Chrome. In Edge with sync turned on, the deleted data is also removed on every device where you are signed in with the same Microsoft account.
Is it enough to delete the cookies of just one website?
Usually yes, if only that website is causing trouble. Every browser has a searchable list of stored website data where you can remove individual entries. That way you stay signed in to all your other services.
Sources
- Google Chrome Help: Delete, allow, and manage cookies in Chrome (Computer) – accessed on 20 October 2026
- Google Account Help: Clear cache & cookies (Computer) – accessed on 20 October 2026
- Google Chrome Help: Delete browsing data in Chrome (Android) – accessed on 20 October 2026
- Google Chrome Help: Delete, allow, and manage cookies in Chrome (Android) – accessed on 20 October 2026
- Google Chrome Help: Delete, allow, and manage cookies in Chrome (iPhone and iPad) – accessed on 20 October 2026
- Apple Safari User Guide: Clear your cache and cookies in Safari on Mac – accessed on 20 October 2026
- Apple Safari User Guide (en-us): Clear your cache and cookies in Safari on Mac – accessed on 20 October 2026
- Apple Support: Delete your Safari history, cache, and cookies on iPhone – accessed on 20 October 2026
- Mozilla Support: Clear cookies and site data in Firefox – accessed on 20 October 2026
- Mozilla Support: How to clear the Firefox cache – accessed on 20 October 2026
- Mozilla Support: Introducing Total Cookie Protection in Standard Mode – accessed on 20 October 2026
- Microsoft Support: Manage cookies in Microsoft Edge: View, allow, block, delete and use – accessed on 20 October 2026
- Microsoft Support: View and delete browser history in Microsoft Edge – accessed on 20 October 2026
- Samsung Support: Clear the history, cache, and cookies in Samsung Browser on your Galaxy phone or tablet – accessed on 20 October 2026
- Google Privacy Sandbox: Next steps for Privacy Sandbox and tracking protections in Chrome (22 April 2025) – accessed on 20 October 2026
Ali Cetinkaya is a business IT specialist with more than 15 years of experience in IT and online marketing. For DealsScout he evaluates plans, tools and deals – honestly, transparently and without jargon.