Repository navigation
Description
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.
Activity
github-actions commentedon May 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
nos1609 commentedon Jun 2, 2026
Same problem as there #20880
looks like definitely an architectural design flaw, starting to annoying already on daily basis manually cleaning up those undesirables residues leftovers
miangino commentedon Jun 12, 2026
When is this going to be applied? It is very annoying to manually have to create the new folders every time you want to create a new project.
Yiivgeny commentedon Jun 15, 2026
My ~/Documents folder is synced with iCloud, so Codex projectless workspaces under ~/Documents/Codex trigger unwanted uploads/downloads. Please add a setting to change this base directory.
IK-R-S commentedon Jun 15, 2026
Do something @kkahadze-oai
dsteinbock commentedon Jun 21, 2026
@etraut-openai Some of the issues you duped to this one have a slightly different scope. This one is about the default folder for project-less workspaces. The others are about the default folder for new project workspaces created via 'Add new project > Start from scratch'.
Arguably one setting could cover both but I wanted to flag since this issue is now missing the 'new project' feature scope.
montanaflynn commentedon Jun 23, 2026
I couldn't believe this wasn't an option but after digging through settings I gave up and found this and the several duplicate issues.
lancy69 commentedon Jul 17, 2026
For now, my solution is to do everything in projects with folders I created manually until the location of
~/Documents/Codexcan be configured. 😂007yylerth commentedon Jul 26, 2026
Adding a current Windows data point and clarifying the new project scope.
Environment
26.721.4979.0Observed behavior
Creating a project with Add new project → Start from scratch still creates it under the Windows Documents directory (for example,
C:\Users\<user>\Documents\...). The user needs every newly generated project to default to another drive, specifically:A global
AGENTS.mdinstruction cannot solve this reliably: the Desktop app chooses and creates the workspace directory before the agent operates in that workspace. Inspection of the current packaged Desktop code also shows the default workspace-root path is derived from Electron'sapp.getPath("documents"), and I could not find a supported persistent setting that overrides it.Requested behavior
Please add a Codex Desktop setting such as Default new-project directory that:
D:\Projects\Codex.C:or Documents; require explicit user consent before using a fallback.This is important on machines where
C:is reserved for the OS or has limited capacity, and where projects must live on a dedicated development drive.vasilevdasfo commentedon Jul 28, 2026
I can reproduce the same underlying projectless-workspace failure on macOS through the ChatGPT/Codex Chrome side panel.
Additional Chrome side-panel reproduction
~/Documents/Codexis a symbolic link to an existing, writable directory.A Codex Desktop task is open and has a valid local working directory.
Open the ChatGPT Chrome extension side panel.
Open New task / Search recent tasks.
The current Desktop task is not available in the picker.
The side panel then attempts to create a separate projectless task and fails with:
Projectless thread directory must be a real directoryExpected
Actual
The current task is omitted from the Chrome picker. The fallback projectless creation route rejects the symlink and cannot create the task.
Environment
The Chrome extension/native browser connection itself works: browser tabs can be discovered and controlled. The failure is in task selection/projectless workspace creation, not native-host connectivity.
This appears to add a Chrome side-panel impact to #24534 and the exact symlink failure described in duplicate #24734.
mukhtharcm commentedon Jul 29, 2026
having the same issue.
is there any idea what to do with existing threads?
lancy69 commentedon Aug 12, 2026
For now, I just archive and then delete sessions over 30 days stale, until all sessions not in projects are deleted.
wherewolf87 commentedon Aug 25, 2026
+1 from Windows Codex Desktop 26.818.8289.0. This request also needs to cover canonical session history, not only generated projectless workspace files:
In an agent-heavy workflow, parent and subagent rollout files can grow by hundreds of gigabytes and exhaust the Windows system drive while another NTFS drive has ample capacity.
CODEX_HOMEmoves the broader state/config surface, and manual NTFS junctions are an unsupported workaround that makes migration, recovery, updates, and missing-drive behavior harder to reason about.Please include:
This also connects to #22593, where forked sessions amplify on-disk history, and #20864, where large session stores hurt Desktop performance.
nos1609 commentedon Aug 26, 2026
You really waited that long so I push the button to cancel my Pro subscription 😁
The today's update v.26.820.60940
mwielondek commentedon Nov 11, 2026
can anyone from oai team comment why this is halted? it ought to be a super fast fix. @etraut-openai @oai-ragona