Cursor Privacy Mode Explained: 4 Limits to Know Before Turning It On
Cursor's Privacy Mode is a data-retention switch. According to Cursor's official privacy documentation, when it is on, your code is not stored by Cursor and is not used to train models, and Cursor has a zero-retention arrangement with its model providers. It does not mean your code stays on your computer. The AI has to read your code to answer, so the request content is still sent to Cursor's servers and then forwarded to the model provider.
Below, following the official documentation, we separate what Cursor Privacy Mode covers from what it doesn't. Terms change over time, so for any detail below, the Privacy / Security pages on Cursor's website are the authority.
What does Privacy Mode actually cover?
Think of it as a constraint on what happens afterward, not on whether data is sent:
- On: the request content is used to produce that one answer, and afterward Cursor does not retain it or use it for training. Model providers are likewise required not to retain it or train on it.
- Off: Cursor may collect usage data to improve the product and train models. The exact scope of collection is defined in the official documentation.
So Privacy Mode answers "after my code is sent, will it be saved and used for training?", not "will it be sent?"
4 commonly misunderstood limits
1. Your code is still sent
Completions, chat, and an Agent editing files all need to send relevant file contents, the snippets you selected, and other context to a server for processing. If you want code to never leave your machine, the only way is to not use cloud models, which is a different setup.
2. Codebase indexing is a separate feature
Cursor can index a project so chat can search the whole repository. The official documentation describes data handling for indexing separately. If you don't want certain directories indexed, exclude them with an ignore file; see Cursor's official ignore documentation for the file name and syntax.
3. Teams are sometimes forced into it
On team or enterprise plans, an admin can require Privacy Mode for everyone, and turning it off on your own account may not take effect. Whether you are enforced shows up in the settings page prompts and in what your admin tells you.
4. Don't rely on the switch to protect secrets
Privacy Mode is no substitute for your own rules. Keep .env files, private keys, and credential files out of any context the AI can read, and don't paste them into chat.
Where does your data go when you use your own API endpoint?
Many people enter their own API key in settings, or change the Base URL to connect a third-party endpoint. Two things need to be kept apart here:
- For the model call itself, the request goes to the endpoint you entered. Retention and training rules for that part are set by the endpoint provider, and Privacy Mode doesn't govern them.
- Whether the request still passes through Cursor's own servers first, and which features (completions and indexing, for example) don't use your endpoint at all, depends on the official documentation for your current version. Don't assume that entering your own address means traffic bypasses Cursor entirely.
This also means that with a custom endpoint you need to read two sets of rules: Cursor's and the endpoint provider's. For which features the Base URL applies to, and what to check when it has no effect, see Cursor custom API setup: where the Base URL applies and what to check when it doesn't work.
Checklist before and after turning it on
You can walk through this once:
- Open Cursor's settings and find the privacy-related option (menu names change between versions, so go by what you see) and confirm its current state.
- If you are on a team account, ask your admin whether it is enforced for everyone.
- Check the project root for
.envand key files, and confirm they are excluded by an ignore file. - If you plan to use your own endpoint, open that provider's data policy page and check whether it retains requests and whether it uses them for training.
- For highly sensitive repositories, ask your company's compliance or security lead before deciding whether cloud AI tools are allowed.
Beyond this, beginners should also skim What to set up on your first day with Cursor. If you are still deciding whether to subscribe, see Is Cursor Pro worth it? Judge by your coding habits.
Connection failed or slow after enabling Privacy Mode?
Privacy Mode itself is usually not the cause of a connection failure. When you see "connection failed", check your network and proxy first; the steps are in Cursor connection failed: five steps to check your network and proxy. You can also check /en/down/cursor to see whether the service itself is having problems.
Want to use your own endpoint without tying yourself to an overseas account?
For many newcomers in China, the more practical problem is that a subscription needs an overseas credit card, or that they want to connect Cursor, Claude Code, and similar tools in one place. AGI Plan is a multi-provider LLM gateway sold as a monthly subscription, paid in RMB, with no overseas credit card required. Tools like Claude Code and Codex only need one endpoint address changed, and tools such as Cursor that accept an "endpoint address + API key" can connect too. One subscription lets you switch between several capability groups. Some models are marked as available only outside mainland China; check https://agiplan.dev/models for the current list. AGI Plan is not an officially authorized channel. Request bodies are not written to disk or used for training by default, but check the exact terms on its website yourself. AGI Plan is a commercial partner of cdnping.
Setup takes three steps: sign up with an emailed verification code, pick a plan and create a key, and change one setting. Details are at https://agiplan.dev/startup. For the tool-side configuration approach, see Custom API endpoints for Claude Code, Codex, and OpenCode.
Next steps
Open Cursor and confirm the state of Privacy Mode, then check whether your ignore file covers any sensitive files. If you will use your own endpoint, read that provider's data policy. For the latest official wording, go by the privacy and security pages on Cursor's website.