codex - 💡(How to fix) Fix Support custom storage path for Codex Desktop Chats/projectless workspaces

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Code Example

C:\Users\<user>\Documents\Codex\<date>\<conversation>

---

C:\Users\<user>\Data\Codex

---

chat_storage_dir = "C:\\Users\\<user>\\Data\\Codex\\Chats"

---

projectless_workspace_dir = "C:\\Users\\<user>\\Data\\Codex\\Workspaces"

---

Default chat/workspace storage location
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

26.519.41501

What subscription do you have?

GPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.26300.0 x64

What issue are you seeing?

Codex Desktop currently appears to save projectless chats/workspaces under a default path such as:

C:\Users\<user>\Documents\Codex\<date>\<conversation>

On my machine, my actual Documents location is not this path. I would like to store Codex chats and generated projectless conversation files under a custom directory, for example:

C:\Users\<user>\Data\Codex

However, I could not find a supported config.toml option for changing the Chats/session storage path.

What steps can reproduce the bug?

Feedback ID: 019e629e-1e2e-7012-adb1-0206075bc057

When starting a conversation without opening a project, Codex Desktop creates/saves conversation workspace files under the default Documents-based Codex directory.

  • This is inconvenient when: The user's Windows Documents folder has been redirected elsewhere.
  • The user wants Codex data stored on another drive or under a dedicated data directory.
  • The user wants all Codex chats, generated files, and projectless workspaces in a predictable custom location.
  • The default path is not suitable for backup, sync, privacy, or disk organization reasons.

What is the expected behavior?

Codex should provide a supported way to configure where local Chats/projectless conversation workspaces are stored.

For example, one of these would work:

chat_storage_dir = "C:\\Users\\<user>\\Data\\Codex\\Chats"

or:

projectless_workspace_dir = "C:\\Users\\<user>\\Data\\Codex\\Workspaces"

or a Codex Desktop settings UI option such as:

Default chat/workspace storage location

Additional information

I understand that CODEX_HOME may move the broader Codex home directory, but that is a global data/config relocation. It would be useful to have a narrower, documented setting specifically for Codex Desktop Chats/projectless workspace storage.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Support custom storage path for Codex Desktop Chats/projectless workspaces