Beginner
How to enable or disable GitHub Copilot on GitHub Copilot
Quick Answer
You can enable or disable GitHub Copilot through your GitHub account settings under the Copilot section. Navigate to Settings > Copilot and toggle the feature on or off as needed.
Prerequisites
- Active GitHub account
- GitHub Copilot subscription
- Access to GitHub web interface
- Administrative permissions for organization (if applicable)
1
Sign in to your GitHub account
Go to github.com and sign in with your GitHub credentials. Make sure you're using the account that has GitHub Copilot access or subscription.
Tip
If you're part of an organization, ensure you're signed in with the correct account that has Copilot permissions.
2
Navigate to your account settings
Click on your profile picture in the top-right corner of the GitHub interface, then select Settings from the dropdown menu.
3
Access GitHub Copilot settings
In the left sidebar of your settings page, look for the Copilot section and click on it. This will open the GitHub Copilot configuration page.
Tip
If you don't see the Copilot option, verify that your account has an active Copilot subscription.
4
Enable or disable GitHub Copilot
On the Copilot settings page, you'll see a toggle switch for GitHub Copilot. Click the toggle to enable (turn on) or disable (turn off) GitHub Copilot for your account.
Tip
When disabled, Copilot will stop providing code suggestions across all your development environments.
5
Configure suggestion filtering (optional)
Below the main toggle, you can find options to Allow or block suggestions matching public code. Toggle this setting based on your preference for code suggestions that match publicly available code.
Tip
Blocking public code matches provides additional privacy but may reduce the variety of suggestions.
6
Set up allowed or blocked content
Scroll down to find Suggestions matching public code section. You can choose to Allow, Block, or Allow with public code references for suggestions that match public repositories.
Tip
The 'Allow with public code references' option will show you the source of matching public code.
7
Save your changes
After making your selections, the changes are automatically saved. You should see a confirmation message indicating that your GitHub Copilot settings have been updated.
Tip
Changes may take a few minutes to propagate to all your development environments.
Troubleshooting
Copilot option not visible in settings
Verify that you have an active GitHub Copilot subscription. Check your Billing settings to confirm your subscription status or contact your organization administrator if using a business account.
Changes not reflecting in IDE
Restart your development environment (VS Code, JetBrains IDE, etc.) and ensure you're signed in with the same GitHub account. You may need to reload the window or restart the IDE completely.
Cannot modify settings in organization account
Organization policies may override individual settings. Contact your organization administrator to modify Copilot settings at the organization level or request appropriate permissions.
Copilot still showing suggestions after disabling
Clear your browser cache and cookies, then sign out and sign back into GitHub. Also restart any active development environments and check if there are any cached authentication tokens that need refreshing.
Ready to get started with GitHub Copilot?
Put this tutorial into practice. Visit GitHub Copilot and follow the steps above.
Visit GitHub Copilot →