File

The /.file item is a hidden file at the root of your Mac’s startup volume, where dotfiles are commonly used for system or tool-specific state.

What is File?

/.file is a hidden dotfile stored at the top level of a Mac volume. Files with names that begin with a period are usually not shown in Finder and are commonly used by Unix-based systems, scripts, or developer tools to store small pieces of state, markers, or configuration data. Because this item sits at the root path, it may be tied to a system-level workflow, a utility that wrote to the volume directly, or a manual command-line action. Ordinary Mac users do not normally interact with files in this location during everyday use. If you found it while reviewing storage or cleaning up your disk, treat it as a low-visibility technical file whose purpose should be identified before you change it.

Review files before deleting with diCleaner

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

Download diCleaner

Safety overview

Status: Use with caution

A hidden file in / can affect scripts, command-line tools, or automation that expects it to exist. The name alone does not identify a standard macOS component, so the safest approach is to inspect its size, modification date, and contents before removing it. If the file was created by a setup script, developer tool, or maintenance utility, deleting it may change how that tool behaves. Avoid changing permissions or deleting root-level hidden files unless you know what created them.

Recommendation: Check the file in Terminal before taking action. If you can identify what created /.file and it is no longer needed, you can remove it carefully and test the related workflow afterward. If its origin is unclear or the Mac is used for development, administration, or automation tasks, leave it in place until you confirm that nothing depends on it.

File path

  • /.file

Share your experience

Be the first to share your experience.

Share your experience with this file or folder