# Codex VS Code extension stuck on infinite loading after frozen chat session

**URL:** <https://community.openai.com/t/codex-vs-code-extension-stuck-on-infinite-loading-after-frozen-chat-session/1367741>\
**Category:** Codex\
**Created:** [November 27, 2025, 2:46pm UTC](https://community.openai.com/t/codex-vs-code-extension-stuck-on-infinite-loading-after-frozen-chat-session/1367741 "2025-11-27T14:46:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![awuiga](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@awuiga](https://community.openai.com/u/awuiga)\
**Post date:** [November 27, 2025, 2:46pm UTC](https://community.openai.com/t/codex-vs-code-extension-stuck-on-infinite-loading-after-frozen-chat-session/1367741/1 "2025-11-27T14:46:06Z")

</div>

Hello. I have a problem with the Codex extension in VS Code. Everything worked normally before, but one day the Codex chat window froze completely. I could still highlight messages, but I could not type anything or interact with the chat. I restarted VS Code, and after that Codex never loaded again. Now the Codex sidebar only shows an infinite loading spinner and nothing appears at all. I completely cleared all caches, deleted all VS Code folders from AppData, removed all OpenAI-related files, logged out from OpenAI everywhere, cleared cookies and site data, reinstalled VS Code from scratch, reinstalled the Codex extension, restarted my computer, and even tried running VS Code with the --disable-gpu option. Nothing helped. Codex still does not load and stays stuck on the spinner every time. Please help me with any solution.

 ![image](https://us1.discourse-cdn.com/openai1/original/4X/d/b/6/db65d2e6d2b2073499772c886d14826b4cde9fda.png)

---

<div class="post-metadata">

**Author:** ![lyndwode](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/lyndwode/32/684511_2.png) [@lyndwode](https://community.openai.com/u/lyndwode)\
**Post date:** [December 2, 2025, 3:43pm UTC](https://community.openai.com/t/codex-vs-code-extension-stuck-on-infinite-loading-after-frozen-chat-session/1367741/2 "2025-12-02T15:43:07Z")

</div>

I have been having the same issue for all updates. I was able to install a much older version `0.4.15` however, which is not Ideal but better than the infinite spinner. Did you manage to resolve this?

---

<div class="post-metadata">

**Author:** ![Syahri\_Rhamadhan](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/syahri_rhamadhan/32/511919_2.png) [@Syahri\_Rhamadhan](https://community.openai.com/u/Syahri_Rhamadhan)\
**Post date:** [December 2, 2025, 4:29pm UTC](https://community.openai.com/t/codex-vs-code-extension-stuck-on-infinite-loading-after-frozen-chat-session/1367741/3 "2025-12-02T16:29:39Z")

</div>

ya igot the same pattren and issue

---

<div class="post-metadata">

**Author:** ![awuiga](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@awuiga](https://community.openai.com/u/awuiga)\
**Post date:** [December 6, 2025, 12:14pm UTC](https://community.openai.com/t/codex-vs-code-extension-stuck-on-infinite-loading-after-frozen-chat-session/1367741/4 "2025-12-06T12:14:59Z")

</div>

Hi everyone! This fix helped me to solve the problem! [Bug report: Codex VS Code extension stuck on loading, never shows login screen - #26 by ai-user2](https://community.openai.com/t/bug-report-codex-vs-code-extension-stuck-on-loading-never-shows-login-screen/1355379/26)

---

<div class="post-metadata">

**Author:** ![eliramh](https://avatars.discourse-cdn.com/v4/letter/e/9e8a1a/32.png) [@eliramh](https://community.openai.com/u/eliramh)\
**Post date:** [December 13, 2025, 1:56pm UTC](https://community.openai.com/t/codex-vs-code-extension-stuck-on-infinite-loading-after-frozen-chat-session/1367741/5 "2025-12-13T13:56:39Z")

</div>

I had the same issue on Ubuntu.  
Problem was with the permissions of the ~/.codex/ folder, specifically, the config file was owned by root for some reason after a reboot.  
Running `sudo chown -R myuser:myuser ~/.codex` solved the issue.

---

<div class="post-metadata">

**Author:** ![estefano.costa](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@estefano.costa](https://community.openai.com/u/estefano.costa)\
**Post date:** [December 30, 2025, 4:00pm UTC](https://community.openai.com/t/codex-vs-code-extension-stuck-on-infinite-loading-after-frozen-chat-session/1367741/6 "2025-12-30T16:00:23Z")

</div>

If you are trying to run Codex on Windows, check de Codex dependencies like Python3 and Microsoft Visual C++

You can use install both dependencies using winget

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/openai1/original/4X/8/7/c/87c2e81543bbb01aa9641aeef8fe14cab5e9590a.png) [@system](https://community.openai.com/u/system)\
**Post date:** [April 24, 2026, 11:07am UTC](https://community.openai.com/t/codex-vs-code-extension-stuck-on-infinite-loading-after-frozen-chat-session/1367741/7 "2026-04-24T11:07:50Z")

</div>

Closed on April 24, 2026, 11:07am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
