Chat windows getting stuck closing

Describe the Bug

Sometimes a chat window will get stuck and will refuse to close until I restart the cursor app entirely. It will have a permanent “loading chat” message with a loading indicator.

Steps to Reproduce

I am not sure exactly how to force the error, but every time it happened I had 3 chat windows open, I had done a request and content in the far right window but either not applied the changes, or had applied and then reverted them. Then left them there for a while to use the other chat windows again, and later tried to either close the chat with the x, or clicked the “new chat” + icon, and both of these have caused the error where the chat just says “loading chat” permanently. In the case where I clicked the “new chat” button on the 3rd chat window, it refuses to close but another pops up so I now have 4 chat windows.

Expected Behavior

The chat window should just close when clicking the x or opening a new chat.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.3
VSCode Version: 1.96.2
Commit: 979ba33804ac150108481c14e0b5cb970bda3260
Date: 2025-06-15T06:35:49.230Z
Node.js: 20.19.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, unfortunately, it seems like the issue might be related to a large chat history in your project. Cursor isn’t the best place to store chats. If you need to keep your chat history, you can export it using this extension:

To resolve the issue itself, you can try renaming your project or moving it to a different location on your disk. This will break the link between the project and the chat history, allowing you to continue working.

1 Like

Hey! Thank you for the help that makes a lot of sense.

You are right my chat history does appear to be rather long. I haven’t intentionally been storing them all it just builds up over time.

I just checked in the settings and there doesn’t appear to be a setting to auto-delete old chats or anything. Is it recommended to just manually scroll through and delete all of the chats individually as I make them to prevent this bug from popping back up?

I think so, but you don’t need to do it daily. From time to time, clear the history. You can also completely delete the chat history by going to the folder that was recently used and just deleting it, but keep in mind that this will also delete notepads if you use them.

Windows: %APPDATA%\Cursor\User\workspaceStorage
macOS: ~/Library/Application Support/Cursor/User/workspaceStorage
Linux: ~/.config/Cursor/User/workspaceStorage

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