Brave drops all login sessions upon every single update

Description of the issue:

Brave Browser drops -all login sessions- after Brave updates.
In these cases, -all logged in sites- require to be logged in again.
Examples: Gmail, Reddit, LinkedIn, etc. + my own self-hosted sites

Steps to Reproduce (add as many as necessary):

  1. Have the options “Continue where you left off” and “Allow sites to save data” enabled in Brave
  2. Log in to various sites
  3. Close Brave
  4. Restart machine
  5. Open Brave and update
  6. Restart machine
  7. Open Brave
  8. Notice that -all sites- are now logged off

Actual Result (gifs and screenshots are welcome!):

-All the previously logged in sites- are logged off after the update and machine restart.

Expected result:

Brave keeps the login sessions on all sites at all times.

Reproduces how often:

After -every- update.

Operating System and Brave Version(See the About Brave page in the main menu):

Windows 10

Brave 1.97.56 (Official Build) (64-bit)

Additional Information:

  • This issue has been a long standing issue across multiple Brave versions from a long time ago.
    The issue persists even with the “Continue where you left off” and “Allow sites to save data” options enabled.
  • No cleaner or optimization applications are in operation and other browsers do not produce this issue, only Brave (tested with Firefox, Chrome, etc.).
  • No data is set to clear “On Exit”.
  • Not using any browser password managers.

Please fix this, as it is very tedious and I am thinking of leaving Brave behind due to this.

Thank you very much!

Event Persistent login normally expected?
Close a tab Yes
Navigate away from website Yes
Open another normal window Yes
Close one normal Brave window while Brave remains running Yes
Quit Brave completely Usually yes
Restart the computer Usually yes
Lock Windows Yes, unless the site’s session itself expires
Use a Private Window No, by design
Clear data on exit enabled (brave://settings/clearBrowserData); This setting overrides the Allow sites to save data setting. No, for selected data
Forget me when I close this site enabled (Site-Specific Shields panel ← Lion icon; and also at: brave://settings/shields); This setting overrides the Allow sites to save data setting. No, for that site’s data
Website’s own session expires No
Website invalidates/revokes the session No
Website’s Anti-bot / anti-abuse challenge triggered by Brave’s privacy characteristics (Challenge may be silent and/or not visible) No
Extension changes state Uncertain → An extension’s state can depend on the extension itself, Brave’s extension lifecycle, stored extension data, or the reason the browser was restarted.

NOTE: Location of the Allow sites to save data setting in the browser settings:

Settings → Privacy and security → Site & Shield Settings → Content → Additional Content Settings → On-device site data


Extensions Testing Steps:

  • test by disabling all extensions
  • test by enabling each extension individually
  • test by uninstalling all extensions
  • test by installing each extension individually
  • test order of installation of extensions
  • test combinations of extensions"

Thank you!

No extensions are installed.
Issue persists with vanilla Brave.

A friendly ping to get to the fix and resolution. :slightly_smiling_face:

Leaved brave for now for the same reason

Yeah, probably I will too. This is just not worth the hassle. Especially as now competition is catching up as well.

Not sure why a pretty high priority issue like this is not fixed already. As I see tickets have been swarming about this for years now.

One more friendly ping to get to the fix and resolution. :slightly_smiling_face:

It may be a Windows credential-decryption or browser-profile initialization problem.

Brave published a technical explanation in June 2026, called Sensitive data storage.

Brave: Sensitive data storage (official technical explanation)

It explains that:

  1. Chromium uses an encryption component called OSCrypt to protect passwords, cookies and web sessions.
  2. On Windows, the encryption key is stored in Brave’s Local State file.
  3. That key is protected using Windows DPAPI.
  4. If Windows refuses to decrypt the key, Chromium can generate a replacement key.

Possibly related, #58796:

https://github.com/brave/brave-browser/issues/58796

And, #40375:

https://github.com/brave/brave-browser/issues/40375


‘Where Brave Browser Profiles Are Located’

My preferred rescue procedure:

‘Brave Profile Error on Startup – Reinstalling Did Not Fix the Issue - #2 by 289wk’

Other procedures:

‘Passwords disappeared, no traces left - #2 by 289wk’


cc: @Mattches

I compressed the details, because OP later reports:

‘Brave drops all login sessions upon every single update - #11 by HPoltergeist’

“For clarification, I am not using any browser password managers.”

Thank you very much for the info!

So what would be the solution and a long term fix?
Why is it not an issue with Chrome?

Thank you for the elaboration!

For clarification, I am not using any browser password managers. I just would like to keep my login sessions for more than a week or few days.
Also, I still don’t see how is it not an issue in Chrome, as it is also chromium based.

I am managing my own backups, for the same reason you have explained, so I am on the same page there with you.

I am really hoping for a solution on this very soon, because I am about to leave Brave for something where my login sessions persist and I don’t need to log in again and again all the time.
For now leaving this open, so others can join in and make some visibility for this.

@HPoltergeist

Given that you now report:

‘Brave drops all login sessions upon every single update - #11 by HPoltergeist’

“For clarification, I am not using any browser password managers.”

I would return to the table at:

‘Brave drops all login sessions upon every single update - #2 by 289wk’

cc: @Mattches


Chrome / Chromium → not immune.

Win11: first launch after update to M155 resets prefs/extensions and signs out of all sites

‘https://issues.chromium.org/issues/571624234’

Investigate making prefs more resilient to power loss events

‘https://issues.chromium.org/issues/540709804’


Another Brave GitHub issue #49300

[Windows] Users being logged out of sites (when closing or after a period of time)

‘https://github.com/brave/brave-browser/issues/49300’

@HPoltergeist

Sorry I was no help.

No worries at all, you have tried to help and I appreciate that!

Also added the part about not using password managers, to the original post above.

Over here 2 PCs linkedin keeps logging me off all the time, since about 10 days. Just LN, everything else works. Not using password managers.

Have you found a solution? for me over here everything works OK a part from linkedin which logs me off 10x a day :frowning: other apps and websites work with the logins etc

Unfortunately, nothing so far.

Eventually the devs should take a look into it and prevent it from happening.

Yeah it’s driving me postal… :joy:

@HPoltergeist and others, there are a few different possibilities for what could be happening here, and depending on whether you are losing logins on specific sites or every single site at once, it usually comes down to one of two causes:

1. Fingerprinting, Farbling, and Strict Session Validation A very common trigger can be Shields and farbling (fingerprint randomization). Many sites (especially LinkedIn, Google, and work portals) monitor browser characteristics, User-Agent strings, and Client Hints to prevent session hijacking. When Brave updates, the version signature changes alongside Brave’s fingerprint protections, and strict sites see enough of a difference against their cached session data to invalidate the token and force a logout.

You can test this by allowing fingerprinting or disabling Shields to see if there are any differences.

2. Windows Cookie Encryption (OSCrypt / Local State) Failing on Update If literally every website (including basic forums or Reddit) drops its session at the exact same moment after an update and reboot, the issue is happening locally on your drive. Even if you don’t use a password manager, Brave uses the exact same encryption system (OSCrypt inside the Local State file) to encrypt all of your login cookies. On Windows, Chromium uses App-Bound Encryption, which ties your cookie encryption to the specific brave.exe application binary via the Brave Elevation Service. When Brave updates and the machine restarts, two things can go wrong:

  • If Windows restarts while Brave is still finishing a background write to the Local State file, the file corrupts, renames itself to Local State.bad, and generates a brand-new encryption key on the next launch. That instantly makes all previous login cookies unreadable.

  • When brave.exe updates to a new version, if BraveElevationService is disabled in Windows Services (services.msc), blocked by security software, or if Brave is set to “Run as administrator”, it fails to validate the updated browser binary and drops access to the encrypted cookies. This is one of the reasons it has been suggested we never run Brave as administrator.

Two questions

  1. If you press Win + R, paste %LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data and press Enter, do you see a file named Local State.bad in that folder?

  2. In Windows Services (Win + R → services.msc), is Brave Elevation Service enabled (set to Manual or Automatic) rather than Disabled?

Something worth noting for Windows 10 Profile / Shutdown handling: Windows 10 can force-close background brave.exe processes during a system reboot before Local State finishes saving, and long-standing Windows 10 user profiles can develop permission hiccups with the IElevator / DPAPI service when an app updates its binary.

I asked ChatGPT:

What is your sense of the required state, of a login-in session? Your impression, from A to Z, of what has to be in order, so upon Brave startup, Brave finds A to Z in order.

ChatGPT response:

1. The complete chain of dependencies

Consider a user who closes Brave with ten tabs open, including Gmail, Facebook, LinkedIn and a banking website.

The next time Brave starts, several things must work correctly.

The startup dependency chain

  1. Browser installation and executable

    The updated Brave executable must start correctly, with its expected components and resources.

  2. User Data directory

    Brave must locate the correct user-data directory, not a fresh or alternative one.

  3. Local State

    The browser-wide state must be readable and internally consistent, including the relevant encryption configuration.

  4. Profile selection

    Brave must identify and load the correct profile, such as Default.

  5. Profile configuration

    Profile preferences, settings, and other metadata must be available.

  6. Encryption infrastructure

    Chromium must be able to retrieve the necessary encryption keys and decrypt protected data.

  7. Cookie and storage databases

    The profile’s cookies, authentication tokens and relevant website storage must be accessible.

  8. Session Service

    Chromium/Brave must initialize the session-persistence subsystem.

  9. SNSS session records

    The Session_* and Tabs_* records must be readable and mutually consistent.

  10. Tab and window restoration

    Brave must reconstruct the previous browser windows, tabs and navigation histories.

  11. Website authentication

    Each website must accept the credentials or tokens available in its restored browser context.

Notice something important: the session restoration and authentication mechanisms are separate branches of the process. They converge when the restored tab makes a request to its website.

2. What actually constitutes a website login?

This is the most important part of the chain.

A website typically establishes an authenticated session by issuing one or more credentials, commonly:

  • Session cookies.
  • Persistent authentication cookies.
  • Access tokens.
  • Refresh tokens.
  • Other site-specific authentication information.

These are stored in different places, depending on the website’s implementation.

For Chromium-based browsers, the principal locations include:

Storage Typical contents
Network\Cookies Cookies, including authentication cookies
Local Storage Website-specific persistent key/value data
IndexedDB Structured website data, potentially including authentication-related state
Session Storage Per-tab or per-origin session data
Other site storage Additional website-specific state

The Cookies database is particularly important because Chromium encrypts sensitive cookie values on Windows.

Brave documents this in its Sensitive data storage documentation .

3. The relationship between SNSS and authentication

Here is where I would make a very important distinction.

Suppose you have a Gmail tab open.

The SNSS files remember things such as:

  • Which browser window contained Gmail.
  • Which tab represented Gmail.
  • The navigation history of that tab.
  • Which navigation entry was selected.

But the SNSS files do not ordinarily contain Gmail’s authentication cookie.

That cookie resides in the profile’s cookie storage.

When Brave restores the Gmail tab, the following happens:

  1. Brave reconstructs the tab from its session records.
  2. The browser navigates to Gmail’s URL.
  3. Chromium retrieves applicable cookies from the profile’s cookie database.
  4. Chromium decrypts protected cookie values.
  5. The browser sends the appropriate cookies with the request.
  6. Google’s servers determine whether the session remains authenticated.

This means that the SNSS files can be perfectly healthy while the user is logged out of Gmail.

Equally, the cookies can be perfectly healthy while the SNSS files are damaged and Gmail never gets restored as a tab.

That is a very useful distinction for diagnosing the reports in your community thread.

4. Where Local State enters the authentication chain

Now we return to your original suspicion.

On Windows, Brave stores encryption-key information in:

User Data\Local State

Chromium’s OSCrypt mechanism uses this information to protect sensitive data.

The dependency looks approximately like this:

a) Local State > Encryption-key configuration
b) OSCrypt > Encryption and decryption services
c) Cookie database > Previously stored authentication credentials
d) Website authentication > Browser presents credentials to the website

A failure anywhere along this particular chain can result in lost website authentication.

And this can happen while the SNSS files remain completely intact.

5. What else must be right?

There are some additional dependencies worth including in our A-to-Z model.

Component What must be right
Profile path Brave loads the original profile
Profile preferences Correct settings and profile configuration
Cookies database Database is present and readable
Cookie encryption Previously encrypted values remain decryptable
Local Storage Relevant website data remains available
IndexedDB Relevant databases remain accessible
Session Service Initializes and processes session records
SNSS files Session and tab records are usable
Brave Sync Does not introduce conflicting or unexpected session state
Website server Still recognizes the stored authentication credentials

There are also external factors: website-side session expiration, account security changes, revoked tokens, and authentication policies.

A browser cannot restore a login that the website itself has invalidated.

6. My proposed diagnostic matrix

This is where I think your Community observations could become especially valuable.

If someone reports losing sessions after an update, I would want to distinguish these outcomes:

SNSS Cookies/authentication What it suggests
Intact Intact Investigate website-side behaviour
Intact Inaccessible Investigate Local State / OSCrypt / DPAPI
Damaged Intact Investigate Session Service and session persistence
Damaged Inaccessible Investigate a broader profile or shutdown failure
Intact Deleted Investigate cookie deletion or profile configuration
Missing/replaced Intact Investigate profile selection and session restoration

This would be much more informative than simply recording that an update caused users to be logged out.

7. My principal conclusion

I would now divide the entire investigation into two major persistence systems:

A. Browser-session persistence

  • Local State
  • Profile configuration
  • Session Service
  • Brave’s SNSS implementation
  • Session_*
  • Tabs_*
  • Brave Sync’s session handling

B. Website-authentication persistence

  • Local State encryption configuration
  • OSCrypt
  • Windows DPAPI / App-Bound Encryption
  • Cookies database
  • Local Storage
  • IndexedDB
  • Website-side acceptance of credentials

Local State is particularly interesting because it potentially participates in both the general browser startup environment and the authentication-storage dependency chain, whereas SNSS is primarily concerned with restoring browser sessions.

One qualification: the exact order of initialization is not a simple serial sequence. Chromium initializes several services asynchronously, and the diagram represents logical dependencies rather than a verified execution trace.

Hey Hikane,

Thank you for troubleshooting with me!

So I can only explain my case and situation, and I can talk only from my experience.

(Other situations could be rooted to different issues, so would possibly need different tickets if they are not exactly the same.)

So as explained in the original description, for me -all- sites (no exceptions) forget the login sessions at once, after updates, even my self-hosted ones too.

This way, I would focus on the 2. point in your reply:

“Windows Cookie Encryption (OSCrypt / Local State) Failing on Update”

Topics/Q&A:

“Local State.bad”

I have checked and no such file is present, only “Local State”, with no file extension.

Note for this:
This hiccup otherwise should not happen either, as applications should have a failsafe mechanism for these cases where an update goes wrong and a file corrupts. This should not affect the user experience. No files should be dropped until the update is complete and all files should be preserved and supported by backups until then, so they could be restored either if the update goes wrong, so it can be restarted, or for after the update to keep the user experience smooth.
This is not a user issue in this case, but a flaw in the application design - which needs to be fixed.

Brave Elevation Service

It is currently showing as disabled.
Please advise on what would be the expected state of this process.

Issues during shutdown

This is similarly not a user issue, like the one related to “Local State.bad” and should be fixed with proper design.
This could include a file integrity check upon the browser start and if anything is not right then reverting back to a safe, working snapshot from backup. Then it can resume or attempt the update again.
Most importantly the app should prompt the user about what is actually happening, so it would not make troubleshooting this, a living hell. :sweat_smile:

Thank you again for your help and time, I hope all this helps us getting closer to a solution.