Clear cache and cookies – in every browser, on your computer and your phone

Ali Cetinkaya Last updated:

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.

Checked with: Checked in October 2026 against the help pages of Google, Apple, Mozilla, Microsoft and Samsung; menu names may differ slightly depending on browser version, device and system language.

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.

  1. 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.

  2. 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».

  3. 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.

  4. 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.

  5. 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».

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.

Where third-party cookies stand in 2026

Third-party cookies do not come from the website you are visiting but from embedded services, usually advertising networks. They are the main reason adverts follow you around the web.

For years Google had announced it would phase these cookies out of Chrome, and postponed the plan several times. In April 2025 Google announced it would keep its current approach and not show a separate prompt asking users to choose: third-party cookies remain allowed in Chrome by default, but you can block them in the settings under «Privacy and security». In Incognito mode they are already blocked by default.

Safari and Firefox take a different route: Safari prevents cross-site tracking out of the box, and Firefox's «Total Cookie Protection» in standard mode isolates each website's cookies in its own container, so trackers cannot recognise you across several websites. If you want similar protection in Chrome, you have to switch blocking on yourself.

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

Ali Cetinkaya
Founder & editor

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.

More on Security & privacy

Everything on Security & privacy →