threads missing at every single start of codex for windows
Resolved 💬 5 comments Opened Mar 18, 2026 by spl1974 Closed Apr 1, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.313.41514
What subscription do you have?
Pro
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
I am using version 26.313.41514 on Windows 11. Since today (March 18, 2026), all threads have disappeared from the sidebar. The issue affects threads in two different projects.
The PC was restarted between March 17 and March 18, but no updates were installed during that time.
I asked Codex to recover the sessions, and they are still present in the directory .codex/session/yyyy/mm/dd. Codex attempted a recovery, but after restarting the program, the restored threads disappeared again.
What steps can reproduce the bug?
Close the app and restart
What is the expected behavior?
all thread should be in the sidebar.
Additional information
I do not use WLS and I tried to make a news install of codex and a new login of my user. I linked my OPenAI Pro user.
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Should be the same as https://github.com/openai/codex/issues/13846 and https://github.com/openai/codex/issues/13713
This has been happening to me too! I was worried I'd lost all the context of the work I'd done, but it seems to still exist? Thanks @spl1974 for mentioning the directory where to look!
do it this and solve ok on windwows or similar for mac/linux
setx CODEX_HOME 'C:\Users\your_user\.codex'
I think you’re missing a \\. It doesn’t work though for chat history. Don’t forget “C:\Users\username\\.codex” or it won’t load at all.