AI agents · OpenClaw · self-hosting · automation

Quick Answer

GitHub Copilot Data Training: How to Opt Out (2026)

Published:

GitHub Copilot Data Training: How to Opt Out

Starting April 24, 2026, GitHub will use your Copilot interaction data to train AI models — unless you opt out. Here’s everything you need to know.

Last verified: April 2026

What’s Changing

On March 25, 2026, GitHub quietly updated its data usage policy:

  • Before: Copilot Free/Pro/Pro+ users’ interaction data was not used for training
  • After April 24: All interaction data is used for AI model training by default
  • What’s collected: Inputs, outputs, code snippets, and associated context from Copilot sessions

Who’s Affected

PlanTraining by Default?Can Opt Out?
Copilot Free✅ Yes (after Apr 24)✅ Yes
Copilot Pro✅ Yes (after Apr 24)✅ Yes
Copilot Pro+✅ Yes (after Apr 24)✅ Yes
Copilot Business❌ NoN/A
Copilot Enterprise❌ NoN/A

Business and Enterprise plans are excluded — their data is not used for training.

How to Opt Out

  1. Go to github.com/settings/copilot/features
  2. Find the “Allow GitHub to use my data for AI model training” toggle
  3. Turn it off
  4. Save your settings

Do this before April 24, 2026 to prevent data collection from starting.

What Data Is Collected

If you don’t opt out, GitHub collects:

  • Prompts — What you type and the code context sent to Copilot
  • Suggestions — The code completions and chat responses Copilot generates
  • Code snippets — The surrounding code context from your editor
  • Metadata — Language, file type, editor, timestamps

What’s NOT Collected

  • Private repository code at rest (code just sitting in your repo)
  • Code you don’t interact with through Copilot
  • Enterprise/Business plan data

The key distinction: your stored code is safe, but any code that flows through a Copilot session is fair game.

Why This Matters

This is a reversal. GitHub previously promised not to use individual user data for training. The change reflects the broader industry pressure to improve AI models with real-world coding data.

The HN thread about this change had hundreds of comments, with developers expressing concern about proprietary code leaking into models through Copilot sessions — even from private repos.

Alternatives If You’re Concerned

ToolData PolicyPrice
Claude CodeNo training on user data$20/mo (Pro)
CursorPrivacy mode available$20/mo (Pro)
WindsurfNo training on user data$15/mo
Antigravity IDEGoogle’s data policiesFree (preview)

Bottom Line

If you use Copilot Free, Pro, or Pro+, go opt out before April 24. If you’re on Business or Enterprise, you’re unaffected. If this is a dealbreaker, Claude Code and Cursor offer strong alternatives with better data policies.

Last verified: April 2026