ChatGPT Account Switch Not Working

Switched accounts in the UI but ChatGPT still shows the old one — usually cached session, cookie scope, or Workspace lock.

Account switching looks instant in the UI but actually requires the browser to drop the old session cookie on auth.openai.com, pick up a new one, then chatgpt.com has to re-fetch entitlements with the new cookie. If any step fails, the UI shows “switched” but you are still on the old account — avatar updates, chat history doesn’t, and the worst case is your Plus subscription disappears.

Common causes

1. Both accounts use the same SSO method — browser silently picks one

The most common failure. If both accounts use Google SSO and both have signed into Google in the same Chrome profile, accounts.google.com auto-selects the default account without asking.

How to judge: After login, check the email under the top-right avatar. Different from what you intended = SSO chose the wrong identity.

chatgpt.com stores several cookies including __Secure-next-auth.session-token, __cf_bm, _cfuvid. The logout button often clears only the first one, leaving in-memory user ID intact.

How to judge: DevTools → Application → Cookies → chatgpt.com. If __Secure-next-auth.* cookies still exist after logout, the cleanup is incomplete.

3. You’re inside a Team / Enterprise workspace

Personal and Team workspace “Switch” buttons look identical, but Team workspace switching requires admin-enabled SCIM / SSO cross-account policy. Most enterprises leave it disabled — the button looks clickable but does nothing.

How to judge: Top-right avatar → does the dropdown show a workspace name (not “Personal”)? If yes, you’re behind a Team lock.

4. “Stay signed in” on other devices keeps the old session alive

Mobile app, iPad, second browser tab all signed into the old account — each heartbeat tells OpenAI “still active”. The server-side session table stays warm, and the UI occasionally picks up the wrong active session ID when you switch.

How to judge: Settings → Sessions / Devices and count active devices. Over three is high-contention territory.

Before you start

  • Note whether the issue is on web, desktop app, or mobile app; if only one client, look at cookies / cache / version first.
  • Write down the repro: from which URL, which button clicked, what error / modal appears.
  • Before changing password / 2FA / email, keep all currently-logged-in devices signed in to avoid chain-lockout.

Shortest path to fix

Don’t trust the UI’s “Switch account” — it doesn’t clean up enough. Follow these steps.

Step 1: Full sign-out, not “switch account”

Top-right avatar → Log out. After the login page appears, close every chatgpt.com tab. Leaving one tab open preserves in-memory session for the others.

DevTools (F12) → Application → Storage → Cookies, delete by domain:

chatgpt.com        — all __Secure-next-auth.*, __cf_bm, _cfuvid, ph_*
openai.com         — all
auth.openai.com    — all
auth0.openai.com   — all (if present)
accounts.google.com — only _OAUTH_* entries for OpenAI (do NOT remove SID/HSID or you'll log out of Gmail)

Or run this in Console to nuke cookies for the current domain:

document.cookie.split(';').forEach(c => {
  document.cookie = c.replace(/^ +/, '').replace(/=.*/, '=;expires=' + new Date().toUTCString() + ';path=/');
});

Step 3: Fresh tab + manually pick SSO account

Open a new tab to chatgpt.com → click “Continue with Google/Apple/Microsoft” → on the SSO account picker, click “Use another account” instead of tapping the cached avatar.

For email + password: dismiss the browser autofill popup and type the second account’s email manually.

Step 4: Verify you actually switched

Right after login:

  1. Top-right avatar → email matches the intended account
  2. Left sidebar → chat history is the new account’s
  3. Settings → Subscription → Plan matches (Plus / Team / Free)
  4. Any of the three wrong → repeat Step 1 and confirm cookies were truly cleared

Step 5: Special handling for Team / Enterprise

If the target account is in a Team workspace:

GoalHow
Switch between Personal and TeamAvatar dropdown → click the workspace name, not “Switch account”
Leave the Team entirelySettings → Workspace → Leave workspace (admin may have locked this)
Hop between multiple Team workspacesSame dropdown; each workspace gets its own entry

If the target workspace isn’t in the dropdown, you aren’t a member — ask the admin to re-invite your email.

Step 6: Permanent fix — isolate with browser profiles

Chrome / Edge / Arc all support multi-profile:

Chrome → top-right avatar → Add profile → name it "Work ChatGPT" / "Personal ChatGPT"

Each profile has its own cookie jar, extensions, passwords. Switching accounts becomes switching profiles — zero cookie conflict.

Prevention

  • Use separate browser profiles per account — the most robust fix, eliminates cookie collisions entirely.
  • Don’t check “stay signed in” on shared machines; if you do, manually sign out on exit.
  • Bookmark account-specific URLs like chatgpt.com/?workspace=ws_xxx to jump straight to the right workspace.
  • For SSO, disable “auto-select default account” in your Google / Apple / Microsoft account chooser.
  • Periodically prune Settings → Sessions; fewer than three active sessions keeps contention low.

Tags: #ChatGPT #ChatGPT account #Troubleshooting #Debug #Account switch