Codex - Previous chat disappears in VS Code after restart
OpenAI Developer Community
May 18, 2026
Hi Codex community,
I’m facing an issue where the chat I was working in disappears after restarting VS Code. This has happened several times.
Because of this, I have to start a new chat every time and explain the code/context again from the beginning. It ends up consuming around 80% of my usage just to rebuild the previous discussion.
Has anyone else experienced this issue? Is there a way to restore previous chats after VS Code restarts, or prevent them from disappearing?
Thanks.
Discussion in the ATmosphere