← all articles

VS Code Copilot chat history disappeared: how to find the session that left the sidebar

The Copilot chat where you worked out the fix is gone from the VS Code sidebar.

If your VS Code Copilot chat history disappeared, open the original workspace first. VS Code's docs say the Chat view lists sessions for the current workspace, so a chat from another folder won't show. Next, change the list filter from active sessions to Archived, because a completed or cleared session can sit there. If sessions are still missing, VS Code's docs say to rebuild the index with Reindex Sessions. A deleted session doesn't come back.

Need the answer from a chat you can't find? Download ReMynd

Copilot chat history missing: wrong place, archived or gone?

A better question than "where did VS Code put my chat" is which of three things happened: you're looking in the wrong place, the session was archived, or it was deleted. Only the last one is final.

This page reflects VS Code's docs on finding and resuming a session and session history, as checked on December 4, 2026.

If you searched vscode copilot chat history, this page is about chat sessions. If you lost a file edit, VS Code keeps file versions separately, covered in VS Code local history.

Diagram titled Wrong place, archived or deleted? A missing Copilot chat in VS Code is in one of three states. From VS Code's docs, checked Dec 4, 2026. First card, highlighted, Wrong place: another workspace; sessions list hidden, use Show Sessions; External filter. Second card, Archived: completed sessions may leave the active list; /clear archives the chat; Unarchive to continue. Third card, Deleted: deletion is permanent. Bottom bar: Open the workspace, then check Archived.

Archived and misplaced sessions can come back. Illustration by ReMynd.

The 4 checks VS Code's docs list for a missing session

If the chat view itself is gone, GitHub's Copilot Chat in your IDE doc says to open it from the chat icon in the VS Code title bar. No icon? Right-click the title bar and check that Command Center is selected.

VS Code's docs have a short "find a missing session" list to work through before you start a replacement.

  • Workspace and host. Open the original workspace or connect to the host where the session runs. The Agents window lets you browse across workspaces.
  • State filters. Include Archived or Done sessions, not only active sessions.
  • Other applications. Check the External filter and discovery limits, for supported local sessions from Copilot CLI, the GitHub Copilot app, Claude Code and Codex.
  • Supported interface. Local harness sessions and sessions from the OpenAI Codex extension are editor-only. The docs say the Local harness is deprecated and will be removed in February 2027.

Running /clear in the Chat view archives the current chat and starts a new one, so a chat you "lost" that way is under Archived.

What each case means

Here's how each case plays out, per VS Code's docs and two open GitHub issues.

What happenedCan you get it back?Where it's written
You opened a different folderYesChat view shows sessions for the current workspace
The sessions list is hiddenYesRight-click in an empty chat and select Show Sessions
The session was archived or you ran /clearYesSelect the Archived filter, then Unarchive
The local index is missing sessionsMaybeRebuild with /chronicle:reindex or Reindex Sessions
You moved or renamed the project folderNot in the UI, per the issueOpen issue #305818
You deleted the sessionNo"Deletion is permanent"

The folder-move case comes from a user-filed issue, not Microsoft's docs. Issue #305818 says VS Code stores Copilot Chat sessions under workspaceStorage/<hash>/chatSessions/, where the hash is derived from the workspace folder URI, and that moving or renaming the folder makes prior sessions "permanently inaccessible through the UI". It was opened on March 27, 2026 and is still open. A second open issue, #333468, filed on August 31, 2026 against VS Code 1.135.0, reports a Chat UI with no history while 23 .jsonl session files still existed in %APPDATA%\Code\User\workspaceStorage\<workspace-id>\chatSessions on Windows.

On copilot chat history location, VS Code's session history doc says VS Code keeps a searchable history of your Copilot harness sessions in a local SQLite database. Neither doc names a folder for Chat view sessions, and neither issue is a Microsoft recovery guarantee.

A simple decision path

Stop at the first step that finds the missing chat.

  1. Open the original workspace. Or open the Agents window, which shows sessions across workspaces.
  2. Show the list. If the sessions list isn't visible, right-click in an empty chat and select Show Sessions.
  3. Check Archived. Change the filter from active sessions to Archived (Chat view) or Done (Agents window). Right-click the session and select Unarchive or Restore.
  4. Check External. For a session started in another app, check the External filter.
  5. Search history. Use /chronicle:search <query> to search sessions by keyword, file path, or pull request or issue reference.
  6. Reindex. Run /chronicle:reindex, or Reindex Sessions from the Command Palette, to rebuild the local session index. The docs suggest it after a crash, restoring session files from a backup, manually deleting session directories or turning session sync back on.
  7. Accept the hard case. A deleted session won't come back.

Once you find it, the docs say you can run Chat: Export Chat... from the Command Palette to save the session as a JSON file.

Where ReMynd fits

ReMynd is a desktop app that gives your computer local photographic memory, for you and your AI agents. It locally captures your screen history and keeps the searchable index on your computer.

So if you read a Copilot answer in the window you were working in, starting from install, you can search for a word from it even if the session never comes back to the sidebar.

On a Mac, ReMynd needs screen recording permission, which Apple's guide puts in System Settings under Privacy & Security, Screen & System Audio Recording. ReMynd's pages don't describe a connection to VS Code or Copilot. It works from what was on your screen. The engineers page covers how developers use it.

For other coding tools, see Cursor restore checkpoint and Codex resume session. If the chat was in ChatGPT, see ChatGPT conversation disappeared. For the bigger picture, read AI coding agent memory of your work.

Your screen history is stored on your computer by default, and nothing is uploaded to us unless you turn on optional cloud sync. You can pause capture or block any app or site. That's how ReMynd's own pages put it, as of December 2026.

Honest limits

  • ReMynd can't restore a Copilot chat session, and its pages don't describe reading VS Code's session files.
  • ReMynd captures only what is on your screen, starting from install. It can't recover chats you read before that.
  • Text recognition reads the window you're working in, so a chat in a window behind it won't be searchable by its words.
  • On a Mac, ReMynd needs Apple silicon and macOS 15 or later. ReMynd also runs on Windows 11 (x64 or arm64).

The short version

A missing VS Code Copilot chat is often in another workspace or under Archived. Check those, then search and reindex session history. Deleted sessions are gone. If the thing you lost was the screen itself, find something you saw on your screen is the next read.

Want the answers you read to stay findable? Download ReMynd

common questions

Where is my VS Code Copilot chat history? +
In the sessions list. VS Code's docs say the Chat view shows sessions for the current workspace, grouped by time, and the Agents window shows sessions across workspaces in its left sidebar. If the list isn't visible in the Chat view, right-click in an empty chat and select Show Sessions.
Why did my Copilot chat history disappear? +
Check the workspace first, then the Archived filter. VS Code's docs say the Chat view lists sessions for the current workspace, and a completed session may not appear in the active sessions list, so switch the filter to Archived. Two open GitHub issues also report sessions missing from the UI after a folder move or with the files still on disk.
Where are Copilot chat sessions stored on disk? +
The VS Code docs this page uses don't name a folder for Chat view sessions. The session history doc says VS Code keeps a searchable history of your Copilot harness sessions in a local SQLite database. Two open microsoft/vscode issues, filed by users, report session files under workspaceStorage in a chatSessions folder for each workspace. Microsoft hasn't documented that folder as a recovery path.
Can I rebuild a missing Copilot chat history? +
VS Code's docs say that if sessions are missing or the database becomes corrupted, you can rebuild the index with /chronicle:reindex or the Reindex Sessions command. They don't promise every session comes back.
Can I get back a deleted Copilot chat? +
No. VS Code's docs say deletion is permanent. To hide a session without deleting it, archive it instead.
Can ReMynd bring back a Copilot chat session? +
No. ReMynd's pages don't describe a connection to VS Code or Copilot. If you read the answer in the window you were working in, starting from install, you can search ReMynd for a word from it.