How to clear Cursor cache on Mac

By AI Agent Clean Team · Published 2026-07-24 · Last updated 2026-07-26 · macOS 14+

Cursor builds large codebase indexes and embedding caches under ~/Library. This guide walks through safe manual cleanup on macOS 14+ and how AI Agent Clean groups Cursor data by type so you preview sizes before anything moves to Trash.

Try free for 7 days

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)

PathTypical contentsSafe to clear?
~/Library/Application Support/Cursor/CacheHTTP / asset cacheYes
~/Library/Application Support/Cursor/CachedDataDownloaded editor binariesYes
~/Library/Application Support/Cursor/Code CacheV8 / GPU code cacheYes
~/Library/Application Support/Cursor/logsDebug & crash logsYes
~/Library/Caches/Cursor or com.todesktop.*System cache bundlesYes
~/Library/Application Support/Cursor/User/settings.jsonPreferencesKeep 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

  1. Quit Cursor completely — use Cursor → Quit Cursor (⌘Q), then confirm no Cursor processes remain in Activity Monitor.
  2. Open ~/Library/Application Support — in Finder press ⌘⇧G, paste ~/Library/Application Support/Cursor, and review folder sizes (View → Show Preview, or use Get Info).
  3. Review high-impact subfolders — use the path table above. Avoid deleting User/settings.json unless you intend to reset preferences.
  4. Check ~/Library/Caches — look for folders named com.todesktop.* or Cursor and remove cache directories (not the entire Library).
  5. Move to Trash, do not Option-delete — Trash-first deletion lets you restore if something feels wrong after relaunch.
  6. 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.

  1. Launch AI Agent Clean and open AI Agent Clean (or run Smart Scan on the Mac cleaner home module).
  2. Expand the Cursor group and review each category’s size.
  3. Uncheck categories you want to keep — for example, keep active workspace indexes if you are mid-sprint on a huge repo.
  4. 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.

Safety warnings
  • 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

Preview Cursor cache sizes locally — no cloud upload.

Try free for 7 days

Start 7-day free trial on the Mac App Store

Scan free. Start a 7-day full-feature trial on the Mac App Store.

Try free for 7 days