How to Stop Google Chrome from Automatically Signing out

The Cookie Purge

If you find yourself having to re-enter your username, password, and two-factor authentication codes for every single website (like Gmail, Twitter, or your bank) every time you close and reopen Google Chrome, your browser is suffering from a data retention issue. By default, Chrome uses cookies to keep you signed in across sessions. However, if a specific privacy setting has been accidentally triggered, Chrome will automatically purge all local cookies the moment the application process terminates, effectively signing you out of the entire internet every time you click the red ‘X’ to close the window.

Preserving Session Data

To maintain your active logins and stop Google Chrome from automatically signing you out of websites upon exit, you must ensure the “clear on exit” privacy toggle is disabled.

Click the three vertical dots in the top-right corner of the Chrome browser and select Settings. In the left-hand navigation sidebar, click on Privacy and security. In the main panel, click on Site settings, then scroll down and click on Additional content settings to expand the list, and finally click on On-device site data (in older versions, this is under Cookies and other site data). Look carefully for the toggle switch labelled Delete data sites have saved to your device when you close all windows (or “Clear cookies and site data when you close all windows”). Ensure this toggle switch is turned completely Off. With this disabled, Chrome will retain your session cookies, keeping you logged in.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.