Hello,
Every time I close and reopen Brave, my Google sessions (Gmail, YouTube, Drive, etc.) are logged out automatically — even though I have already checked and configured everything correctly.
Here’s what I’ve tried:
“Clear cookies and site data when I close Brave” is DISABLED
I added [*.]google.com
, [*.]gmail.com
, [*.]youtube.com
, [*.]drive.google.com
as allowed cookies (including third-party)
No cleaning extensions (e.g., Cookie AutoDelete, Privacy Badger, etc.)
Tried a brand new Brave profile with no sync and no extensions
Checked folder permissions in AppData\Local\BraveSoftware\Brave-Browser\User Data
“Controlled folder access” in Windows Defender is DISABLED
No antivirus software or CCleaner installed
Using SSD with Windows 11 (fully updated)
Despite all that, Google still logs me out every time I close Brave. Other websites keep me signed in just fine — it only happens with Google services.
I suspect this might be a bug in how Brave handles Google session cookies or authentication tokens.
Brave version : 1.77.97
OS : Windows 11 with SSD, no third-party antivirus
Please let me know how to fix this — it’s driving me crazy. Thanks in advance.
@pako12312 known issue I do believe, would be at the Github below. It’s something they have been investigating as random reports come in but haven’t been able to replicate or identify the cause yet. Seems to only be a small subset of people having issues.
opened 07:03PM - 19 Mar 25 UTC
needs-investigation
OS/Windows
priority/P2
webcompat/not-shields-related
OS/Desktop
### Description
Starting ~3mo ago or so, several users have reported that they … are being logged out of websites when they close/relaunch the browser. Most of these users have confirmed that they do not have the `Forget me when I close this site` Shields protection enabled, nor do they have data set to be clear "on exit".
While it _might_ be related to extensions and/or individual profile setups, it seems unlikely that all of the users reporting this have the same extensions and/or setups, or if they do have similar setups, the common thread is likely a setting in Brave itself, pointing to it potentially being a bug/issue in the browser.
Some users have reported that the following ["solution"/"workaround" resolves the issue](https://community.brave.com/t/brave-keeps-logging-me-out-of-google/599655/5?u=mattches), but users should not have to take these steps to simply stay logged into websites when they close/relaunch the browser:
> 1. In a Brave Browser New Window go to `brave://settings/content/javascript`
> 2. Scroll down that javascript settings page to Allowed to use javascript
> 3. Click the `Add` button
> 4. Enter `[*.]google.com` as the site . . . but do not enable `Current Private session only`
> 5. Click the `Add` button
> 6. Repeat those steps for:
> ```
> [*.]firebaseapp.com
> [*.]gmail.com
> [*.]googleapis.com
> [*.]googleusercontent.com
> [*.]gstatic.com
> [*.]youtube.com
> ```
Users have reported this issue occurring on Windows, macOS and Linux systems. Most of these reports are specific to sites that use Google accounts/auth logins, but some users report this occurring for other sites as well.
### Steps to reproduce
N/A
### Actual result
Users keep getting logged out of sites when closing/relaunching the browser
### Expected result
Users should stay logged into sites after closing/relaunching the browser unless they have `Clear data on exit` or `Forget me when I close this site` options enabled.
### Reproduces how often
Easily reproduced
### Brave version (brave://version info)
v1.76.74 -- but issue has been occurring for several months now.
### Channel information
- [x] release (stable)
- [ ] beta
- [ ] nightly
### Reproducibility
- [x] with Brave Shields disabled
- [ ] with Brave Rewards disabled
- [ ] in the latest version of Chrome
### Miscellaneous information
User reports:
- [I get logged out of google after closing brave](https://community.brave.com/t/i-get-logged-out-of-google-after-closing-brave/605145/11)
- [Brave keeps logging me out of google](https://community.brave.com/t/brave-keeps-logging-me-out-of-google/599655/)
- [Brave disconnecting from websites](https://community.brave.com/t/brave-disconnecting-from-websites/603631)
- [Persistent Auto-Logout Issue in Brave – Help Needed!](https://community.brave.com/t/persistent-auto-logout-issue-in-brave-help-needed/605435)
- [Brave Keeps Logging Me out of All Accounts 2 to 3 times a week](https://community.brave.com/t/brave-keeps-logging-me-out-of-all-accounts-2-to-3-times-a-week/598686)
- [Im getting logged out of Google Services](https://community.brave.com/t/im-getting-logged-out-of-google-services/583885)
- https://www.reddit.com/r/brave_browser/comments/1jazy1f/brave_logging_me_out_problem/
- https://www.reddit.com/r/brave_browser/comments/1ihsgzn/why_does_brave_all_of_a_sudden_keep_logging_me/
- https://www.reddit.com/r/brave_browser/comments/1di35hl/constantly_being_logged_out_of_gmail_and_youtube/
- https://www.reddit.com/r/brave_browser/comments/1jbydlc/spotify_web_player_just_wont_keep_me_logged_in/
- https://www.reddit.com/r/brave_browser/comments/1ja4yye/new_to_the_brave_browser/
- https://www.reddit.com/r/brave_browser/comments/1idn0xm/why_every_site_logged_out_all_of_a_sudden/
- https://www.reddit.com/r/brave_browser/comments/1i9uahr/google_keeps_logging_me_out_when_i_close_and/
- https://www.reddit.com/r/brave_browser/comments/1hl929b/brave_logs_me_out_regardless_of_settings_at_random/
Will continue to add them here as I see them. Shout out to @saoiray for aggregating all these recent threads.
cc @ryanbr @rebron @ShivanKaul
mr_ut
April 15, 2025, 11:24am
3
If you can’t get Google to stay logged in, I for sure can’t.
I didn’t see “Clear cookies and site data when I close Brave” under Shield settings, only “Forget me when I close this site”
Under “Delete browsing data / On exit” I have nothing checked.
I prefer similar to Firefox where I can add an exception on a few sites I want to stay logged into and always delete everything else on exit.