vibeblame

Fix “Codex could not start” in the VS Code extension

Fix the Codex could not start error in VS Code. Find the extension versions with the startup patch, reload the window, and test a clean profile.

If the Codex panel says “Codex could not start” or “The extension could not start its user interface,” update the extension and reload the affected VS Code window. OpenAI published a fix on November 11 for the startup issue tracked as #56655. It shipped in 26.1106.51428 stable and 26.51106.51428 pre-release. Some users reported a similar failure after updating, so use the version and the log to narrow down a recurring problem. OpenAI maintainer update in issue #56655

Update the extension in the window that fails

  1. Open Extensions in the affected VS Code window and find the official Codex extension from OpenAI.
  2. Check its installed version and whether it is on the stable or pre-release channel. Install the current update offered for your channel. The November 11 versions above let you identify the release that included the fix.
  3. Save your work. Open the Command Palette, run Developer: Reload Window, and open the Codex sidebar again. If you closed the sidebar, run Codex: Open Codex Sidebar from the Command Palette. Codex IDE extension docs

If you use WSL, SSH, or a development container, inspect the extensions in that same remote window. A version shown in a different local VS Code window tells you about that window’s environment. VS Code remote troubleshooting

If Codex still fails, test a fresh VS Code profile

Use Profiles → New Profile in VS Code and start with an empty profile. Install only the official Codex extension in that profile and try opening it in a local window. You can also create a test profile from a shell with the code command available.

code --profile "Codex startup test" --new-window
What happensWhat you learned
Codex starts in the test profileCompare the original profile’s extensions and relevant settings.
Codex starts locally and fails in WSL or SSHCompare the extension version and logs from the affected remote window.
Codex fails even in the empty local profileRecord the setup and logs before retrying. This gives maintainers a smaller case to investigate.

The profile test keeps your existing VS Code profile available. Switch back to it when you finish. VS Code profiles · VS Code command-line options

What to include in a startup report

Record your OS, VS Code version, Codex extension version and channel, and whether the affected window is local or remote. Open View → Output, look for a Codex channel if one is present, and copy the lines around the failure. Review any logs for private project paths and credentials before sharing. One report in #56655 included a renderer startup timeout after app-server initialization. If your log names a different stage, include that exact line. Original Codex startup report

Frequently asked questions

Is this the same as Reconnecting 5/5?

This guide covers cases where the extension panel fails to start. If the panel opens and an active chat reaches Reconnecting 5/5, use the connection and session checks for that message. Codex Reconnecting 5/5 in VS Code

Do I need to switch to the pre-release extension?

OpenAI shipped the November 11 fix on both channels. You can stay on stable and use the current stable update. OpenAI’s update in issue #56655

“Codex Could Not Start” in VS Code — Fix and Versions