Does OpenAI Codex (ChatGPT personal plans (Plus / Pro, also Free / Go)) train on your code?
OpenAI · ChatGPT personal plans (Plus / Pro, also Free / Go) · checked 2026-11-26
Trains by default on personal plans. Turn off 'Improve the model for everyone' (OpenAI says that covers Codex) and keep Daybreak off for private code.
Trains on code
Yes, unless you opt out
Default
OpenAI says data sharing is enabled by default on personal ChatGPT workspaces (Free, Plus, Pro), and that it may use your content to train its models. For Codex, OpenAI says: 'When you use Codex with a personal ChatGPT account, your ChatGPT model-training preference applies to your Codex conversations.' Exception: during Daybreak (Trusted Access) sessions on a personal account, OpenAI may use your content to improve its models even with that setting off.
How to opt out
ChatGPT > Settings > Data controls > 'Improve the model for everyone' > Off, or select 'Do not train on my content' in OpenAI's Privacy Portal. OpenAI says: 'Either option is sufficient for ChatGPT conversations and Codex tasks. You don't need to do both.' Thumbs up/down can still send the whole conversation for training. Leave Daybreak (OpenAI's Trusted Access for Cyber program; /daybreak toggle in Codex) off for private code: OpenAI says Daybreak sessions on personal accounts may be used to improve its models even when 'Improve the model for everyone' is off.
Retention
Not stated for Codex tasks on the pages checked. Temporary chats in ChatGPT: up to 30 days.
Telemetry
Codex CLI sends anonymous usage/health metrics by default (no PII per OpenAI). OTel log export is off by default.
Disable telemetry
In ~/.codex/config.toml: [analytics] enabled = false (turns off the built-in statsig metrics). If you added your own OTLP metrics exporter, also set otel.metrics_exporter = "none"; analytics = false no longer covers it.
Zero data retention
no · ZDR is an API/business feature.
Offline / local model
yes · Codex CLI: run with --oss and a local provider (oss_provider = "ollama" or "lmstudio").
Self-hostable
partial · CLI runs locally; cloud tasks run on OpenAI.
Score
48/100 · training 12/40 · retention 6/25 · offline 20/20 · telemetry 10/15
Classes: training Yes, unless you opt out · retention Not published · telemetry On, can disable · offline yes
Not published (not found in the vendor's official sources)
prompt_and_code_retention for Codex tasks
Notes
Until Nov 2026 this entry also told readers to turn off a separate 'Include environments' Codex setting, citing OpenAI's data-controls FAQ. OpenAI's current data-controls FAQ, its 'How your data is used to improve model performance' article and its 'Using Codex with your ChatGPT plan' article (all read Nov 26, 2026) no longer mention that setting, and none says whether it still exists. We can't see inside a signed-in Codex settings page, so we haven't removed the question, only the instruction. Not scored.
