Last checked:
Scorecard › GitHub Copilot
Does GitHub Copilot train on my data?
The short answer depends on your plan. Here's each GitHub Copilot plan, graded from GitHub (Microsoft)'s own policy pages.
C GitHub Copilot Free / Pro / Pro+
Why this grade: Since April 24, 2026, prompts, code snippets and context are used for training unless you opt out.
| Trains on your data by default | yes since Apr 24, 2026 (opt-out available) |
|---|---|
| Can you opt out? | yes |
| How to opt out | Profile → Copilot settings → 'Allow GitHub to use my data for AI model training' → Disabled. |
| Admin can enforce settings | no |
| How long data is kept | unknown |
| Human review | unknown |
| DPA available | no (DPA protection is for Business/Enterprise) |
| SOC 2 | unknown |
"if you have a Copilot Free, Copilot Pro, Copilot Pro+, or Copilot Max plan, GitHub may use your interactions ... to train and improve AI models."
Source: https://docs.github.com/copilot/how-tos/manage-your-account/managing-copilot-policies-as-an-individual-subscriber · checked 2026-10-16
A GitHub Copilot Business / Enterprise
Why this grade: No training on Business/Enterprise data, admin policies, GitHub's DPA, and Copilot Business/Enterprise are in GitHub's SOC 2 Type II report. Editor prompts aren't retained; other surfaces keep them 28 days.
| Trains on your data by default | no |
|---|---|
| Can you opt out? | n/a |
| How to opt out | Not needed: Business/Enterprise data isn't used for training. Admins manage Copilot policies under the enterprise AI controls tab or organization settings. |
| Admin can enforce settings | yes |
| How long data is kept | IDE chat and code completions: prompts and suggestions not retained; other Copilot access (github.com, mobile, CLI): 28 days; engagement data 2 years |
| Human review | unknown |
| DPA available | yes (GitHub Data Protection Agreement) |
| SOC 2 | yes (SOC 2 Type II; Copilot Business and Enterprise in scope) |
"GitHub does not use Copilot Business or Copilot Enterprise customer data to train AI models."
Source: https://docs.github.com/copilot/how-tos/manage-your-account/managing-copilot-policies-as-an-individual-subscriber · checked 2026-10-17
More sources: How long data is kept (checked 2026-10-17) · How to opt out (checked 2026-10-17) · SOC 2 (checked 2026-10-17)