Codex Var Folders Cache

This folder stores temporary Codex working data under macOS /private/var/folders so the app can run local tasks and manage short-lived files.

Codex

What is Codex Var Folders Cache?

This item is a macOS temporary-data folder used by Codex. The path sits under /private/var/folders, which macOS uses for per-user cache and transient working directories created by apps and system processes. For Codex, this location can hold short-lived files such as downloaded assets, temporary task data, session state, and other runtime materials needed while coding tasks are running locally. Users typically do not open or manage this folder directly; it is created and reused automatically as the app works. Contents in this area can be rebuilt when Codex runs again, although removing them may interrupt an active task or clear local temporary state. Because this is temporary app data rather than a document folder, it is mainly relevant when you are troubleshooting storage use or cleaning up unused app remnants.

Review files before deleting with diCleaner

Inspect caches, support files, folders, and related data before deleting items on Mac.

Download diCleaner

Safety overview

Status: Mostly safe

This path is in a macOS temporary storage area, and that is consistent with app runtime and cache-style data. Deleting the folder is usually low risk when Codex is fully closed, but doing so during active use can interrupt current work, remove temporary session data, or force the app to recreate files on next launch. If you rely on Codex for ongoing local tasks, quit the app first and avoid removing the folder while a job is running.

Recommendation: Keep this folder if you actively use Codex or want to preserve its current local working state. If Codex has been removed or you are clearing disk space, you can delete this folder after quitting the app; the main effect is that temporary local data will be cleared and recreated only if Codex is used again.

File path

  • /private/var/folders/jb/4mnygrgj01bdk1z6p5jgsl480000gn/C/com.openai.codex

Share your experience

Be the first to share your experience.

Share your experience with this file or folder