Cursor stores more than your project files. Workspaces can create indexes, extension caches, and crash logs that accumulate silently. The total varies by Cursor version, enabled features, and workload, so measure the folders on your own Mac instead of relying on a generic storage estimate.
Clearing Cursor cache is generally safe when you target regenerable data: indexes, logs, update debris, and stale workspace metadata. Your source code in Git repos is not stored inside these caches. The trade-off is that Cursor will re-index on next launch, which can take several minutes on large monorepos.
Why Cursor cache grows so quickly
Cursor inherits Electron architecture from VS Code and adds AI-specific layers on top. Typical growth sources include:
- Codebase indexes — local databases that map symbols, files, and embeddings for AI context.
- Extension and GPU caches — compiled shaders, language-server artifacts, and downloaded model weights.
- Workspace storage — per-project state, UI layout, and temporary AI session data.
- Logs and crash reports — debug output that rarely gets pruned automatically.
- Update leftovers — folders from previous Cursor versions after in-app updates.
On macOS 14 Sonoma and macOS 15 Sequoia, Apple’s sandboxing still allows these apps to write freely under your user Library. Finder’s “Manage Storage” view will not break Cursor down by subfolder — you need to look directly at Application Support and Caches.
Cursor cache path table (macOS)
| Path | Typical contents | Safe to clear? |
|---|---|---|
~/Library/Application Support/Cursor/Cache | HTTP / asset cache | Yes |
~/Library/Application Support/Cursor/CachedData | Downloaded editor binaries | Yes |
~/Library/Application Support/Cursor/Code Cache | V8 / GPU code cache | Yes |
~/Library/Application Support/Cursor/logs | Debug & crash logs | Yes |
~/Library/Caches/Cursor or com.todesktop.* | System cache bundles | Yes |
~/Library/Application Support/Cursor/User/settings.json | Preferences | Keep unless resetting |
Folder names can vary slightly by Cursor version. Always quit Cursor before deleting, and prefer Trash over permanent erase.
Step-by-step: manual Cursor cache cleanup
- Quit Cursor completely — use Cursor → Quit Cursor (⌘Q), then confirm no Cursor processes remain in Activity Monitor.
- Open ~/Library/Application Support — in Finder press ⌘⇧G, paste
~/Library/Application Support/Cursor, and review folder sizes (View → Show Preview, or use Get Info). - Review high-impact subfolders — use the path table above. Avoid deleting
User/settings.jsonunless you intend to reset preferences. - Check ~/Library/Caches — look for folders named
com.todesktop.*orCursorand remove cache directories (not the entire Library). - Move to Trash, do not Option-delete — Trash-first deletion lets you restore if something feels wrong after relaunch.
- Relaunch Cursor — expect re-indexing. Open a large repo and allow background indexing to finish before judging performance.
FAQ
Is it safe to clear Cursor cache on Mac?
Yes for regenerable indexes, logs, and caches. Your source repos are not inside those folders. Expect a one-time re-index after cleanup.
Where is Cursor cache stored on macOS?
Start with ~/Library/Application Support/Cursor and related entries under ~/Library/Caches. See the path table above.
Do I need Full Disk Access?
Only for third-party scanners that need full ~/Library visibility. Grant FDA to AI Agent Clean in System Settings if scan results look incomplete.
Automated cleanup with AI Agent Clean
Manual hunting across Application Support is error-prone — similar folder names, mixed SQLite files, and symlinks make it easy to remove the wrong database. The AI Agent Clean module scans standard Cursor locations, groups results by data type (indexes vs logs vs update debris), and shows byte totals before you confirm.
- Launch AI Agent Clean and open AI Agent Clean (or run Smart Scan on the Mac cleaner home module).
- Expand the Cursor group and review each category’s size.
- Uncheck categories you want to keep — for example, keep active workspace indexes if you are mid-sprint on a huge repo.
- Click clean — items go to Trash by default, not permanent erase.
Scanning is always free on the Mac App Store build; cleanup after the 7-day trial requires a subscription. See pricing for details.
- Do not delete Cursor while it is running — databases may corrupt mid-write.
- Avoid removing
User/settings unless you want a full reset. - Time Machine or cloud backup is recommended before any bulk cleanup.
- Protected system paths are never targeted by AI Agent Clean.
- If Cursor fails to launch after cleanup, restore the Trash item and contact support via in-app Settings → About → Feedback.
macOS 14+ notes
On macOS 14 and later, Full Disk Access may be required for third-party cleaners to scan all of ~/Library. Grant it in System Settings → Privacy & Security → Full Disk Access → AI Agent Clean. Without it, scan results may be incomplete. Cursor itself does not need FDA for its own caches — only your cleanup tool might.
Related guides and features
- AI Agent Cleaner — product page
- Pricing & trial
- Clear Claude Desktop cache on Mac
- Clear Codex cache and logs
- Start 7-day free trial on the Mac App Store
Preview Cursor cache sizes locally — no cloud upload.
Try free for 7 days