CCT / Guides

How to switch between Claude Code accounts on Windows

Short answer: Claude Code keeps one login per Windows user, so switching normally means /logout, /login and a trip to the browser. With CCT you save each paid login once, then switch from the taskbar in three clicks: right-click the strip → Claude account → pick one. Claude Code uses the new account on its next request, without a restart.

Why switching is a pain

Your options on Windows

ApproachHow it worksTrade-off
Log out and in/logout, then /login with the other accountBuilt in, but slow, and easy to pick the wrong account
One config folder per accountSet CLAUDE_CONFIG_DIR to a different folder in each terminalBoth accounts at once, but settings, history and MCP servers are split per folder
Command-line swappersScripts that store logins and swap them on commandFast for terminal users; check how they store tokens and whether they switch on their own
CCTSave each login once, switch from the taskbarThree clicks, shows which account is active and its usage; Claude Code CLI only, paid plans only

Switch with CCT, step by step

  1. Install CCT and log in to Claude Code with your first account.
  2. Right-click the strip → Claude account → Save current account.
  3. In Claude Code, run /login with your second account, then Save current account again.
  4. From now on, right-click → Claude account → pick the account you want. Done.

Give each account a short label in Settings, such as P for personal and W for work. The label sits before the Claude gauges, so after a switch you see at a glance which account you are on. The menu lists every saved account with its email, plan and the usage last seen on it, and marks the active one.

The CCT strip on the Windows 11 taskbar: a Work label in Claude orange before the Claude gauges and a Me label in Codex blue before the Codex gauges

Labels at work: Work before the Claude gauges, Me before the Codex ones.

How it is kept safe

The rules CCT follows

CCT is for people who legitimately hold more than one subscription, such as a personal and a work plan. It is a convenience tool, not a way around limits:

Questions

Do I need to restart Claude Code after switching?

No. Claude Code picks up the new login on its next request.

Does it switch the Claude desktop app too?

No. Switching changes the login of the claude CLI (~/.claude/.credentials.json). The Claude desktop app keeps its own login.

Does it work with CLAUDE_CONFIG_DIR?

Not yet. Account switching is not supported when CLAUDE_CONFIG_DIR is set.

Can I switch Codex accounts?

Not yet. A Codex account switcher with the same rules is on the roadmap. CCT already shows Codex usage for the current login.

Is this allowed by Anthropic?

CCT only does what you would do by hand with /logout and /login, for accounts that are yours, and only when you click. Make sure your use follows Anthropic's terms; sharing logins or reselling access does not.