Codex Desktop on Windows:
Multiple Accounts Side by Side
Short answer: on Windows, Codex desktop is part of the ChatGPT desktop app, and it keeps one account: the one stored in its Codex home folder (CODEX_HOME, .codex by default). Account switchers made for the Codex CLI give you one account at a time. To run two Codex accounts side by side, each window needs its own Codex home and its own app data folder: by hand, or with DeskProfiles.
A company account for client work, a personal one for side projects; or one account per client, so that each client's repositories and threads stay apart. Codex makes the need sharper than chat does, because Codex works on your files: you want to know exactly which account an agent is running under.
Where Codex keeps your account
Everything Codex knows about you lives in one folder, the Codex home: the sign-in, config.toml, your threads and history, local databases, skills and plugins. By default it is .codex in your user folder. The CODEX_HOME environment variable points Codex to another folder instead.
Since the summer of 2026, Codex desktop on Windows is no longer a separate app: the ChatGPT desktop app from the Microsoft Store brings Chat, Work and Codex together, and one sign-in covers all three. That app keeps a second folder too, for its browser data (the Chat part's session, cookies, caches).
So a second Codex account in the desktop app needs two things: its own Codex home, and its own app data folder. With only the first, the app still opens your existing window. With only the second, the new window shares your Codex account.
Why Codex CLI account switchers don't solve it
The Codex command-line tool has plenty of free account switchers. Most work by swapping the sign-in stored in the Codex home, or by setting CODEX_HOME for the terminal you are in. For the CLI, the second approach is all you need:
$env:CODEX_HOME = "$env:USERPROFILE\codex-client-a"
codex
For the desktop app, neither is enough. Swapping the sign-in gives you one account at a time, in the same window. And the desktop app does not start from your terminal: started from the Start menu, it never sees a variable set in a PowerShell window.
The manual way: a second Codex window
Start a second instance of the desktop app yourself, with both folders. In PowerShell:
$app = (Get-AppxPackage OpenAI.Codex).InstallLocation + "\app\ChatGPT.exe"
$p = "$env:USERPROFILE\Codex-ClientA"
New-Item -ItemType Directory -Force "$p\chromium", "$p\codex-home" | Out-Null
$env:CODEX_HOME = "$p\codex-home"
& $app --user-data-dir="$p\chromium"
A second window opens on the sign-in screen; sign in with the other account, one sign-in at a time. It works, with the limits detailed in our main guide. Two of them matter more for Codex:
- No package identity. Started from its file, the app does not run as an installed Store app. Codex works and runs its commands (we tested it), but its Windows sandbox for agent commands relies on that identity: don't count on commands being contained the same way as in your usual window.
- A missing variable means the wrong account. Forget the
CODEX_HOMEline and the window uses your usual Codex home: your agent then runs under the wrong account, on the wrong history.
With DeskProfiles: one profile per Codex account
DeskProfiles gives each profile its own Codex home and its own app data folder, and starts it the way Windows starts installed apps, so each window keeps the app's package identity and the normal sandbox. Then it checks that the window really uses the profile's Codex home; if it does not, it closes it rather than leave an agent running under the wrong account.
- Separate everything: sign-in, threads, settings, skills, history, per profile.
- Named windows: ChatGPT · Client A in the taskbar and Alt+Tab, so you know which account an agent runs under.
- Attention dot: when a window in the background flashes its taskbar button (an agent waiting for you), its profile gets an orange dot.
- Signed-in status: a profile with no account is flagged, and DeskProfiles guides the sign-in.
- Survives updates: windows closed by a Store update are reopened.
Want the CLI to use a profile's account too? Point CODEX_HOME at that profile's codex-home folder (under .deskprofiles in your user folder) before running codex. DeskProfiles itself manages the desktop app only.
🖥️ Windows app: download it from a PC. The installer only runs on Windows 10 / 11.
A word on usage limits
"Codex multiple accounts" is sometimes a polite way to say "more usage". To be clear: each account keeps its own plan and its own limits, and OpenAI's terms forbid getting around usage limits. DeskProfiles does not pool, share or extend anything. It is made for accounts that are separate for a reason, such as an employer's and your own, or one per client. More in Is it allowed to use several ChatGPT accounts?
Frequently asked questions
Where does Codex store my account on Windows?
In the Codex home folder: .codex in your user folder by default, or the folder named by CODEX_HOME. It holds the sign-in, settings and history.
Do the Codex CLI and the desktop app share an account?
By default, yes: both use the same Codex home. Set CODEX_HOME before starting the CLI to point it at another account's folder.
Can two Codex accounts work on the same project?
Yes, each window can open any folder. Avoid two agents editing the same files at the same moment: give each its own branch or working copy.
Do I need to sign in to Chat separately?
No. In the desktop app, one sign-in covers Chat, Work and Codex for that window.
Two Codex accounts, two windows, no mix-ups
Free to try. $10 once to keep two accounts open, $30 for unlimited accounts and shortcuts.
🖥️ Windows app: download it from a PC.