# Brave logs out of websites and resets Bitwarden session after browser restart

**URL:** <https://community.brave.app/t/brave-logs-out-of-websites-and-resets-bitwarden-session-after-browser-restart/657507>\
**Category:** Desktop Support\
**Tags:** windows-11, bug, browser\
**Created:** [August 29, 2026, 4:17pm UTC](https://community.brave.app/t/brave-logs-out-of-websites-and-resets-bitwarden-session-after-browser-restart/657507 "2026-08-29T16:17:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![retry5598](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/retry5598/32/221195_2.png) [@retry5598](https://community.brave.app/u/retry5598)\
**Post date:** [August 29, 2026, 4:17pm UTC](https://community.brave.app/t/brave-logs-out-of-websites-and-resets-bitwarden-session-after-browser-restart/657507/1 "2026-08-29T16:17:36Z")

</div>

**Description of the issue:**

Brave does not preserve my login sessions after I completely close and reopen the browser.

I first noticed this with OKX, but I am also experiencing similar behavior with the Bitwarden browser extension.

With OKX, the session is lost every time I completely close Brave. I have confirmed that the same OKX account remains logged in when I perform the same test in Chrome on the same computer.

Bitwarden also becomes locked after completely closing and reopening Brave, despite being configured to use “On system lock” as the session timeout.

**How can this issue be reproduced?**

1. Open Brave and log into OKX, including completing 2FA.
2. Close Brave completely.
3. Reopen Brave and open OKX. The account is logged out and requires the username/password and 2FA again.

The same behavior can be observed with Bitwarden:

1. Unlock the Bitwarden extension using the PIN.
2. Close Brave completely.
3. Reopen Brave. Bitwarden is locked again and requires the PIN.

**Expected result:**

OKX should retain its login session after closing and reopening Brave, as it does in Chrome.

Bitwarden should retain its session state according to its configured session timeout rather than being locked simply because Brave was closed.

**Brave Version( check `About Brave`):**

Brave 1.94.117 (Official Build) (64-bit)  
Chromium 152.0.7977.64  
Windows

**Additional Information:**

I tested the OKX behavior using the same computer and account in both browsers:

- **Chrome:** Log into OKX → close Chrome → reopen Chrome → OKX remains logged in.
- **Brave:** Log into OKX → close Brave → reopen Brave → OKX is logged out and requires 2FA again.

This happens consistently when Brave is completely closed.

My Bitwarden settings are:

- Unlock with PIN: Enabled
- Require master password on browser restart: Disabled
- Session timeout: On system lock
- Timeout action: Lock

The issue appears to be specific to Brave. I would like to determine whether Brave is failing to preserve website cookies/session data and/or browser extension state when the browser is completely closed.

---

<div class="post-metadata">

**Author:** ![289wk](https://avatars.discourse-cdn.com/v4/letter/2/439d5e/32.png) [@289wk](https://community.brave.app/u/289wk)\
**Post date:** [August 30, 2026, 11:46am UTC](https://community.brave.app/t/brave-logs-out-of-websites-and-resets-bitwarden-session-after-browser-restart/657507/2 "2026-08-30T11:46:39Z")

</div>

| 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

---

<div class="post-metadata">

**Author:** ![retry5598](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/retry5598/32/221195_2.png) [@retry5598](https://community.brave.app/u/retry5598)\
**Post date:** [August 30, 2026, 1:44pm UTC](https://community.brave.app/t/brave-logs-out-of-websites-and-resets-bitwarden-session-after-browser-restart/657507/3 "2026-08-30T13:44:43Z")

</div>

Thanks for the detailed troubleshooting steps. I performed the initial tests.

I disabled **all Brave extensions** , then logged into OKX, completely closed Brave, and reopened it. **OKX was still logged out** and required the username/password and 2FA again.

I also confirmed:

- **Clear data on exit:** OFF
- **Forget me when I close this site:** OFF
- Deleted the OKX cookies/site data and tested again → **same result**
- All extensions disabled → **same result**

I also compared this directly with Chrome on the same computer and using the same OKX account:

- **Chrome:** Login → completely close Chrome → reopen → OKX remains logged in
- **Brave:** Login → completely close Brave → reopen → OKX is logged out

The Bitwarden extension also becomes locked after completely closing and reopening Brave, despite its session timeout being set to **On system lock**. This may be a separate issue, but it occurs with the same browser restart event.

So far, the issue consistently reproduces with Brave even with extensions disabled and after clearing the OKX site data.

---

<div class="post-metadata">

**Author:** ![289wk](https://avatars.discourse-cdn.com/v4/letter/2/439d5e/32.png) [@289wk](https://community.brave.app/u/289wk)\
**Post date:** [August 30, 2026, 4:52pm UTC](https://community.brave.app/t/brave-logs-out-of-websites-and-resets-bitwarden-session-after-browser-restart/657507/4 "2026-08-30T16:52:39Z")

</div>

Adding a note, here; the website is using Cloudflare, that may be involved as a known frustration for Brave Browser users. I only visited the website, no account/no sign-in … Developer Tools \> Network window including some of the Console log:

 ![Screenshot 2026-08-30 at 12.50.14 PM](https://global.discourse-cdn.com/brave/original/3X/4/f/4fcd30a057e6a57338c833971f4987a6bf88dca9.jpeg)

* * *

You might test: **Use secure DNS** … and selecting the Cloudflare DNS servers (1.1.1.1):

 ![Screenshot 2026-08-30 at 1.38.36 PM](https://global.discourse-cdn.com/brave/original/3X/2/9/2901db05fcbfd2643631b1c212e21ad1be95dadc.png)

* * *

Because, Cloudflare is fussy and expects → most or all of how “you” appear to it and its protected website … **to persist.** A restart of Brave Browser often presents at least a slightly different appearance _to_ websites. Conundrum ( _← usage?_ ) thing.

[Details about Cloudflare](https://community.brave.app/t/prove-you-are-human-on-searching/656184/11)

---

<div class="post-metadata">

**Author:** ![retry5598](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/retry5598/32/221195_2.png) [@retry5598](https://community.brave.app/u/retry5598)\
**Post date:** [August 30, 2026, 8:09pm UTC](https://community.brave.app/t/brave-logs-out-of-websites-and-resets-bitwarden-session-after-browser-restart/657507/5 "2026-08-30T20:09:26Z")

</div>

I also tried using **Secure DNS with Cloudflare (1.1.1.1)** as suggested, but unfortunately the issue remains the same.

After changing the DNS settings, I logged into OKX in Brave, completely closed Brave, and reopened it. OKX was still logged out and required me to enter my credentials and 2FA again.

I also noticed the same restart-related behavior with the **Bitwarden extension**. After unlocking Bitwarden with my PIN, I completely close Brave and reopen it. Bitwarden is locked again and requires my PIN.

My Bitwarden settings are configured with **Session timeout: On system lock** , so I would expect it to lock when I lock Windows, not simply because I close and reopen Brave.

So far I have tested:

- All Brave extensions disabled → **same OKX issue**
- Clear data on exit → **OFF**
- “Forget me when I close this site” → **OFF**
- Deleted OKX cookies/site data → **same issue**
- Tested another Brave profile → **same issue**
- Secure DNS with Cloudflare (1.1.1.1) → **same issue**
- Chrome on the same computer → **OKX session persists after browser restart**
- Bitwarden in Brave → **also loses its unlocked state after browser restart**

At this point, the issue seems consistently reproducible with Brave regardless of extensions, profile, OKX site data, or DNS configuration.

---

<div class="post-metadata">

**Author:** ![289wk](https://avatars.discourse-cdn.com/v4/letter/2/439d5e/32.png) [@289wk](https://community.brave.app/u/289wk)\
**Post date:** [August 30, 2026, 8:25pm UTC](https://community.brave.app/t/brave-logs-out-of-websites-and-resets-bitwarden-session-after-browser-restart/657507/6 "2026-08-30T20:25:22Z")

</div>

@retry5598

Good detective work. **Brave Browser** vs **OKX+Cloudflare** is my best guess; the extension, in fact extensions _in toto_ … is/are not the issue.

@Fanboynz - maybe web compatibility issue. OKX website is using Cloudflare.

cc: @Mattches - OP’s experience: Gets logged out, ie logins to some websites do not persist. OKX is one such website.

---

<div class="post-metadata">

**Author:** ![Mattches](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/mattches/32/25189_2.png) [@Mattches](https://community.brave.app/u/Mattches)\
**Post date:** [August 31, 2026, 7:29pm UTC](https://community.brave.app/t/brave-logs-out-of-websites-and-resets-bitwarden-session-after-browser-restart/657507/7 "2026-08-31T19:29:04Z")

</div>

Yeah great troubleshooting/testing from the both of you – I’m honestly out of suggestions. Going to do some digging on this – in the meantime @retry5598 would you be willing to download the [Beta build](https://brave.com/download-beta) and test the behavior there and see if you get the same results?

Additionally, can you actually _try_ clearing browsing/site data for OKX, then login and perform the test again? Wondering if that site is stuck in some “bad state” and needs to be flushed out.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/brave/original/3X/1/8/182067f3480d1a5e7aea5ae3131b116ca1ef7918.png) [@system](https://community.brave.app/u/system)\
**Post date:** [September 30, 2026, 7:29pm UTC](https://community.brave.app/t/brave-logs-out-of-websites-and-resets-bitwarden-session-after-browser-restart/657507/8 "2026-09-30T19:29:09Z")

</div>

Closed on September 30, 2026, 7:29pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
