How to completely uninstall Codex on Mac
OpenAI's Codex desktop app for managing coding agents. Dragging Codex to the Trash removes the app — not the parts below.
Parts
- Codex.app×1
- ~/Library/Application Support×2
- ~/Library/Caches×1
- ~/Library/HTTPStorages×2
- ~/Library/Logs×1
- ~/Library/Preferences×1
- ~/Library/Saved Application State×1
- Bundle ID
com.openai.codexHomebrew cask uninstall stanza (quit). Confirm:osascript -e 'id of app "Codex"'- Source
- Homebrew cask “codex-app”, checked 2026-10-13
Homebrew lists Codex as discontinued. These steps still apply.
-
Quit Codex
Press Command-Q in Codex.
-
Check Activity Monitor
Open Activity Monitor (Applications › Utilities). Search “Codex”. Quit anything still running.
-
Check login items
System Settings › General › Login Items & Extensions. Remove Codex if it’s listed.
-
Drag Codex.app to the Trash
/Applications/Codex.app
-
Remove leftovers in your Library
In Finder press Shift-Command-G, paste a path, press Return. Move what you find to the Trash. Not every Mac has every one.
*= “anything here”.~/Library/Application Support/Codex
~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.openai.codex.sfl*
~/Library/Caches/com.openai.codex
~/Library/HTTPStorages/com.openai.codex
~/Library/HTTPStorages/com.openai.codex.binarycookies
~/Library/Logs/com.openai.codex
~/Library/Preferences/com.openai.codex.plist
~/Library/Saved Application State/com.openai.codex.savedState
Source, checked 2026-10-13.
-
Check the typical locations
Typical locations — check if present. These follow macOS naming conventions; not confirmed for Codex.
~/Library/Containers/com.openai.codex
~/Library/WebKit/com.openai.codex
-
Search for anything else
Lists anything in your Library with its name. Deletes nothing.
find ~/Library -maxdepth 3 -iname "*com.openai.codex*" 2>/dev/null
-
Empty the Trash and restart
Then rescan your Mac Score to see the change.
What are these folders? ~/Library/Application Support · ~/Library/Caches · ~/Library/HTTPStorages · ~/Library/Logs · ~/Library/Preferences · ~/Library/Saved Application State
Sources
- Homebrew cask definition for Codex —
zap+uninstalllists. Checked 2026-10-13. - Codex official site
Paths marked “typical location” are conventions, not confirmed. Discuss Codex — the best answers get folded into this manual.