VSCode

How to Disable GitHub Copilot in VS Code

How to Disable GitHub Copilot in VS Code

If you want GitHub Copilot gone from VS Code, the setting you’re looking for is chat.disableAIFeatures set to true. Put it in user or workspace settings. It hides chat and inline suggestions and disables the Copilot extensions along with them, so you don’t have to hunt down each piece separately.

It showed up in version 1.104, released September 11, 2025. The release notes say you can set it per profile or per workspace. If you only want part of Copilot gone, there are narrower settings for inline suggestions and for single languages, plus a temporary pause.

One catch that trips people up. Disabling only the older GitHub Copilot extension can leave ghost text running. VS Code’s November 2025 post described testing a setup that serves all inline suggestions from the Copilot Chat extension, and the VS Code 1.106 release notes say the Chat extension now serves them.

Turning off every Copilot feature in one go

YouTube player

Set the chat.disableAIFeatures setting to true. That one change disables and hides chat and inline suggestions and switches off the Copilot extensions, at user or workspace level.

The setting arrived in VS Code 1.104 (September 11, 2025). Per the release notes, it can be configured per profile or per workspace, and it syncs across your devices unless you’ve turned sync off for it.

Through the Settings editor, it goes like this:

  1. Open Settings with Ctrl+, on Windows and Linux or Cmd+, on macOS.
  2. Search for @id:chat.disableAIFeatures.
  3. Tick the checkbox.
  4. Switch from the User tab to the Workspace tab before ticking if only the current project should be affected.
  5. Check that the Chat view and the Copilot icon in the Status Bar are gone. A Tennessee Tech guide tells students to close and reopen VS Code at this point, which costs nothing.

I’d rather edit the file directly, honestly. Open your settings.json file in VS Code and add one line.

{
"chat.disableAIFeatures": true
}

There’s also a way in through the Chat menu in the title bar. The Learn How to Hide AI Features action there leads to the same setting. According to the release notes, the old Hide AI Features command got renamed and now just reveals this setting in the settings editor.

The default value is false. If you had already hidden AI features before 1.104, VS Code keeps that behavior for you.

This is all or nothing, though. Want to keep chat and lose only the ghost text? Skip to the next section.

Turning off inline suggestions and next edit suggestions only

YouTube player

Untick the inline suggestion options in the Copilot menu in the Status Bar, or set the “*” entry of github.copilot.enable to false. Chat keeps working either way. Next edit suggestions are a separate thing and need their own switch.

Before you change anything, it helps to know where the defaults sit. Out of the box, github.copilot.enable has “*” set to true, while plaintext, markdown and scminput are false. github.copilot.nextEditSuggestions.enabled defaults to true, and next edit suggestions have been on by default in VS Code Stable since version 1.100, released May 8, 2025. (Both come from the VS Code AI settings reference and the VS Code 1.100 release notes.)

Status Bar menu

Click the Copilot menu in the Status Bar and check or uncheck what you need. Unchecking the option that covers every file turns suggestions off everywhere.

The per-language option is different. It follows whatever language the active editor is in, so it only affects that one.

github.copilot.enable in settings

Add an entry for each language you want on or off, or set the wildcard entry to cover all of them.

"github.copilot.enable": {
"*": false
}

Per-language exceptions to this wildcard come in the next section.

Next edit suggestions

Search Settings for github.copilot.nextEditSuggestions.enabled and set it to false, at user or workspace scope.

VS Code’s FAQ lists github.copilot.enable and github.copilot.nextEditSuggestions.enabled as separate settings for inline suggestions and next edit suggestions, respectively, both configurable at workspace or user level. Change one and the other keeps running. This is the part people miss most often.

Maybe the popup bugging you isn’t Copilot’s gray text at all, but regular IntelliSense autocomplete. That has its own controls, and this walkthrough on turning off autocomplete in VS Code covers them.

Disabling Copilot for one language or one project

For a single file type, add a per-language entry to github.copilot.enable. For a single project, save the setting in that workspace’s .vscode/settings.json.

A language-specific entry overrides the wildcard. GitHub’s docs, in their JetBrains instructions, give the example of deactivating Copilot for all languages except Python and YAML. The same pattern works in VS Code’s github.copilot.enable setting.

To block a few languages and keep the rest:

"github.copilot.enable": {
"*": true,
"yaml": false,
"json": false
}

Or the reverse, allowing a few and blocking everything else:

"github.copilot.enable": {
"*": false,
"python": true
}

Keys are VS Code language identifiers such as python, javascript or typescript. Markdown and plaintext are already false in the default value, so adding them changes nothing.

Workspace settings sit on top of user settings. So a project file wins over your personal preference, and how VS Code settings are layered decides which entry applies when both exist.

Commit the .vscode/settings.json file. At workspace level the setting is version-controllable and easy to review in pull requests, and teammates end up in the same state without anyone having to explain it in Slack.

If you want every AI feature off for one project rather than just suggestions, configure chat.disableAIFeatures in the workspace settings instead.

Disabling or uninstalling the Copilot extension

Open Extensions with Ctrl+Shift+X, search for GitHub Copilot and click Disable. VS Code will prompt you to restart the extension host.

You can disable any VS Code extension globally or for the current workspace only. It stays disabled across sessions until you turn it back on.

Which extension to switch off

For years Copilot in VS Code came as two extensions. GitHub Copilot handled ghost text, and GitHub Copilot Chat handled chat and next edit suggestions. Guides written before late 2025 describe that split, which is why older steps tell you to disable a different extension than the one you’d pick today.

A November 2025 VS Code post announced a move to a single extension, Copilot Chat, and said the GitHub Copilot extension would be deprecated by early 2026 and removed from the Marketplace. The same post said the team was testing serving all inline suggestions from Copilot Chat, and the VS Code 1.106 release notes (November 12, 2025) say the Chat extension now serves all inline suggestions.

On a consolidated install, then, disabling only the older GitHub Copilot extension can leave ghost text running. Disable GitHub Copilot Chat. If both names show up in the Extensions view, disable both and stop worrying about which one does what.

The Chat menu in the title bar is controlled by its own setting, chat.commandCenter.enabled. It first appeared as an experimental setting with the September 2024 release (1.94), and the VS Code 1.95 release notes (October 2024) presented it as the way to hide the Chat menu. Disabling the extension does not touch it.

Disable or uninstall

Disabling is reversible with one click and can apply to a single workspace. The Chat menu and other AI surfaces driven by settings stay put unless you change those settings too.

Uninstalling goes further. You open the Manage gear, pick Uninstall, then restart the extension host, and the extension is gone from every workspace. Getting it back means reinstalling.

I’d disable first. Uninstall only makes sense when the extension shouldn’t be on the machine at all, like a shared lab computer.

Pausing Copilot and turning it back on

Snooze is for a short pause. For anything lasting, reverse the specific setting you changed. Keep in mind Snooze stops inline suggestions only, so chat stays available the whole time.

Pausing with Snooze

The Copilot menu in the Status Bar has a Snooze option, and each press adds five minutes. To resume early from the same menu, select Cancel Snooze.

From the Command Palette, run Snooze Inline Suggestions, then Cancel Snooze Inline Suggestions to resume.

VS Code 1.106 (November 12, 2025) also added a gutter icon. Hover over it, select Snooze and pick a duration.

Turning Copilot back on

Undo the broadest change first. While chat.disableAIFeatures is true, the narrower settings below don’t matter, because it switches off the Copilot extensions anyway.

  1. Untick chat.disableAIFeatures in the scope where you set it, User or Workspace.
  2. Choose Enable or Enable (Workspace) on each Copilot extension in the Extensions view.
  3. Delete or edit the github.copilot.enable entries, or tick the Copilot menu boxes in the Status Bar again.
  4. Set github.copilot.nextEditSuggestions.enabled back to true.

VS Code respects an AI-off choice made earlier when it updates to a new version, so an update on its own never switches Copilot back on.

Coming back after a long break? A walkthrough on using GitHub Copilot in VS Code covers the workflow from there.

Picking the right method

Go with the narrowest method that covers what actually bothers you. The table shows what each one stops, what keeps running, and how to undo it.

MethodScopeStill runningUndo
chat.disableAIFeaturesProfile or workspaceNothing, by designUntick the setting
github.copilot.enableAll or per languageChat, next edit suggestionsEdit or delete entries
Next edit suggestions settingUser or workspaceGhost text, chatSet back to true
Extension disableGlobal or workspaceChat menu, setting-driven featuresEnable or Enable (Workspace)
SnoozeMinutesChatCancel Snooze

If ghost text keeps pulling your attention while you type, github.copilot.enable is enough. A course or team rule that bans AI calls for chat.disableAIFeatures in workspace settings. And if you’re about to share your screen in ten minutes, just hit Snooze.

Plenty of guides still lead with the Extensions view, including a GitHub community answer that tells people to click Disable on the Copilot extension. For a full opt-out, the single setting does more in one step, because it hides chat and inline suggestions as well as disabling the extensions.

Why Copilot still runs after you disable it

Usually the change went to the wrong profile or the wrong install. Sometimes an administrator controls the setting and your change never had a chance. Work through these in order.

  • The setting can be configured per profile, so a different profile may still carry the old value.
  • Closing the Chat view doesn’t disable anything. VS Code only remembers not to open it for that workspace.
  • VS Code Insiders is a separate build with its own settings, and a change in Stable doesn’t follow you there.
  • If you dismissed the restart prompt, close and reopen VS Code, or accept the extension host restart from the Extensions view.

Even a correct setting isn’t a guarantee. A VS Code team member wrote in a public Hacker News reply that a new AI feature occasionally ships without respecting chat.disableAIFeatures, and asked users to report such cases on the microsoft/vscode GitHub repository.

When an organization manages the setting

A policy value overrides the VS Code setting at every level: default, user and workspace. Nothing you type in settings.json can beat it.

You can usually spot this quickly. The Settings editor shows next edit suggestions with a note that your organization can manage the setting and that you should contact your administrator to change it.

GitHub’s July 1, 2026 changelog states that managed-settings.json is enforced in VS Code and Copilot CLI whenever a user has a Copilot Business or Copilot Enterprise license issued from the enterprise or one of its organizations. Copilot fetches the configuration each time a user authenticates and refreshes it hourly.

To confirm a policy is behind it, run Developer: Policy Diagnostics. Read the Applied Policy and Non-applied Policy tables, along with the System Information and Account Policy Gate sections. If a policy is applied, the fix sits with whoever manages it (the IT admin for a device policy, or the Copilot administrator for a server-managed value), not with your settings file.

Checking that Copilot is off

The Copilot icon should be gone from the Status Bar, and there shouldn’t be a Chat view in the secondary side bar. Then open a test file in a language you didn’t exempt and type for a bit. No ghost text means you’re done.

Common Questions About Disabling GitHub Copilot in VS Code

Can I toggle Copilot with a keyboard shortcut?

Yes, but you have to assign the key yourself. GitHub’s shortcut list shows the Toggle GitHub Copilot on/off command, github.copilot.toggleCopilot, with no default shortcut.

A November 2025 blog post binds github.copilot.completions.toggle instead, so search the Keyboard Shortcuts editor for “copilot toggle” to see which command your build has.

Does disabling Copilot in VS Code cancel my subscription?

No. Disabling only changes the editor. The plan lives in your GitHub account settings, and cancelling there takes effect at the end of your current billing cycle. You keep your current features until then and get moved to Copilot Free afterward.

If an organization granted you the seat, you can’t modify the plan yourself.

Can I turn Copilot off for a single file?

Not as an individual. One GitHub community thread complains that individuals cannot disable Copilot for certain files, and the per-language entry is the finest control you get.

File-level control does exist, as content exclusion. Repository administrators, organization owners and enterprise owners configure it, and it requires a Copilot Business or Copilot Enterprise plan.

Do I need to disable IntelliCode as well?

No, IntelliCode is separate from Copilot. On November 12, 2025, Microsoft archived the IntelliCode repository and issued a deprecation notice for the VS Code IntelliCode extensions, and their gray-text inline suggestions have been removed.

The notice advises uninstalling them and using built-in language server support, or installing GitHub Copilot instead.

Does signing out of GitHub turn Copilot off?

Not in the sense of hiding it. VS Code’s FAQ says you can keep using the editor without signing in, and it points to the chat.disableAIFeatures setting to hide the built-in AI features.

Signing out and hiding are two separate steps.

How do I stop VS Code telemetry as well?

Set telemetry.telemetryLevel to off. VS Code’s setup docs name this setting for opting out of telemetry, and they also point to the Copilot settings on GitHub for code suggestion and telemetry choices.

Keeping Copilot Off Through Updates and Profile Changes

Turning Copilot off isn’t quite a one-time job. Re-check after you switch profiles or start using a second install like VS Code Insiders, and after version updates, which come often.

How often? GitHub’s changelog lists five versions, 1.127 through 1.131, shipped in July 2026 alone. That’s five chances in one month for a new AI surface to appear.

The cheapest test is typing in a test file and watching for ghost text. If something shows up, confirm the active profile and the build, then read the effective value of chat.disableAIFeatures.

With the single setting there’s one value to watch. Each narrower setting keeps chat available but adds another value to re-check, so if you don’t use chat anyway, the single setting is the easier one to live with.

Position verified November 20, 2026. Re-verify if VS Code moves AI features and components from the Copilot Chat extension into VS Code core, which its November 2025 post named as the next phase.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.