Codex Windows Desktop stuck on loading spinner after startup/login

Environment

  • Surface: Windows
  • Browser or app version: Codex desktop 26.924.1866.0
  • Affected feature and model, if relevant: Codex desktop startup/home screen. Model does not appear relevant.

Bug

After starting the Codex Windows desktop app, the application frequently gets stuck indefinitely on the loading spinner and never reaches the main Codex interface.

The issue is intermittent. At one point the app started working again without any clear change, but after restarting Windows the problem returned.

Expected behavior:
The Codex desktop app should finish loading and open the normal Codex interface after startup/login.

Actual behavior:
The app opens, shows the loading spinner, and remains there indefinitely. I have left it for more than 30 minutes without it recovering.

The issue appears to happen after authentication. Codex Doctor and the desktop logs indicate that the local app-server initializes successfully and authentication/account lookup succeeds, but the desktop UI still remains stuck loading.

Renaming .codex\auth.json temporarily allows the app to reach the login/feedback flow instead of immediately hanging, but after logging in the loading problem can return.

Reproduction

  1. Start the Codex Windows desktop app.
  2. Wait for startup.
  3. The app remains on the loading spinner indefinitely.

The issue is intermittent, but restarting the PC appears to make it return.

Troubleshooting already attempted:

  • Fully closed Codex and killed remaining Codex/OpenAI processes.
  • Restarted Windows.
  • Started Codex multiple times.
  • Renamed the entire .codex folder so Codex created a fresh local profile.
  • Logged in using the fresh profile.
  • After login, the app became stuck on the loading spinner again.
  • Used Windows Settings → Apps → Codex → Advanced options → Reset.
  • Reset did not resolve the issue.
  • Ran codex doctor.
  • Codex Doctor reported no failures.
  • Network connectivity, authentication, WebSocket connection, OpenAI endpoint reachability, and desktop app-server initialization all succeeded.
  • Restored the previous .codex backup.
  • The app unexpectedly started working again afterward without any clear reason.
  • After the next Windows restart, the loading problem returned.
  • Renaming .codex\auth.json to auth_backup.json allows me to reach the login/feedback flow.

Diagnostics

Exact error or screenshot:
There is no visible error message. The Codex desktop window remains on the loading spinner indefinitely.

Relevant diagnostic observations:

  • Windows 10 Pro 64-bit, build 19045
  • Codex desktop version: 26.924.1866.0
  • codex doctor completes successfully with 0 failures
  • WebSocket connection to OpenAI succeeds
  • OpenAI endpoints are reachable
  • Authentication is configured successfully
  • Desktop app-server initializes successfully
  • Desktop logs show account lookup/authentication succeeding before the UI becomes stuck
  • The problem still occurs with a fresh .codex profile and after a Windows app reset
  • The issue is intermittent and may temporarily disappear before returning after a reboot

When it happened (with timezone) and how often:
September 26–27, 2026, CEST (UTC+2).

It has happened repeatedly across multiple app launches and returned after restarting Windows. It has also temporarily resolved itself without an identifiable change.

Is this the same as your issue?

Does the noted workaround help?

Probably, thank you!

I will test and confirm next time it gets stuck.

*edit

Did get stuck again even in the new version. (29/09/26)
Workaround did help.

Stop-Process -Name codex -Force

Hey Barteld, welcome to the community! Yeah, getting stuck on the loading spinner after login like that is frustrating.

Are you still seeing the issue on version 26.924.1866.0?

I can see you’ve already gone through the main reset/profile troubleshooting. One other thing worth checking is that if you have Menlo Security or similar security software running on the machine? If your environment allows it, try launching Codex with it temporarily disabled and let me know if anything changes.

- Moizz

$server = Get-CimInstance Win32_Process -Filter "Name='codex.exe'" |
Where-Object {
$*.CommandLine -like 'app-server*' -and
$.ExecutablePath -like '\*\\AppData\\Local\\OpenAI\\Codex\\bin\*'
} |
Select-Object -First 1

if ($server) {
Stop-Process -Id $server.ProcessId -Force
} else {
Write-Host "notfound ChatGPT app-server。"
}

Hey,

Yes I’m still getting stuck.
Currently working in version 26.928.1915.0.

*Edit: 928.2636 now, same issue.

Only difference is that the loading icon has changed to the OpenAI icon.
The workaround still helps:

Stop-Process -Name codex -Force

I found this type of workaround for myself. Maybe it’ll work for you as well.

:backhand_index_pointing_right: Windows ChatGPT desktop app stuck on endless loading screen — reproducible workaround - PLEASE REPLY IF IT WORKS FOR YOU! :saluting_face:

I’ve been experiencing an issue with the Windows ChatGPT desktop app where the app opens normally but remains indefinitely on the OpenAI loading screen.

The browser version of ChatGPT continues to work normally.

My environment

Package: OpenAI.Codex
Version: 26.928.3736.0
Architecture: x64
Executable: ChatGPT.exe

Windows reports the package as OpenAI.Codex, even though the application is the ChatGPT/Codex desktop client.

There are several recent reports of similar Windows startup-spinner failures involving recent OpenAI.Codex desktop builds. Some reports recover by restarting the child codex.exe app-server, while others show renderer/startup failures. GitHub

Symptoms

The problem is reproducible for me:

  1. Start ChatGPT.
  2. The window opens.
  3. It stays on the OpenAI loading screen indefinitely.
  4. Closing and reopening the app reproduces the same problem.

I tried:

  • Windows Repair
  • Windows Reset
  • fully terminating ChatGPT
  • restarting the app
  • checking/restarting the standalone codex.exe app-server

Those did not resolve it consistently.

What actually fixed it on my machine

While the ChatGPT loading screen was frozen, I inspected the ChatGPT.exe process tree.

I used this command from Git Bash:

powershell.exe -NoProfile -Command 'Get-CimInstance Win32_Process | Where-Object { $_.Name -eq "ChatGPT.exe" } | ForEach-Object { $proc = Get-Process -Id $_.ProcessId -ErrorAction SilentlyContinue; $type = "MAIN"; if ($_.CommandLine -match "--type=([^\s]+)") { $type = $matches[1] }; [PSCustomObject]@{ PID=$_.ProcessId; Parent=$_.ParentProcessId; Type=$type; MemoryMB=[math]::Round($proc.WorkingSet64/1MB,1) } } | Sort-Object MemoryMB -Descending | Format-Table -AutoSize'

During the failed launch, my process tree looked approximately like this:

PID     Parent   Type              MemoryMB
18148   7020     MAIN                 345.2
14156   18148    renderer             304.1
15960   18148    renderer             136.8
8384    18148    gpu-process          113.5
20380   18148    utility               43.2
7992    18148    renderer              32.5
22468   18148    utility               19.7

The largest ChatGPT.exe --type=renderer process was PID 14156.

I terminated only that process:

powershell.exe -NoProfile -Command 'Stop-Process -Id 14156 -Force'

The frozen ChatGPT window immediately reloaded and started working normally.

I then completely closed ChatGPT and reopened it.

The endless loading problem returned.

I repeated the renderer termination test, and ChatGPT recovered again.

Dynamic workaround

Because the PID changes every time ChatGPT starts, I created this command that dynamically finds the highest-memory ChatGPT.exe renderer:

powershell.exe -NoProfile -Command '$r = Get-CimInstance Win32_Process | Where-Object { $_.Name -eq "ChatGPT.exe" -and $_.CommandLine -match "--type=renderer" } | ForEach-Object { $p = Get-Process -Id $_.ProcessId -ErrorAction SilentlyContinue; [PSCustomObject]@{ PID=$_.ProcessId; Memory=$p.WorkingSet64 } } | Sort-Object Memory -Descending | Select-Object -First 1; if ($r) { Write-Host "Restarting ChatGPT renderer PID $($r.PID)..."; Stop-Process -Id $r.PID -Force } else { Write-Host "No ChatGPT renderer found." }'

Usage:

  1. Launch ChatGPT.
  2. If it gets stuck on the loading screen, leave the frozen window open.
  3. Run the command.
  4. Wait a few seconds.
  5. The existing ChatGPT window should reload automatically.

One-click workaround

I also created a Windows .cmd file that performs the same operation automatically.

You can create a file named:

Fix ChatGPT.cmd

with this inside:

@echo off
setlocal
title Fix ChatGPT Startup Spinner

echo ============================================================
echo  Fix ChatGPT - Windows startup spinner workaround
echo ============================================================
echo.
echo This script targets the largest ChatGPT.exe renderer process.
echo It does NOT kill all Codex processes.
echo.
echo Use this only when the ChatGPT desktop window is already open
echo and stuck on the loading screen.
echo.

powershell.exe -NoProfile -ExecutionPolicy Bypass -Command ^
"$renderers = Get-CimInstance Win32_Process | Where-Object { $_.Name -eq 'ChatGPT.exe' -and $_.CommandLine -match '--type=renderer' }; ^
if (-not $renderers) { Write-Host 'No ChatGPT renderer was found. Make sure ChatGPT is open.'; exit 2 }; ^
$r = $renderers | ForEach-Object { $p = Get-Process -Id $_.ProcessId -ErrorAction SilentlyContinue; if ($p) { [PSCustomObject]@{ PID=$_.ProcessId; Memory=$p.WorkingSet64 } } } | Sort-Object Memory -Descending | Select-Object -First 1; ^
if ($r) { Write-Host ('Restarting ChatGPT renderer PID ' + $r.PID + '...'); Stop-Process -Id $r.PID -Force; Start-Sleep -Seconds 3; Write-Host 'Done. The existing ChatGPT window should reload automatically.' } ^
else { Write-Host 'Could not identify a ChatGPT renderer.'; exit 3 }"

echo.
pause

Then:

Open ChatGPT
↓
Wait for the frozen spinner
↓
Leave ChatGPT open
↓
Double-click Fix ChatGPT.cmd
↓
Renderer restarts
↓
ChatGPT loads

Important warning

I would not recommend using:

taskkill /F /IM codex.exe

or killing every Codex process.

The current desktop client can have several Codex-related processes running, and terminating all of them could interrupt active Codex work.

The workaround above targets only a ChatGPT.exe --type=renderer process.

Why this may be useful to OpenAI developers

On this machine, the behavior strongly suggests the problem is not exclusively authentication or the app-server.

Observed behavior:

Normal launch
    ↓
ChatGPT.exe main process starts
    ↓
multiple renderer / utility / GPU processes start
    ↓
UI remains indefinitely on startup spinner
    ↓
highest-memory ChatGPT renderer terminated
    ↓
renderer is recreated
    ↓
existing window finishes loading

That behavior is reproducible after a normal application shutdown and relaunch.

Other recent Windows reports describe closely related startup failures. One issue reports the renderer root never mounting until a child codex.exe is restarted, while another reports an active renderer where the app://-/index.html route never resolves. GitHub

Another report specifically records startup timing out because the expected renderer route-mount event never appears, even though authentication and app-server requests appear healthy. GitHub

My case seems slightly different:

codex.exe app-server restart → did not fix it
ChatGPT.exe renderer restart → immediately fixed it

That may indicate there are at least two related Windows startup failure paths.

Information I recommend collecting from affected users

For anyone else seeing this issue, it would help developers if reports included:

  • Windows version and build from winver
  • ChatGPT/Codex desktop package version
  • package family name
  • whether browser ChatGPT still works
  • whether Windows Repair or Reset helps
  • whether restarting codex.exe helps
  • whether restarting a ChatGPT.exe --type=renderer helps
  • process PID / parent PID / type / memory during the frozen state
  • logs surrounding startup
  • whether the logs ever show renderer routes successfully mounting
  • whether the issue returns after a normal close/relaunch

I would treat this as a workaround rather than a permanent fix, but it has been reliably reproducible on my installation. - Please also note, I’m no developer or anything, just a problem solver. Again, it worked for me EVERY time, so if it does for you, let’s make sure to share it to help others! :head_shaking_vertically:

Hey @Barteld, thanks for confirming this still happens on the newer builds. We’re looking into it in more detail. If we have an update to share, we’ll post it here.

- Moizz