A Quick Way in Chrome to Clear Cookies on Exit

Do you know how a browser remembers that you logged into a website?

You might have noticed that whenever you log in to some website, you don’t have to log in again even if you close your browser. Chrome also has the same feature. It remembers the website you have visited in the past and stores information about the website on your device.

It is all possible because of cookies. They are a small chunk of information like your username and password. It also helps to personalize your browsing experience.

However, you might want to delete these cookies regularly in case you have visited some unwanted site. It can be a tiresome job to delete the cookies daily by visiting the settings page.

Fortunately, Google Chrome provides an option to delete the cookies automatically after every session. Here’s how to do it.

How to Set Chrome to Clear Cookies on Exit

You can keep the tracking scripts in control by automatically clearing the cookies. However, you still need to delete the Chrome cache and history manually. It is essential to remove the cookies regularly if you happen to visit suspicious sites often. Therefore, follow the below steps to set Chrome to delete the cookies on exit.

1. Open the Chrome Menu (Three vertical dots at the top-right corner)

2. Then, go to Settings.

Settings in chrome menu

3. Scroll down to Privacy and Security.

4. Now, click on Cookies and other site data.

cookies and other site data

5. Finally, toggle and enable the switch in front of “Clear cookies and site data when you quit Chrome.”

clear cookies and site data when you exit chrome

That all, now Chrome will automatically delete any existing cookies when you exit a session. 

What are Cookies?

Cookies are small text files that contain your personal information like usernames and passwords. It helps websites to distinguish your computer from others on the network. HTTP cookies are used to identify specific users and provide a personalized browsing experience.

The data available in a cookie is provided by a server when you establish a connection through a network. The server tags this data with a unique ID for each computer. 

After your first visit to a website, the server stores your information. From the second visit onwards, it reads and exchanges the cookies with your browser. Whenever a server locates a known ID, it remembers your previous choices and serves you relatable information.

Why Should I Delete Cookies?

There are some solid reasons to consider deleting cookies from your browser. Here are a few reasons:

  • They pose a security risk: A previous attack on the Yahoo website has demonstrated that hackers can gain access to these cookies and, thus, your personal information.
  • They store personal habits: A cookie can track your purchases on a website. Then, it follows you around the web to track your behavior. 
  • Slows down your computer: Each website you visit creates its cookies on your computer. It then stores the web page locally on your computer so that it can load faster. However, we often visit a site only once. Cookies associated with such pages can strain your computer memory and slow down the browsing speed.
  • Using a public or shared computer: Whenever you log in to a website using a public computer, it also stores the cookies. Even if you log out of it, the computer can remember your session, and some unethical hacker can use it to access your account. Consequently, you might become a victim of identity theft or financial fraud. 


Deleting cookies frequently from your browser can save you from a lot of troubles. However, you might forget to clear them, and it can lead to someone stealing your data. It can be dangerous when you visit a suspicious site or lending your computer to someone. Fortunately, we brought you the method to do it autoatically on Chrome. I hope you find this article benificial. Feel free to comment down with any queries regarding the topic.

Leave a Comment