Fix Chrome Signs Me Out of Everything on Exit
In this article
Yes, you can stop Chrome from signing you out of all your accounts when you close the browser. This usually happens because Chrome is set to clear cookies and site data on exit, or because the "Continue where you left off" setting is off and Chrome restores a clean session. The fix is to adjust Chrome's privacy and startup settings so your login cookies are kept. Here's exactly how to do it, step by step.
What You'll Need
- Access to Chrome on your computer (Windows, Mac, or Linux). The steps are the same for all desktop versions.
- Your Google account password (in case you need to sign back in after changing settings).
- No additional software or extensions are required.
Step-by-Step
- Open Chrome Settings. Click the three-dot menu in the top-right corner of the browser window, then select Settings from the dropdown. Alternatively, type
chrome://settingsin the address bar and press Enter. - Go to Privacy and Security. In the left sidebar, click Privacy and security. If you don't see a sidebar, scroll down until you find it.
- Open Cookies and Other Site Data. Under Privacy and security, click Cookies and other site data. This page controls how Chrome handles cookies, which are what keep you logged in.
- Check the "Clear cookies when you close all windows" setting. Look for the toggle labeled Clear cookies and site data when you close all windows. If this is ON, Chrome will delete all cookies—including login sessions—every time you exit. Turn it OFF. This is the most common cause of the problem.
- Review exceptions (optional). If you want to keep the setting ON for privacy but still stay logged in to specific sites, click Add next to "Sites that can always use cookies" and enter the site's URL (e.g.,
google.com). This is a workaround, but if you want to stay logged in everywhere, just turn the toggle off. - Go to Startup settings. Back in the main Settings page, click On startup in the left sidebar.
- Select "Continue where you left off." Choose the option Continue where you left off. This makes Chrome restore all your tabs and cookies from your last session when you reopen it, which helps maintain login states. The other options ("Open the New Tab page" or "Open a specific page") can cause a fresh session that may not restore cookies properly.
- Restart Chrome. Close all Chrome windows completely, then reopen Chrome. Sign in to your accounts one more time—this should be the last time you have to do it. Chrome will now remember your logins across restarts.
Common Mistakes
- Only changing the startup setting. Many users change "On startup" to "Continue where you left off" but forget to check the cookie clearing toggle. Both settings work together; you need to fix both.
- Turning off "Clear cookies" but not restarting Chrome. The change won't take effect until you fully close and reopen Chrome. Make sure you quit all Chrome windows (including background processes) before testing.
- Using an extension that clears cookies. Some privacy extensions (like CCleaner or cookie auto-cleaner extensions) can override Chrome's settings. If you have any, temporarily disable them to see if that's the culprit.
- Clearing browsing data manually. If you habitually click "Clear browsing data" when closing Chrome (or use a shortcut), that will also log you out. Avoid doing that unless you intend to.
Tips
- Use a dedicated profile for personal logins. Chrome profiles keep cookies separate. If you share your computer, create a separate profile for your accounts so you don't have to log in every time someone else uses the browser.
- Check for updates. Occasionally, Chrome updates can reset settings. If the problem returns, revisit these settings.
- For Gmail specifically, you can also check the "Stay signed in" checkbox on the Google sign-in page. This is separate from Chrome's cookie settings but works alongside them.
- If you use multiple devices, remember that this fix applies per device. You'll need to apply it on each computer where you experience the issue.
Troubleshooting
If you've followed the steps above and Chrome still signs you out, try these in order:
- Restart Chrome completely. Close all windows and also check the system tray (Windows) or Dock (Mac) for any Chrome icons. Right-click and choose "Exit" or "Quit" to ensure no background processes are running. Then reopen Chrome.
- Disable extensions temporarily. Go to
chrome://extensions, toggle off all extensions, then restart Chrome. If the problem stops, re-enable them one by one to find the culprit. - Check for Chrome updates. Go to
chrome://settings/helpand let Chrome update if needed. An outdated version might have bugs. - Reset Chrome settings. If nothing else works, go to
chrome://settings/resetand click "Restore settings to their original defaults." This will disable extensions, clear temporary data, and reset settings—but it will not delete your bookmarks, history, or saved passwords. You'll need to sign in again afterward, but this often fixes stubborn issues. - Check if a group policy is forcing the behavior. If you're on a work or school computer, your administrator may have set a policy that clears cookies on exit. You can check by going to
chrome://policyand looking for entries like "ClearCookiesOnExit". If it's there, you'll need to contact your IT admin—there's no user-side fix.
Frequently Asked Questions
Why does Chrome sign me out of everything when I close it?
Chrome is likely set to clear cookies when you close all windows. Cookies are what store your login sessions, so clearing them logs you out. This setting is often enabled by privacy tools or accidentally toggled.
Will turning off "Clear cookies" affect my privacy?
Yes, it means your login cookies will remain stored on your device. If you share your computer, anyone using your profile could access your accounts. For better privacy on shared devices, use a separate Chrome profile or sign out manually when done.
Does this fix work on mobile (Android/iOS)?
No, this guide is for desktop Chrome. On mobile, Chrome typically doesn't clear cookies on exit by default, so the issue is less common. If you're having trouble on mobile, check your browser settings for "Clear browsing data on exit" (some Android versions have it).
I turned off the toggle, but I still get logged out. What else could cause it?
Check your extensions. Some ad-blockers or privacy extensions have "clean up" features that clear cookies. Also, make sure you're not using a third-party "cleaner" app that runs when your computer shuts down.
Will this keep me logged in to all websites or just Google?
It will keep you logged in to any website that uses cookies for authentication, as long as the cookie hasn't expired on its own. Some sites have short session timeouts, which is normal and unrelated to Chrome's exit behavior.
Is there a way to keep cookies but only for certain sites?
Yes, you can leave the "Clear cookies" toggle ON and add exceptions for specific sites. Under "Sites that can always use cookies," click "Add" and enter the site's URL. This way, cookies for those sites are kept, while others are cleared on exit.