Mac users often find themselves needing to access system files that are hidden by default. These files are typically configuration files or support files essential for the operating system and specific applications. While keeping these items invisible generally protects users from accidental deletion, there are times when you need to modify or review them. This guide provides a reliable method to reveal these items, allowing you to manage your file system with greater control.

Before diving into the technical steps, it is important to understand what these hidden files actually are. On macOS, any file or folder that begins with a period (.) is treated as hidden by the system. This convention prevents casual users from tampering with critical resources like startup scripts or preference files. Most of the time, this invisibility is beneficial, but it can be frustrating when you need to troubleshoot a configuration issue. The process to change this setting involves using the Terminal, which is a powerful command-line interface built into macOS.

Preparing to Use Terminal
The Terminal application acts as a direct line of communication between you and the operating system. It allows you to execute commands that the graphical user interface does not expose. For this specific task, you will use a command-line instruction to toggle a visibility flag. This flag determines whether Finder displays these specific files. It is a safe and reversible process, but it requires careful attention to the text you type.

Step-by-Step Instructions
To show hidden files, follow these steps precisely. First, locate the Terminal application, which you can find in the Utilities folder within your Applications directory. Open the application, and you will see a command prompt line. You will need to type a specific command exactly as it appears and then press Enter on your keyboard to execute it.

| Command | Description |
|---|---|
defaults write com.apple.finder AppleShowAllFiles -bool true | Enables the visibility of hidden files. |
After entering the command, you must restart the Finder for the changes to take effect. To do this, hold down the Option (Alt) key on your keyboard, right-click on the Finder icon in your Dock, and select "Relaunch" from the context menu. Your desktop will briefly disappear and reappear, indicating that the Finder has refreshed. At this point, any files or folders starting with a period should now be visible in your windows.
Reverting the Changes

While having full visibility can be useful, you might decide to hide these files again to declutter your view. The process to reverse the change is nearly identical to the first one. You will open Terminal and enter a new command that flips the boolean value back to false. This action will restore the invisibility of the system files, presenting your interface with the standard clean look.
To revert the setting, type the following command into the Terminal window and press Enter.
| Command | Description |
|---|---|
defaults write com.apple.finder AppleShowAllFiles -bool false | Hides files again. |

Once you have executed this command, you must relaunch the Finder again using the same Option-click method. Your hidden files will disappear from the directory view, returning your file management experience to its normal state.
Managing the Revealed Files




















Now that your hidden files are visible, you will notice them appearing in grey italics in your Finder windows. It is crucial to exercise caution when interacting with these items. While some files are safe to inspect, others are actively used by macOS to run specific processes. Unless you are following a specific troubleshooting guide, it is generally recommended to avoid moving, deleting, or altering these files. Understanding how to show hidden files on Mac gives you the power to manage your system, but with that power comes the responsibility to use it carefully.