Codex Stuck in Login Loop Windows 11
Open 💬 14 comments Opened Aug 22, 2026 by CrispyOrangeSlices
💡 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)?
Version 26.818.32112
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Hi, as of an update this week, I am no longer able to use the Codex application on Windows. If I attempt to create a new chat or open an existing one, it logs me out. I have attached a video to a google drive link. This happens even after uninstalling+ purging codex directories. It happens with a Native Windows or WSL2 backend.
😢 pls help me.
https://drive.google.com/file/d/11dEaSHdJMzXDDeW-saJn4QvAPZOHEins/view
What steps can reproduce the bug?
Feedback ID: no-active-thread-01a026cd-3636-70c3-9f59-c08885c736c2
What is the expected behavior?
I would like the product to work, friendship is optional I guess
Additional information
_No response_
14 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
hi mr @github-actions , I think this may be a duplicate issue but those issues use lots of big words and I just want codex to be working
Having same problem
I click on an old chat or a new chat and just goes in an endless loop, updated right after a chat finished and then it relaunched and have not been able to do anything in codex since this morning
<img width="1127" height="766" alt="Image" src="https://github.com/user-attachments/assets/bc92a35b-6fca-4a6e-a2d4-a538ac51554b" />
Rolling back lets me use it
chatgpty made it
$ErrorActionPreference = "Stop"
$pkg = Get-AppxPackage -Name OpenAI.Codex
Write-Host "Current version: $($pkg.Version)"
$msix = "$env:USERPROFILE\Downloads\ChatGPT-26.810.7004.0-x64.msix"
Invoke-WebRequest
-Uri "https://persistent.oaistatic.com/codex-app-prod/releases/26.810.7004.0/ChatGPT-x64.msix"
-OutFile $msix
Get-Process ChatGPT,Codex,codex -ErrorAction SilentlyContinue |
Stop-Process -Force
Add-AppxPackage
-Path $msix
-ForceApplicationShutdown `
-ForceUpdateFromAnyVersion
Get-AppxPackage -Name OpenAI.Codex |
Select-Object Name,Version,Status
Start-Process explorer.exe `
"shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App"
same issue here, on windows chatgpt app, stuck in that endless logout loop when trying to view any chat, ive found a workaround for now, connecting my chatgpt app on my phone via remote connection lets me use the app and code, but its ridiculously inefficient and annoying
Feedback ID: no-active-thread-01a0290e-20a1-7770-8c4d-5e4659ecb970
The issue has been resolved using your method; thank you.
related to #39162
same problem
Same problem here
Same issue here, have to use 26.810.7004.0 until it is fixed
I am experiencing the same login/logout loop on Windows.
Environment:
Behavior:
The browser authentication completes successfully and the Codex desktop app briefly shows me as signed in. After approximately a few seconds or after selecting an existing chat ,it automatically returns to the sign-in page. Relaunching the app signs me in automatically, but it logs out again shortly afterward.
Troubleshooting already performed:
%USERPROFILE%\.codex\auth.jsonand completed a fresh loginNone of these steps resolved the issue. This appears to be the same desktop authentication regression, but in my case it occurs with Advanced Account Security disabled.
Solved it temporarily by shifting to the beta build
I can confirm that this issue is still reproducible on Windows 11 with ChatGPT Plus in app version 26.820.71523.
I have experienced the same authentication loop across the following versions:
The browser authentication flow succeeds and the desktop app initially displays my account, local projects, and conversations. However, opening any existing Codex conversation or attempting to create a new one immediately returns the app to the “Continue to sign in” screen.
Windows Repair, system restarts, and all available application updates have not resolved the issue. I have not reset the application or removed the .codex directory because preserving the local session history is critically important.
This has completely blocked access to my local Codex projects and conversation history for almost a week. The affected local conversations are not accessible from ChatGPT web.
Could the maintainers please confirm whether this authentication regression has been triaged and whether there is a target version for the fix? A safe workaround that preserves local sessions would also be greatly appreciated.
I can't believe in the era of the AI , a top AI company couldn't be able to fix this annoying and disrupting issue for almost a week! I lost my access to local Codex conversations due to this problem. please give a higher priority to find a solution.