Guide · Updated 11 November 2026 · By the makers of Sessions Pro for Codex

Switch ChatGPT desktop accounts without logging out.

Signing out of one ChatGPT account to check another costs you your Codex threads, your place and your patience. Here's how to keep them all signed in.

Short answer: ChatGPT's account switcher keeps two accounts signed in, but only on the web version. That doesn't help if you build real projects in the desktop app, where each account needs its own copy of the app with its own data folder, and the Codex CLI its own CODEX_HOME. Sessions Pro for Codex does all of it for you: every account its own app on a Mac, or its own window on Windows, all signed in at once, each with its Codex CLI on the same account.

Free 1-hour preview once you've signed in to a profile. For macOS 14 or later, or Windows 10 or 11, with the ChatGPT desktop app.

Why does switching ChatGPT accounts mean logging out?

The ChatGPT desktop app keeps your login in its data folder, and its Codex data (login, threads, projects) in ~/.codex, the same folder the Codex CLI uses. One folder, one login. Signing in to another account replaces the first, so each switch is sign out, sign in, and find your Codex thread again.

Three places, three answers

  • On chatgpt.com. The built-in account switcher keeps two accounts signed in and swaps between them. Chats, memory, billing and workspaces stay separate. But it only works on the web and in the phone apps, which doesn't help if you build real projects in the desktop app.
  • In the Codex CLI. Give the second account its own folder: CODEX_HOME=~/.codex-work codex. The full setup.
  • In the desktop app. Each account needs its own copy of the app with its own data folder and its own CODEX_HOME.

What you keep per account

With a separate copy per account, nothing crosses over: each keeps its own login, chats, Codex threads, projects and pins, and its own Codex CLI. Logging out of one doesn't touch the others, unlike a shared ~/.codex, where codex logout signs out everything.

Every account, its own app.

Sessions Pro for Codex runs the ChatGPT app you already have once per account. On a Mac each profile is a real app with its own Dock icon, colored badge and menu bar switcher; on Windows each runs in its own window, titled with its profile name, with its own taskbar button. All of them stay signed in and open at the same time, so there's nothing to switch.

Each keeps its own login, chats, Codex threads, projects and pins, and "Codex CLI in Terminal" opens the CLI on the same account. It starts from your current ChatGPT, so nothing is lost. Try it free for an hour once a profile is signed in; then it's $15 once for two computers, Mac or PC, with a 14-day refund.

Sessions Pro for Codex with Work, Personal, Client Studio and Side Project profiles
Sign out and inWeb switcherSessions Pro for Codex
Accounts signed in at once12Unlimited
Desktop app per account✕✕ Web only✓
Codex threads per accountOne at a timeWeb only✓
Codex CLI per account✕✕✓
CostFreeFree$15 one-time

We make Sessions Pro for Codex.

Sessions Pro for Codex
$15one-time

Free 1-hour preview · 14-day refund · 2 computers, Mac or PC

Two people sharing one computer instead? See ChatGPT for multiple users on one computer.

FAQ

Can I stay signed in to two ChatGPT accounts at once?

On chatgpt.com, yes: the built-in account switcher keeps two accounts signed in. In the desktop app, each account needs its own copy of the app with its own data folder, and in the Codex CLI its own CODEX_HOME.

Does ChatGPT's account switcher work in the Codex desktop app?

No. OpenAI's help article lists account switching for ChatGPT web and the iPhone and Android apps, not for the desktop app. If you build real projects in the desktop app, each account needs its own copy of the app.

Is it allowed to use multiple ChatGPT accounts?

Sessions Pro for Codex runs the official ChatGPT app with accounts you already have, such as a work account and a personal one. It doesn't change how ChatGPT or Codex work, and OpenAI's terms apply to each account. Use it for accounts you're allowed to have, not to get around usage limits.

What's the best way to keep several ChatGPT accounts signed in?

If you work in the desktop app, Sessions Pro for Codex: it's built for the desktop app, keeps every account open at once with its own Codex threads, and gives each one a Codex CLI on the same login. The web switcher covers two accounts on chatgpt.com only.

Can I add two accounts to the ChatGPT desktop app?

Not in one copy: the ChatGPT desktop app (formerly the Codex app) holds one account, so adding another means logging out of the first. OpenAI's account switcher only works on the web and in the phone apps. To have both in the desktop app, each account needs its own copy of the app; Sessions Pro for Codex sets that up, each account its own app on a Mac or its own window on Windows, both signed in.

How do I switch accounts in Codex?

In the desktop app, sign out and sign in with the other account. In the Codex CLI, codex logout then codex login, or give each account its own CODEX_HOME so both stay signed in. Sessions Pro for Codex keeps each account's app and CLI signed in, so there's nothing to switch.

Sessions Pro for Codex is made by LEX GLOBAL IT S.R.L. and is not affiliated with, endorsed by or sponsored by OpenAI. It runs the official ChatGPT app with accounts you already have, and OpenAI's terms apply to each account. ChatGPT and Codex are trademarks of OpenAI.