Table of Contents
GitHub Copilot Memory Controls: Manage, Delete, Disable, and Dreaming
If your team uses a paid Copilot plan and wants a straight answer on what Memory does and how to turn parts of it off, here it is. Repository admins can flip Copilot Memory off at the repo level under Repository Settings > Copilot > Memory. Existing facts stay in storage but stop being read. Individual developers get three CLI commands (/memory on, /memory off, /memory show) for per-session control. Deletion requests now route to the right removal path instead of just getting acknowledged in chat. Capture-time prompts label each entry as a user-level preference or a repository-level fact so contributors know what they are agreeing to store.
GitHub shipped those admin controls on May 26, 2026 (see the original changelog entry), then went further on October 28, 2026, taking Memory to general availability on paid plans and adding a new layer called Dreaming, where agents reflect on past sessions and propose their own memory updates (see the GitHub intelligence changelog entry). Keep Memory on if you want Copilot to learn your codebase patterns over time; turn it off at the repo level if your codebase carries IP you do not want indexed or you have compliance requirements to clear first. Dreaming is a separate opt-in decision on top of that, covered below.
We walk through each control below, in the order admins are most likely to need them, then cover what Dreaming adds and whether it's worth turning on.
What Copilot Memory stores and who can see it
Copilot Memory is a persistent context layer. Instead of starting every chat or completion request from zero, Copilot keeps short structured notes about you, your codebase, or both. The point is to skip the warm-up. You say "use our internal logging helper" once, and Copilot remembers next session. As of the October 28, 2026 changelog, memories can be created from the Copilot app, the CLI, VS Code, Copilot cloud agent, Copilot code review, Slack, Teams, or GitHub Mobile, so the note you leave in one client shows up in the next.
There are two kinds of stored memory. The distinction matters more than anything else in this article.
User-level preferences. These are tied to your GitHub account. They follow you across repositories. Example: "I prefer pnpm over npm." Only you see your own user-level preferences. Per GitHub's Copilot Memory docs, user-level preferences default to enabled on Copilot Pro, Pro+, and Max, and default to disabled on Business and Enterprise until an organization or enterprise owner turns the policy on.
Repository-level facts. Unlike a preference, a fact is stored against a specific repo, not your account. They are visible to every contributor on that repo. Example: a contributor asks Copilot to remember "this project uses Postgres 16 with the pgvector extension." That fact is now part of repo context for everyone else who uses Copilot against the same codebase.
That second point is the one most teams miss. A repository-level fact is not a private note. It is a shared resource for the repository's contributor list. If a contributor's chat captures a fact about your auth flow, your data model, or your deployment topology, every other contributor with Copilot access on the repo sees it surfaced when Copilot deems it relevant.
Retention has a number worth knowing, and it changed since this guide first ran. GitHub's current docs put the default expiry at 90 days, not the 28-day window reported here in May. The clock starts when a memory is created and resets only when Copilot upvotes the memory again, not just when it's retrieved. Enterprise and organization owners can tune that window for repository-level facts to anywhere from 7 to 180 days; user-level preferences always use the 90-day default. That bounds how long any single stored fact persists, which is useful context for compliance reviews.
The new repository-level off switch (May 26, 2026)
This is the headline change. Before May 26, a repo admin had no per-repository way to stop Copilot from capturing facts about a codebase. The only options were org-wide policy or accept it. Now there is a toggle.
Where to find it. Repository Settings > Copilot > Memory. The toggle is at the top of the Memory section. Admin role required. Below the toggle, GitHub surfaces the existing repository-level facts so you can see what is currently stored before you change state.
What turns off when you flip the switch. Two things stop. New facts are no longer captured against the repository. Stored facts are no longer read into Copilot's context when contributors interact with the repo. That second part is the one teams care about for compliance: the off switch is a read-and-write block, not just a write block.
What does NOT change automatically. Existing repository-level facts remain in storage. They are not deleted by toggling the switch off. If you want them gone, use the deletion flow described below. The reasoning here is reasonable. An admin might toggle off temporarily during an audit, then toggle back on. Auto-deleting on toggle would destroy team context that took weeks to build up.
Who needs this control today. Three groups. Compliance-bound teams (finance, healthcare, defense subcontractors) where shared context across contributors triggers data-handling review. Teams with sensitive IP in the codebase where any new indexing surface is opted into deliberately. Teams running any kind of Copilot usage audit, since Business and Enterprise have been on usage-based billing since June 1, 2026 and reducing indexing surface makes for a cleaner read on what's driving spend.
Admins of a Copilot Business or Enterprise org now have the most concrete lever the platform has shipped in months. Worth using or not using on purpose, rather than by default.
The /memory CLI commands
The Copilot CLI got three new sub-commands. These are session-level controls for developers, not admin controls. Per the GitHub changelog, state persists across CLI sessions, which means you set it once and it stays set.
# Check current memory state in the Copilot CLI
/memory show
# Disable memory for this and future sessions
/memory off
# Re-enable memory
/memory on
A typical workflow looks like this. You open the Copilot CLI. You run /memory show to confirm current state. If you are working on a sensitive task and want Copilot to behave deterministically without pulling stored context, you run /memory off. The setting persists. When you are done and want adaptive behavior back, run /memory on.
Why this matters even if your repo admin has not flipped the repo-level switch. The CLI command is the developer-side opt-out. Repo-level off is the admin saying "no team memory here." CLI off is the individual developer saying "no memory in my CLI session right now." The two controls compose. A developer can have /memory off set in their CLI while the repo has memory on for other contributors using the IDE plugin.
The persistence behavior is worth flagging. Other CLI commands reset per session. /memory does not. If a developer flips it off six months ago and forgets, every CLI session since has run without memory, which can be surprising during debugging. Run /memory show first if Copilot is acting differently than a colleague's setup.
How to delete specific memories
Before May 26, asking Copilot to "forget that" inside a chat was a coin flip. Sometimes it acted on the request, sometimes it just acknowledged the request without doing anything. The May 26 update routes deletion requests to the correct removal path and down-votes the entry where voting is available. The chat now treats forget-style requests as actions, not as conversation.
For explicit deletion you have two paths.
Deleting user-level preferences. Go to your personal Copilot settings. The Memory page lists every user-level preference Copilot has stored about you. Check the boxes for entries you want removed and confirm. Bulk delete is supported. Because they're your preferences, no other contributor or admin can delete them for you, and you cannot delete another developer's user-level entries from your account.
Deleting repository-level facts. Repository Settings > Copilot > Memory. Same panel that has the off switch. Below the toggle, the panel lists repository-level facts. Admin role required to delete. Bulk delete is supported here too. This is the place to wipe specific facts you do not want shared while keeping memory on for everything else.
Down-voting via chat. The May 26 deletion guidance change means that if a contributor tells Copilot in chat to forget a specific repository-level fact, Copilot now routes them to the deletion page AND records a down-vote on the entry where voting is available. Down-votes do not delete the entry on their own. They signal low value, which factors into Copilot's relevance scoring. For a hard delete, the settings panel is still the source of truth.
What about org-wide. Enterprise admins can disable Copilot Memory at the org level under the Copilot policy controls. That is the nuclear option. It overrides repository-level toggles for every repo in the org. Useful if your security review concludes memory is out of scope for the company entirely. The per-repo toggle exists precisely so that org-wide disable is not the only choice.
Copilot Dreaming: agents that rewrite their own memory
The controls above all assume a human decides what gets stored and what gets deleted. Dreaming, in public preview since the October 28, 2026 changelog, changes that. It's a background process that reviews eligible Copilot sessions and pull request feedback, then acts on what it finds, without you asking it to.
There are three dream types, per GitHub's Copilot Dreaming docs:
- Personal memory curation updates your own user-level memories based on your agent conversations. No files change, only your stored preferences.
- Repository customization manages repository-scoped memories and can propose edits to checked-in files, including
.github/copilot-instructions.md,AGENTS.md,CLAUDE.md,GEMINI.md,.github/instructions/**,.github/agents/**, and.github/skills/**. - Code review customization turns feedback your team already accepted on merged PRs into guidance Copilot code review uses going forward.
The part that matters for review workflows: memories get added, updated, and removed automatically, no per-change approval. Checked-in instruction and skill files are different. Dreaming opens a pull request for those, and nothing changes on disk until someone merges it. That means a Dreaming-authored PR lands in the same review queue as any other PR, including from bots your branch protection rules already treat as external, so treat the diff with the same scrutiny you'd give an unfamiliar contributor.
Enablement is two-key, by design. Dreaming only runs where both sides agree to it. Individual subscribers turn on personal curation in their own Copilot settings and enable repository dreams per repo. In an organization or enterprise, administrators enable dreaming through Copilot policy (enterprise admins can delegate that choice down to organization admins), but a user still has to separately enable personal dreaming in their own settings before their sessions feed it. Repository customization and code review customization also require repository-level Memory to already be on for that repo, which means if you turned Memory off using the switch above, Dreaming has nothing to work from there either. The preview requires access to the GPT-6.1 Sol model allowed by policy and doesn't support GitHub Enterprise Cloud with data residency.
It costs AI credits, every run. GitHub bills Dreaming as part of your existing Copilot usage, not a separate line item, and a run burns credits whether or not it makes a change, including runs against repositories nobody's touched recently. Set spending controls before turning this on for more than a handful of repos; alerts alone don't stop usage, and GitHub's own guidance says a per-user budget may not cover what a repository-level Dreaming run costs.
Where it's worth it. A codebase with instructions that drift (a test command that changed, a skill file nobody updated after a refactor) benefits from something continuously checking that paperwork against reality. A team that already reviews every PR carefully loses little by adding one more category of PR to that queue. Skip it, for now, if your repo already has Memory off for compliance reasons, if PR review bandwidth is the actual bottleneck on your team, or if you'd rather watch how other orgs' Dreaming-authored PRs hold up before paying preview-era credit costs to find out yourself.
Should your team keep Copilot Memory on?
Decision-stage section. Here is the framework.
Keep Memory on if your team works on the same codebase week after week and benefits from Copilot picking up your conventions over time. A team with a stable repo and an internal style guide gets a real productivity win from memory accumulating "we use this logging pattern" or "imports go in this order." If you already pay for GitHub Copilot Business or Enterprise specifically for the team-context features, leaving memory on is the answer most weeks.
Turn Memory off at the repo level if any of the following describe your situation:
- The repo holds proprietary IP or customer data shapes you would rather not have indexed beyond the git contents themselves.
- Your compliance regime (SOC 2 Type II, HIPAA, certain financial services controls) treats shared cross-contributor context as in-scope for review, and you have not yet completed that review for Copilot Memory specifically.
- You are running a Copilot usage audit and want a deterministic baseline, since memory-amplified context retrieval can change how much a given session costs under usage-based billing.
- Your team prefers predictable, non-adaptive Copilot behavior. Some senior engineers find that memory-backed suggestions drift from documented patterns over time. Off gives you the stable baseline.
Use the CLI controls if the answer is per-developer rather than per-repo. A lone contributor working on a sensitive change inside an otherwise memory-on repo runs /memory off in their CLI session and gets the deterministic behavior without forcing a team-wide change.
Usage-based billing for Copilot Business and Enterprise has been live since June 1, 2026 (see our Copilot usage-based billing guide for what counts as metered usage), so memory's effect on request size is now an ongoing cost question, not a one-time audit-window concern. Leave memory on if it's already working for your team. Otherwise, check what it's doing to your metered usage before you layer Dreaming's credit cost on top.
Running the GitHub Copilot App for parallel agent sessions doesn't change any of this: the repo-level off switch covers those agents too, and so does the Dreaming opt-in above.
FAQ
Does disabling repo memory affect user-level preferences? No. The repo-level off switch only blocks repository-level facts from being stored and read for that repository. Your personal Copilot preferences continue to follow you across other repos where memory is on.
Which Copilot plans support Memory? Per GitHub's docs, user-level preferences are on by default for Copilot Pro, Pro+, and Max. Repository-level memory is available on Business and Enterprise, but the policy defaults to off until an org or enterprise owner turns it on. The free plan does not include Memory. If you are evaluating which tier fits your team, the GitHub Copilot plans page is the current reference.
How do I know which entries are user-level vs repository-level?
The May 26 update added explicit scope labels to the capture-time store_memory permission prompt. When Copilot asks to store a new memory, the prompt now labels the entry as either a user-level preference (visible only to you) or a repository-level fact (visible to all contributors on that repo). You see the label before you accept. Existing entries are also labeled in the Memory settings panels for retrospective review.
Can a repo admin delete individual developer memory entries? Repo admins can delete repository-level facts for the repos they administer. They cannot delete a developer's user-level preferences. Those are personal to the account. Org owners on Enterprise plans can disable Memory entirely for the org via policy, which is broader than per-user deletion but does not target specific entries.
What happens to existing memories when I use the off switch? They stay in storage. The toggle stops new captures and stops existing facts from being read into Copilot context. To remove the existing facts, use the bulk-delete flow in the same Memory settings panel. GitHub's current retention rule also still applies: unreferenced facts expire automatically after 90 days by default (configurable to 7 to 180 days for repository facts by an enterprise or organization owner) even if you forget to clean up manually.
Does Copilot Memory affect what counts toward usage-based billing? GitHub has not published a final mapping of memory operations to billed events. Memory-amplified context retrieval may increase request size, which feeds into the per-request cost basis under the usage-based billing that's been in effect for Business and Enterprise since June 1, 2026. Teams running a usage audit may want to flip memory off temporarily for a clean read on metered usage.
What about Copilot agents? Agents read from Memory when it is enabled. The repo-level off switch covers them. Persistent context is what lets an agent pick up a multi-step task across sessions, so disabling memory makes agent behavior more stateless and predictable.
What is Copilot Dreaming, and do I need to turn it on? Dreaming is the opt-in layer, in public preview since October 28, 2026, where agents reflect on past sessions and either update memories directly or open a pull request to change your checked-in instructions and skill files. You don't need it for Memory to work; Memory functions the same with or without Dreaming enabled. Turn it on if stale instructions or drifting skill files are an actual recurring problem for your team, and you have the review bandwidth for the PRs it opens. Skip it if your repo doesn't have Memory on yet, or if credit cost is a bigger concern than instruction drift right now.
What changed
- November 3, 2026: Added coverage of Copilot Dreaming, the opt-in agent-driven memory and instruction-update layer GitHub introduced in public preview on October 28, 2026. Corrected two now-stale claims from the May version: user-level Memory availability now includes the Copilot Max plan alongside Pro and Pro+, and GitHub's documented default retention window is 90 days (configurable 7 to 180 days for repository facts), not the 28 days reported in May. Reframed the June 1 usage-based billing references as a live policy rather than an upcoming change.
- May 28, 2026: Original publication, covering the May 26, 2026 changelog's repository-level Memory off switch,
/memoryCLI commands, and improved deletion routing.