CodexUse logo CodexUse Download

Switch Codex accounts without logging out

The native Codex CLI is fine until you need more than one account. Then every account change turns into a relogin ritual. CodexUse fixes that by saving profiles locally so you can choose the active account first, keep projects separate, and stop burning time on the browser loop.

Key takeaway: The clean free-tier win is simple: save each account once, then switch profiles locally instead of logging out and starting over.

Why the native flow gets painful

When multiple profiles actually matter

Fastest path

CLI path
codexuse profile list --compact
codexuse profile add Client-A --login=device
codexuse profile switch Personal
codexuse profile current

Add each account once. After that, switching is a local profile choice, not a full relogin.

Desktop path

  1. Add each account once from the app.
  2. Pick the next profile from the tray, quick switcher, or main window.
  3. Start the next Codex session on that account.

What changes after the switch

Troubleshooting table

Symptom Likely cause Action
Switch looks successful but the next run still behaves like the old account The current shell or turn started before the switch Open a fresh shell or start the next Codex session after switching
A profile says it needs login again That saved auth expired or was revoked Refresh the profile instead of deleting every account
Two profile names do not increase headroom They point at the same OpenAI account Merge or rename them so the profile list matches the real accounts

Prevent it next time

Related

Can I switch Codex accounts without logging out?

Yes. CodexUse stores multiple profiles locally so you can switch the active account without repeating the browser login flow every time.

Why would I need more than one Codex profile?

Separate profiles help keep work, client, and personal usage isolated. They also make it easier to move to another account when one is near a rate limit.

Does the new profile apply to the current terminal instantly?

Usually it is safest to start the next Codex session or open a fresh shell after switching. Do not expect an already-running turn to change accounts mid-flight.

Download CodexUse and stop the relogin loop