How to Recover Chat History from Cursor Files?

Hi team,
I accidentally deleted the entire project folder while Cursor was still open. Interestingly, all files disappeared except for the chat, which remained visible. I used the chat’s checkpoint feature to recover the code, and most file timelines were successfully restored.

However, after closing and reopening Cursor, the recovered files and timelines were still there—but the chat history itself was completely blank. I believe the chat data may still exist somewhere locally on my computer. Is there any way to recover the original chat history?

Hey, this might have happened because the project name changed, or you moved it to a different location on your disk, all of which breaks the connection with the chat history. You can also try to restore the chat history using this extension:

Just revert the Git commit?

Looks like this is my only option now. The version I backed up with Git is from a month ago, so thankfully the checkpoint feature helped me recover most of the lost work. I’m just curious—when the entire project folder was deleted, the chat was still functioning normally. I could view old conversations and even switch between multiple threads without any issues.
But after restarting Cursor, the chat became completely blank with no conversations at all. I suspect the chat history might still be stored somewhere in the .cursor folder on my computer.

Good morning! I’m down the rabbit hole trying to restore my chat history for ~5 months of work in Cursor across different projects after it randomly decided to stop loading for me following an auto-log out after restart this morning (:melting_face:): Can't load past chat after updating to a newer version - #6 by wearywas

I’ve tried installing that extension but it seems like it would only be able to restore new chat sessions moving forward from what I can tell – is there something I’m missing for how it would restore past chats that are no longer loading? To recap, I can see the titles of the Past chats in the chat panel history, but clicking them (as I normally would to load any prior chat) just spins the icon and loads a blank state after – but I seem to be able to load chat history for new chats since the issue started, which… does not bode well for this being a random history corruption/wipe that’s unrecoverable (:skull:).

Why would you setup Git if it’s only to use it once a month? That completely defeats the purpose

DITTO

To be clear (since DITTO caused an error) I am in almost the identical position right this second.

1 Like