Skip to main content
← Back

Privacy and data

Cursor is designed to keep your code private. Here's how data handling works.

What is Privacy Mode?

Privacy Mode ensures your code is never used for training by Cursor or other AI model providers.

Learn more about how your data is used.

For more information about subprocessors and data handling, see the Security page.

How do I enable Privacy Mode?

  1. Open Cursor Settings:
    • Mac: Press CmdCtrl + Shift + J
    • Windows/Linux: Press Ctrl + Shift + J
  2. Click General in the sidebar
  3. Toggle Privacy Mode on

For teams, Privacy Mode is enabled by default for all team members. Admins can enforce it organization-wide via cursor.com/dashboard so members cannot disable it.

What data is sent to AI providers?

When you use AI features, Cursor sends prompts and code context to model providers like OpenAI, Anthropic, and Google. With Privacy Mode enabled, your code is not used for training.

Where is my code processed?

When you use AI features, Cursor sends prompts and code context to model providers like OpenAI, Anthropic, and Google. All sub-processors have data processing agreements.

See the Security page for details.

Is my code used for training?

With Privacy Mode enabled, your code is never used for training.

Privacy Mode is on by default for Enterprise teams. Teams and Enterprise admins can enforce it organization-wide so members cannot disable it.

Does Privacy Mode apply to Grok 4.5?

Yes. Privacy Mode works the same for Grok 4.5 as for every other model. With Privacy Mode enabled, your code is never used for training.

Like other models, Grok 4.5 is hosted by the model provider, a trusted partner, or Cursor. See the list of sub-processors for details.

Does Cursor's DPA cover Grok Bot?

Cursor's Data Processing Agreement governs how Cursor processes personal data under enterprise contracts. For Teams and Enterprise customers, the DPA and privacy and data governance docs describe processor commitments and sub-processor coverage.

Current sub-processors are listed at trust.cursor.com/subprocessors. If you are on an individual plan, the DPA does not apply; your data handling follows the Privacy Policy.

Does Privacy Mode prevent xAI from training on my Grok Bot data?

Privacy Mode in the Cursor editor prevents your code from being used for training by Cursor or model providers. Grok Bot runs on a separate product surface with its own data flows.

For how your data is handled across Cursor products, see How your data is used and the sub-processor list.

Where is Grok Bot computer data stored, how long is it kept, and how do I delete it?

Grok Bot can copy or create files on a cloud computer during agent runs. Storage location, retention period, and deletion options for that data depend on your account type and how the files were created.

To request deletion of files that contain personal data, contact support with your account email, the agent name, and a description of the files. This follows the same data-deletion process as the rest of Cursor; see How your data is used.

Are there exceptions to zero data retention?

ZDR doesn't apply when you use your own API keys. In that case, your data handling follows your provider's privacy policy.

Some models also require data retention with their provider and fall outside Cursor's ZDR agreements. These models are off by default and require admin approval before use. See Models with data retention for details.

What privacy controls are available for enterprise?

Enterprise plans include additional controls beyond Privacy Mode:

  • AI code tracking API and audit logs: Track how AI features are used across your organization
  • Granular admin and model controls: Restrict model access, enforce Privacy Mode org-wide, and manage agent permissions
  • Compliance certifications: SOC 2 Type II and more (see Security and compliance documents)
  • Customer Managed Encryption Keys (CMEK): Encrypt embeddings and Cloud Agent data with your own keys, with full control over key rotation and access

See the full Enterprise feature list on cursor.com/pricing or contact sales for details.

Was this article helpful?