Open GitHub Copilot Chat in Visual Studio

GitHub Copilot Chat opens from the Copilot badge in Visual Studio's upper-right corner. In Visual Studio 2022, choose Open Chat Window; current Visual Studio 2026 instructions use Open Chat.

The View > GitHub Copilot Chat menu is another way in.

Open the editor first by loading a project or choosing Continue without code. If the badge offers installation or sign-in instead, complete that step before trying to send a message.

Open the chat window from the editor

Launch Visual Studio, then create a project, open an existing one, or choose Continue without code on the start window. Look for the Copilot badge in the main editing window; it won't be on the start screen.

Select the GitHub Copilot badge at the upper right. On Visual Studio 2022 version 17.10 or later, choose Open Chat Window. On Visual Studio 2026, choose Open Chat when that is the label shown.

Drawing of Visual Studio 2022 with the GitHub Copilot badge and Open Chat Window highlighted

Alternatively, use View > GitHub Copilot Chat. That opens the separate chat pane, where you can type a question and keep the conversation beside your code. It is different from a code suggestion appearing inside the editor.

Microsoft says to use the badge to open chat in its Copilot setup instructions.

Visual Studio Code has its own extension and controls; these menu paths apply to Visual Studio on Windows.

Install the component if the badge offers installation

Select Install Copilot if the badge offers it, then follow the installer prompts. The badge can be visible before Copilot is installed, so finish the installation before trying to chat.

For the installer route, launch Visual Studio Installer, find the exact Visual Studio installation you use, and select Modify. This matters if a stable release and a Preview release are both installed.

Select a workload, such as .NET desktop development, and check GitHub Copilot in its Optional components list. Choose Modify to install it, then reopen the Visual Studio installation you use when it finishes.

Drawing of Visual Studio Installer with GitHub Copilot selected under Optional components

Visual Studio 2022 version 17.10 introduced the unified Copilot experience. The installation instructions for version 17.9 and earlier use Manage Extensions for extension updates instead.

Don't apply an old extension-update route to a newer integrated installation.

If an older installation lacks the controls described here, check Help > About Microsoft Visual Studio for its version and update through Visual Studio Installer.

Include your version number in a help request about a missing command.

Sign in with the GitHub account that has access

The chat pane can open before you've signed in. Enter a prompt or select the sign-in option offered in the pane. Complete the browser sign-in, then return to Visual Studio.

Use the GitHub account with Copilot access. Being signed into Visual Studio with a Microsoft work or school account doesn't by itself mean that GitHub Copilot is ready for that account.

If you don't have a subscription, the setup can offer Sign up for Copilot Free. Follow the plan offered for your account; opening the pane doesn't require you to buy a plan before checking the available access.

With multiple GitHub accounts added, make the account that has Copilot access the active one. Otherwise the editor can be signed in successfully while Copilot stays inactive for the account you've selected.

A working setup lets you send a prompt and receive a response. If the badge stays inactive after sign-in, read its dropdown message rather than repeating the installation.

Send a small question before asking for file edits

Open a code file and type a focused question into the chat pane's Ask Copilot box. For example, have it explain what a selected method returns and how that result is calculated. Press Enter or select Send.

Include the relevant file or selection through the context controls when the question depends on it.

For a question about your project, Copilot needs the relevant code. Opening the pane alone doesn't tell it which file you want help with.

I'd start with an explanation request. It checks that chat responds while keeping the first exchange easy to review. Once that works, ask for the particular change you want rather than a broad rewrite of the project.

Review suggested code before applying it. The available controls differ by version, but the chat pane provides ways to copy a code block or preview proposed changes. Read the changes and run the project's normal build or tests afterward.

For a separate conversation embedded beside selected code, right-click the editor and look for Ask Copilot or Chat, depending on the Visual Studio version.

That opens a separate inline chat beside your code. You don't need to use it to open the main chat pane.

Restore a hidden badge or refresh expired credentials

In Visual Studio 2022, open Tools > Options > Environment > General. In the Visual Experience group, clear Hide Copilot menu badge if selected, then choose OK.

Current Visual Studio versions can place the comparable option under Tools > Options > All Settings > Environment > Visual Experience, labeled Hide Copilot Badge. Use the path matching your installed version.

If the badge is visible but Copilot isn't active, check your sign-in next. If it asks for refreshed credentials, select Refresh Your GitHub Credentials and sign in again. This refreshes your sign-in without reinstalling Copilot.

If refreshing isn't offered for the account, remove and re-add that GitHub account through Visual Studio's account controls.

If an administrator has disabled Copilot, ask them to check the Copilot policy and confirm your username is allowed to use Copilot.

Match an unreachable message to the actual failure

The badge can report Copilot is temporarily unreachable when the service is offline or the editor can't reach it. Check your connection and the GitHub service status through the badge's troubleshooting guidance.

If the status page lists an incident, wait for that outage to end before retrying chat. If it fails only on a managed network, ask the administrator to check Copilot's connection requirements before reinstalling it.

For VS Code displaying Failed to get Copilot token: ParseFailed, follow that error's authentication and service checks in VS Code.

That error needs its own repair; opening the pane won't fix it.

For a different editor where you intentionally disabled Copilot in VS Code, restore that editor's extension settings separately.

Enabling a Visual Studio component doesn't change a VS Code profile.

If chat still won't open, contact GitHub Support for Copilot Chat. Include the Visual Studio version, whether the component is installed, account type, exact badge message, and whether View > GitHub Copilot Chat opens a pane at all.

The Short Version

Open a project or continue without code, then select the Copilot badge and its chat command. Install the component or sign into the correct GitHub account when prompted.

A hidden badge, expired credentials, and an unreachable service each need their own check.

Checked December 4, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment