How to Clear Cache and Cookies in Chrome, Safari, Firefox and Edge

A website that won’t load properly is often fixed by clearing old stored files. Here’s what cache and cookies are, what you lose by clearing them, and the steps for each browser.

Short answer

Your browser’s cache stores parts of pages, such as images, so sites open faster; cookies are small files sites save, for example to keep you signed in. Clearing them can fix pages that load or look wrong. You’ll usually be signed out of websites, and sites may load a little slower the first time. In most browsers you’ll find the option in Settings under privacy, where you can choose a time range such as Last hour or All time.

In this article 12 sections
  1. Cache and cookies in plain words
  2. Why clear them?
  3. What you lose when you clear them
  4. Google Chrome (computer)
  5. Safari on iPhone
  6. Safari on Mac
  7. Firefox (computer)
  8. Microsoft Edge (computer)
  9. Clear data for just one site
  10. Common mistakes
  11. Common questions
  12. Related guides
A MacBook Pro on a wooden table with a web page open in the Safari browser
A web page open in Safari on a MacBook Pro. Photo: Kyu3a / Wikimedia Commons, CC BY-SA 4.0

Cache and cookies in plain words

  • Cache: copies of parts of web pages, such as images and scripts, kept on your device so a site opens faster next time.1,5
  • Cookies: small files that websites save in your browser — for example to keep you signed in or remember what's in your basket.1,7 Our explainer What Is a Cookie on a Website? goes into more detail.

Why clear them?

Clearing them is a common fix when:

  • a site won't load, or looks broken or out of date;1,5
  • you want to make sure you're seeing the newest version of a page;1
  • you want to free up storage space on your device;1,7
  • you want to remove cookies that track you for advertising.7

What you lose when you clear them

Before you start

  • You'll be signed out of most websites, so make sure you know your passwords (a password manager helps).1
  • Sites may feel a little slower the first time, because images and other files have to download again.1
  • Saved site settings, such as preferences on that site, can be removed.1

Clearing is generally harmless, and AARP suggests doing it every month or two, or more often if your device feels slow.7 If only one site is misbehaving, clear data for that site rather than everything.

Google Chrome (computer)

  1. Click the three dots (More) at the top right, then Delete browsing data.1

  2. Choose a time range, such as Last hour or All time.1

  3. Tick Cookies and other site data, plus the cached images and files option if you want to clear the cache too. Untick anything you want to keep.1

  4. Click Delete data.1

Shortcut: type "Delete browsing data" in Chrome's address bar and pick the suggested action.1 If Chrome sync is on, you stay signed in to your Google Account in Chrome even after clearing cookies.1 Google's help page has separate tabs with steps for Chrome on Android and iPhone.1

Safari on iPhone

  1. Open Settings > Apps > Safari.2

  2. To clear everything: tap Clear History and Website Data, choose a time frame and confirm with Clear History. Your AutoFill details are kept.2

  3. To keep your history but clear cookies and cache: go to Advanced > Website Data and tap Remove All Website Data, then Remove Now.2

If the clear button is greyed out, either there's nothing to clear or Screen Time web restrictions are switched on.2

Safari on Mac

  1. Open Safari and choose History > Clear History.3

  2. Use the pop-up menu to choose how far back to clear, then confirm.3

This removes your history, recent searches, the record of downloads (not the files themselves) and the list of sites that asked to use your location or send notifications. If you sync Safari through iCloud, it also clears that history on your other Apple devices.3 Apple keeps cookie-only controls on a separate page of its Safari guide.3

Firefox (computer)

  1. Open the menu, then Settings > Privacy & Security.4

  2. Under Cookies and Site Data, click Clear Data….4

  3. Set When to Everything (or a shorter period), keep Cookies and site data and Temporary cached files and pages ticked, and click Clear.4

To clear only the cache and stay signed in, untick Cookies and site data and leave only the cached files option ticked.5 Firefox can also clear the cache automatically every time you close it: under History, choose Use custom settings for history, tick Clear history when Firefox closes, open Settings… and tick Temporary cached files and pages.5

Microsoft Edge (computer)

  1. Click Settings and more (the three dots), then Settings > Privacy, search, and services.6

  2. Under Clear browsing data, click Choose what to clear.6

  3. Pick a Time range, tick Cookies and other site data and Cached images and files, then click Clear now.6

If Edge sync is on, clearing applies to all your synced devices; with sync off, it affects only the one you're using.6

Clear data for just one site

  • Firefox: on the site, click the padlock or shield icon to the left of the address and choose Clear Cookies and Site data.4 To pick any site, go to Settings > Privacy & Security > Cookies and Site Data > Manage Data…, search for it and remove it.4
  • Chrome: Google points to Chrome's cookie settings for deleting one site's cookies.1
  • Safari on iPhone: to remove a site from your history, open Safari's History, tap More > Select Websites, choose the sites and tap the bin.2

If one site keeps showing “redirected you too many times”, clearing that site's data is usually the fix, as our guide to the ERR_TOO_MANY_REDIRECTS error explains.

Common mistakes

  • Ticking "Passwords" by accident. Edge lists saved passwords and autofill data in the same menu as cookies; leave them unticked unless you mean to delete them.6
  • Clearing everything for one broken site. Clearing a single site keeps you signed in everywhere else.4
  • Blocking all cookies instead. Safari's Block All Cookies setting can stop sign-ins from working and make some sites show "cookies required" messages.2

Common questions

Will clearing cookies delete my saved passwords?

Not unless you choose to. In Edge, passwords are a separate box you can leave unticked, and clearing Safari's history on iPhone keeps AutoFill.6,2

Does clearing my history delete what websites know about me?

No. It only clears what's stored in your browser; history kept by the websites themselves isn't affected.3

Sources and further reading

  1. Clear cache & cookies — Google Account Help
  2. Delete your Safari history, cache, and cookies on iPhone — Apple Support2026-09-14
  3. Clear your browsing history in Safari on Mac — Apple Support
  4. Clear cookies and site data in Firefox — Mozilla Support2026-06-11
  5. How to clear the Firefox cache — Mozilla Support2026-06-13
  6. View and delete browser history in Microsoft Edge — Microsoft Support2026-11-26
  7. Clearing your cache — AARP

Was this article helpful?

Tell us where you got stuck

Didn’t work? Tell us which step went wrong. We read every note and use them to fix and improve this guide.

Private. This goes only to the ByteExplained editors with the guide’s title. It isn’t published on the site.

Please don’t include passwords, QR or activation codes, or identifiers such as your phone number, EID or IMEI.

Comments

No comments yet. Questions and tips from readers are welcome.