Codex Desktop on macOS 26.5.1 launches with 100% CPU but creates 0 windows
What version of the Codex App are you using (From “About Codex” dialog)?
Codex Desktop 149.0.7827.115 Codex CLI 0.140.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Apple Silicon Mac (arm64) macOS 26.5.1 (Build 25F80)
What issue are you seeing?
The Codex Desktop app launches but never creates a window.
The process starts successfully and appears in the process list. macOS recognises it as a foreground application, but System Events reports 0 windows.
The main Codex process consumes approximately 100% CPU indefinitely.
The Codex CLI works normally.
What steps can reproduce the bug?
- Install Codex Desktop via Homebrew cask.
- Launch Codex.app.
- No window appears.
- Verify with:
osascript -e 'tell application "System Events" to tell process "Codex" to count windows'
Result: 0
- Verify process usage:
ps -o pid,%cpu,command -p $(pgrep -x Codex)
Result: approximately 100% CPU usage.
What is the expected behavior?
Codex Desktop should open its main application window and become usable.
A visible window should be created when the application launches.
Additional information
Troubleshooting already performed:
- Reinstalled Codex Desktop completely.
- Removed:
~/Library/Application Support/Codex
~/Library/Saved Application State/com.openai.codex.savedState
~/Library/Preferences/com.openai.codex.plist
- Disabled GPU:
open -a Codex --args --disable-gpu
- Fresh profile recreated automatically.
- No crash reports generated.
- System Events continues to report 0 windows.
- Codex CLI 0.140.0 works correctly.
- App process remains running at approximately 100% CPU.
Process sample shows the application sitting in ChromeMain / CFRunLoop rather than crashing.
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I’m seeing what appears to be the same or a closely related Codex Desktop hang on macOS.
Environment:
Regression:
Symptoms:
Reproduction / trigger:
Recovery attempts:
Attached:
Notable from sample:
Codex Sample.txt.rtf
Additional findings after further debugging:
System Eventsreturns zero windows), and no usable UI is ever created.ps -ef | grep "Codex Helper"shows no Codex Helper processes other than thegrepcommand itself.Happy to collect any additional diagnostics or test a development build if it would help isolate the regression.
I performed the requested
~/.codexisolation test.Renaming
~/.codexto~/.codex.bakallows Codex to launch normally.However, my existing agents, sessions, and local state are no longer present in the fresh profile. Before I restore anything, I'd like guidance on whether there is a way to preserve or migrate my existing data while avoiding the startup hang. I still have the original
~/.codex.bakfolder intact and have not modified it.sorry that last was for the support team. will paste there as well.
Has there been any developments regarding this issue? I have the exact same problem