Short answer · checked 2026-11-18
Does GitHub Copilot train on your data?
Yes, for GitHub Copilot Free, Pro, Pro+ and Max unless you opt out (from April 24, 2026); Copilot Business and Copilot Enterprise customer data is not used to train AI models.
- Trains by default?
- Yes (Free, Pro, Pro+, Max)
- Opt-out
- Yes, in Copilot settings
- Business plans excluded?
- Yes
- Retention
- Not stated publicly
- Zero data retention
- Provider-side ZDR (OpenAI; Anthropic GA features)
Personal and consumer accounts
On individual plans, GitHub may use your interactions, including inputs, outputs, code snippets and context, to train and improve AI models unless you disable the setting.
Business, enterprise and API
Copilot Business and Enterprise data is covered by GitHub’s Data Protection Agreement, which prohibits that use without customer authorization. The personal training setting is not shown on these plans.
How to opt out
- Click your profile picture and open Copilot settings.
- Find “Allow GitHub to use my data for AI model training.”
- Set it to Disabled.
How long is your data kept?
Not stated publicly as a Copilot-specific number on the policy pages we read.
Questions
Does GitHub Copilot train on your data?
Yes, for GitHub Copilot Free, Pro, Pro+ and Max unless you opt out (from April 24, 2026); Copilot Business and Copilot Enterprise customer data is not used to train AI models.
Can you stop GitHub Copilot from using your data for training?
Copilot Free, Pro, Pro+ and Max: Click your profile picture and open Copilot settings. Find “Allow GitHub to use my data for AI model training.” Set it to Disabled.
Does GitHub Copilot train on business or API data?
Copilot Business and Enterprise data is covered by GitHub’s Data Protection Agreement, which prohibits that use without customer authorization. The personal training setting is not shown on these plans.
How long does GitHub Copilot keep your data?
Not stated publicly as a Copilot-specific number on the policy pages we read.
Sources
Compare
Get an email when GitHub Copilot’s data policy changes
Free email alerts when GitHub Copilot changes their data, training or retention terms. No spam. Unsubscribe anytime.
By subscribing you agree to the privacy policy.
