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 defaultyes since Apr 24, 2026 (opt-out available)
Can you opt out?yes
How to opt outProfile → Copilot settings → 'Allow GitHub to use my data for AI model training' → Disabled.
Admin can enforce settingsno
How long data is keptunknown
Human reviewunknown
DPA availableno (DPA protection is for Business/Enterprise)
SOC 2unknown
"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 defaultno
Can you opt out?n/a
How to opt outNot 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 settingsyes
How long data is keptIDE chat and code completions: prompts and suggestions not retained; other Copilot access (github.com, mobile, CLI): 28 days; engagement data 2 years
Human reviewunknown
DPA availableyes (GitHub Data Protection Agreement)
SOC 2yes (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)

More on GitHub Copilot

Read past issues of The Safe-to-Use Brief