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_

View original on GitHub ↗

14 Comments

github-actions[bot] contributor · 6 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #39925
  • #39850
  • #39829
  • #39803
  • #39718

Powered by Codex Action

CrispyOrangeSlices · 6 days ago

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

TheHarryDoyle · 6 days ago

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" />

TheHarryDoyle · 6 days ago

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"

nousernameavailable1 · 6 days ago

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

Makefishr · 5 days ago
回滚后我就可以使用它了 ,chatgpty 将其设置为 $ErrorActionPreference = "Stop" $pkg = Get-AppxPackage -Name OpenAI.Codex Write-Host "当前版本:$($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 启动进程 explorer.exe ` "shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App"

The issue has been resolved using your method; thank you.

CrispyOrangeSlices · 4 days ago

related to #39162

gutnikgleb · 4 days ago

same problem

Normalitee0os · 3 days ago

Same problem here

benmorris44 · 3 days ago

Same issue here, have to use 26.810.7004.0 until it is fixed

RoyaNaserpour · 2 days ago

I am experiencing the same login/logout loop on Windows.

Environment:

  • Desktop app version: 26.818.61809
  • Windows version/build: Windows 11 , 25H2 (OS build 26200.9168)
  • Subscription: ChatGPT Plus
  • Advanced Account Security: OFF
  • Authentication method: email
  • ChatGPT web: works normally

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:

  • Completely closed all ChatGPT/Codex processes
  • Renamed %USERPROFILE%\.codex\auth.json and completed a fresh login
  • Reset the Windows application
  • Uninstalled and downloaded/reinstalled the application
  • Confirmed Advanced Account Security is disabled

None 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.

Normalitee0os · 2 days ago

Solved it temporarily by shifting to the beta build

Avendim · 1 day ago

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:

  • 26.818.41509
  • 26.818.41705
  • 26.818.61809
  • 26.820.60940
  • 26.820.71523

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.

RoyaNaserpour · 1 hour ago

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.