Deleting cookies takes two to five minutes and works the same way across all major browsers

Cookies are small files your browser stores when you visit websites. They remember your login information, shopping cart contents, and preferences — but they also let websites and advertisers track where you go online. Deleting them regularly clears out this tracking data and can speed up your browser if you have accumulated thousands of old cookies.

The process is nearly identical in Chrome, Firefox, Safari, and Edge: you open your browser settings, find the option to clear browsing data, select cookies, and confirm. You can delete all cookies at once or set your browser to delete them automatically when you close it.

Key Takeaways

  • Cookies are stored in your browser settings under "Clear browsing data" or "Privacy" — the exact name varies by browser but the location is always in settings.
  • You can delete all cookies at once, delete cookies from a specific date range, or delete cookies from only certain websites.
  • Setting your browser to delete cookies automatically when you close it prevents them from building up, though you will need to log back into websites each time.
  • Deleting cookies will log you out of most websites, so save any work and close open tabs before you start.
  • Cookies and cache are different — cache stores images and files to load pages faster, while cookies store login data and tracking information.

How to delete cookies in Chrome

Open Chrome and click the three vertical dots in the top right corner. Select "Settings," then click "Privacy and security" in the left sidebar. Click "Clear browsing data" — a window will pop up showing what you can delete.

At the top of the window, you will see a dropdown that says "All time," "Last hour," "Last 24 hours," "Last 7 days," "Last 4 weeks," or "Last 90 days." Choose the time range you want to clear. Below that, make sure the box next to "Cookies and other site data" is checked. Click the blue "Clear data" button at the bottom right.

Chrome will delete the cookies from your chosen time period and close the window. You will be logged out of most websites, and you may need to log back in the next time you visit them.

How to delete cookies in Firefox

Open Firefox and click the three horizontal lines in the top right corner. Select "Settings," then click "Privacy & Security" in the left sidebar. Scroll down to the "Cookies and Site Data" section and click the "Clear Data" button.

A window will appear with two checkboxes: "Cookies and Site Data" and "Cached Web Content." Make sure "Cookies and Site Data" is checked, then click "Clear." Firefox will delete all cookies immediately. If you want to delete cookies from only a specific time period, click the menu icon again, select "History," then "Clear Recent History" — this gives you more control over the date range.

How to delete cookies in Safari

Open Safari and click "Safari" in the menu bar at the top of the screen. Select "Settings" (or "Preferences" on older Macs), then click the "Privacy" tab. Click the "Manage Website Data" button on the right side.

A list of websites will appear showing how much data each one has stored. You can select individual websites and click "Remove" to delete only their cookies, or click "Remove All" to delete cookies from every website at once. Click "Done" when you are finished.

How to delete cookies in Edge

Open Edge and click the three dots in the top right corner. Select "Settings," then click "Privacy, search, and services" in the left sidebar. Under "Clear browsing data," click "Choose what to clear."

A window will pop up with a dropdown menu at the top showing time ranges: "All time," "Last hour," "Last 24 hours," "Last 7 days," "Last 4 weeks," or "Last 90 days." Select your preferred range. Make sure "Cookies and other site data" is checked, then click "Clear now." Edge will delete the cookies from your chosen time period.

Setting your browser to delete cookies automatically

Instead of manually clearing cookies every few weeks, you can set your browser to delete them automatically when you close it. This prevents cookies from building up over time, though you will need to log back into websites each time you open your browser.

In Chrome: Go to Settings > Privacy and security > Cookies and other site data. Toggle on "Clear cookies and site data when you quit Chrome."

In Firefox: Go to Settings > Privacy & Security. Under "Cookies and Site Data," check the box next to "Delete cookies and site data when Firefox is closed."

In Safari: Go to Settings > Privacy. Check the box next to "Remove all website data when quitting Safari."

In Edge: Go to Settings > Privacy, search, and services. Toggle on "Clear browsing data" under "Clear browsing data," then toggle on "Choose what to clear every time you close the browser." Select "Cookies and other site data" from the list.

The difference between cookies and cache

Cookies and cache are often deleted together, but they do different things. Cookies store information about you — your login details, preferences, and tracking data from advertisers. Cache stores images, videos, and other files that websites use, so they load faster the next time you visit.

Deleting cache frees up storage space on your computer and can speed up your browser if it has accumulated gigabytes of old files. Deleting cookies removes tracking data and logs you out of websites. You can delete one without deleting the other — when you clear browsing data, your browser usually gives you separate checkboxes for each.

Frequently Asked Questions

Will deleting cookies slow down websites I visit often?

Slightly, but only the first time you visit after deleting them. Websites will take a few extra seconds to load because your browser no longer has the cached files stored locally. After that first visit, the cache rebuilds and pages load normally again. The slowdown is usually not noticeable.

Do I need to delete cookies if I use private or incognito mode?

No. Private browsing mode (called "Incognito" in Chrome and Edge, "Private" in Firefox and Safari) does not store cookies at all — they are deleted automatically when you close the window. You only need to delete cookies from your regular browsing mode.

Can I delete cookies from just one website instead of all of them?

Yes. In Chrome, Firefox, and Edge, you can type a website address into the search box when you open the clear browsing data window to delete only that site's cookies. In Safari, the "Manage Website Data" window shows every website individually, so you can select and remove specific ones.

What happens if I delete cookies while I am logged into a website?

You will be logged out immediately. Save any work you are doing before you delete cookies, and close any open tabs where you are logged in. When you revisit those websites, you will need to log back in.

Do I lose my saved passwords when I delete cookies?

No. Passwords are stored separately from cookies in your browser's password manager. Deleting cookies will not affect your saved passwords — you will still be able to log back in using your stored credentials.