How to Stop Google Chrome from Automatically Deleting Your Browsing History

The Missing Session Problem

If you close Google Chrome at the end of the day and find that you have been completely logged out of every website the next morning, or that your browsing history from yesterday is entirely gone, you have likely triggered Chrome’s automatic data-clearing feature. While this is an excellent privacy feature for shared computers in schools or libraries, it is incredibly frustrating for personal devices. You lose the convenience of persistent logins, saved shopping carts, and the ability to press Ctrl+H to quickly find an article you were reading hours ago.

How to Disable the Automatic Clearing Feature

You can adjust your privacy settings to ensure Chrome retains your cookies, site data, and browsing history permanently until you explicitly decide to delete them yourself.

1. Open Google Chrome.

2. Click the three vertical dots in the top-right corner.

3. Select Settings from the drop-down menu.

4. In the left-hand sidebar, click on Privacy and security.

5. Click on Site Settings in the main pane.

6. Scroll down and click on Additional content settings to expand the menu.

7. Click on On-device site data.

8. Look for the default behaviour options. You will likely find it set to “Delete data you have saved to your device when you close all windows.”

9. Change this setting to Allow sites to save data on your device.

Managing Specific Exceptions

By changing this master setting, your browser will now remember you across sessions. However, if there are one or two specific websites (like a banking portal) where you do want your data wiped immediately upon closing the tab, you do not need to turn the global setting back on. Instead, scroll down to the “Customised behaviours” section on the same settings page. Click the “Add” button next to “Delete data when you close all windows” and type in the specific URL of your bank. Chrome will remember everything else but securely scrub that specific site.

Get the best tech tips delivered straight to your inbox.

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