Windsurf storage on Mac: Cascade history, caches, extensions
Last checked 17 October 2026
Windsurf stores Cascade's conversations, memories and MCP setup in ~/.codeium/windsurf, editor caches in ~/Library/Application Support/Windsurf and extensions in ~/.windsurf/extensions. The caches and logs are safe to delete. Never delete the memories folder or mcp_config.json.
What Windsurf stores on your Mac
Windsurf writes in three places. ~/.codeium/windsurf holds Cascade's conversations, memories and MCP configuration. ~/Library/Application Support/Windsurf holds the editor's caches, logs and per-project state, like any VS Code fork. ~/.windsurf/extensions holds your extensions.
| Path | What it is | Verdict | What you lose |
|---|---|---|---|
~/.codeium/windsurf/cascade | Your past Cascade conversations | Review | They disappear from Cascade's history; your code is not modified |
Cache/, CachedData/, Code Cache/, GPUCache/, CachedExtensionVSIXs/ | Temporary files of the editor | Safe | Nothing visible: Windsurf recreates them |
logs/ | Windsurf's internal logs | Safe | Nothing visible |
User/workspaceStorage/ | Per-project state of Windsurf, including chat history | Review | Past conversations may be lost |
~/.windsurf/extensions | Your installed extensions | Review | They would need to be reinstalled |
~/.codeium/windsurf/memories, ~/.codeium/windsurf/mcp_config.json | Cascade memories, global rules and MCP servers | Never delete | Your setup |
User/settings.json, User/keybindings.json | Your settings and shortcuts | Never delete | Your setup |
Paths without ~ are inside ~/Library/Application Support/Windsurf.
What grows the most
It depends on how you use Windsurf. Long Cascade sessions fill ~/.codeium/windsurf/cascade, and opening many projects fills User/workspaceStorage/, which gets one folder per project.
Memories are worth knowing about before you clean anything. Windsurf's documentation says they are stored in ~/.codeium/windsurf/memories/, live only on your machine, and sit next to global_rules.md, the rules Cascade applies in every workspace. They are not in your repository, so deleting that folder loses them for good.
To see which folder is the largest on your Mac:
du -sh ~/.codeium/windsurf/* ~/.windsurf/* 2>/dev/null | sort -h | tail -10
du -sh ~/Library/Application\ Support/Windsurf/* 2>/dev/null | sort -h | tail -10Nothing above deletes anything.
How to clean it by hand
Quit Windsurf first. Cleaning files an open window is writing to can corrupt them.
Safe items can be deleted directly:
cd ~/Library/Application\ Support/Windsurf
rm -rf Cache CachedData "Code Cache" GPUCache CachedExtensionVSIXs logsCascade conversations: deleting items in ~/.codeium/windsurf/cascade removes those conversations from Cascade's history. Your code is not modified. Keep the ones you may want to reopen.
Workspace storage: each folder in User/workspaceStorage/ belongs to one project. Removing the folders of projects you no longer open frees space, but their conversations may be lost.
Extensions: removing folders in ~/.windsurf/extensions frees space, and those extensions would need to be reinstalled. Uninstalling them from inside Windsurf is cleaner.
What you should never delete
~/.codeium/windsurf/memories holds Cascade's memories and global_rules.md, and ~/.codeium/windsurf/mcp_config.json your MCP servers. User/settings.json and User/keybindings.json are your settings and shortcuts. Deleting ~/.codeium or ~/Library/Application Support/Windsurf as a whole removes them.
Cursor is built on the same base and has the same caches: see what takes space in Cursor. If you also run Cline inside Windsurf, see Cline tasks and checkpoints. For every other agent, see where AI coding agents store data on your Mac.
Doing it with Ouste
Ouste reads these folders, classifies every item as Safe, Review, Risky or Protected with the sentence that says what you lose, and puts anything you might regret in a 7-day quarantine you can restore in one click. Cascade's memories, your rules, MCP servers and settings are never touched.
Questions
Where does Windsurf store Cascade conversations on Mac?
In ~/.codeium/windsurf/cascade. The editor's caches and per-project state are in ~/Library/Application Support/Windsurf, and extensions in ~/.windsurf/extensions.
Is it safe to delete ~/.codeium?
No. It holds Cascade's memories, your global rules and your MCP servers next to the conversations. Delete only the items you have reviewed in the cascade folder.
Where are Windsurf memories stored?
In ~/.codeium/windsurf/memories, on your Mac only, next to global_rules.md. They are not in your repository, so deleting the folder loses them.
Can I delete Windsurf's cache folders?
Yes. Cache, CachedData, Code Cache, GPUCache, CachedExtensionVSIXs and logs in ~/Library/Application Support/Windsurf are recreated by Windsurf. Quit it first.