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

Drag to Trash
Trash + leftovers
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.

  1. Quit Codex

    Press Command-Q in Codex.

    Did step 1 work?
  2. Check Activity Monitor

    ?

    Open Activity Monitor (Applications › Utilities). Search “Codex”. Quit anything still running.

    Did step 2 work?
  3. Check login items

    System Settings › General › Login Items & Extensions. Remove Codex if it’s listed.

    Did step 3 work?
  4. Drag Codex.app to the Trash

    /Applications/Codex.app
    Did step 4 work?
  5. 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.

    Did step 5 work?
  6. 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
    Did step 6 work?
  7. 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
    Did step 7 work?
  8. Empty the Trash and restart

    Then rescan your Mac Score to see the change.

    Did step 8 work?

What are these folders? ~/Library/Application Support · ~/Library/Caches · ~/Library/HTTPStorages · ~/Library/Logs · ~/Library/Preferences · ~/Library/Saved Application State

Sources

Paths marked “typical location” are conventions, not confirmed. Discuss Codex — the best answers get folded into this manual.

Related manuals