Hidden files on your Mac contain the nuts and bolts necessary for running macOS—think system settings, configuration files, and cache storage. These files are intentionally concealed to prevent users from accidentally deleting or altering something critical. But there are times you do need to access them—like when troubleshooting, cleaning up disk space, or customizing system behavior.
In this blog post, we will show you three effective ways to reveal hidden files on your Mac safely.
- Method 1: Use Finder
- Method 2: Use Terminal
- Method 3: Use Third-Party Software
- How to Hide Files on a Mac
- Conclusion
Method 1: Use Finder
The simplest way to access hidden files is through the Finder. Here’s how:
- Click the Finder icon in your dock to open a Finder window.
- Navigate to the folder where you want to see hidden files.
- Press Command + Shift + . (period key).
Hidden files will immediately become visible. To hide them again, press Command + Shift + . once more. This shortcut also works on the Desktop.
Method 2: Use Terminal
For those comfortable with the command line, Terminal gives you deeper control.
- Open Terminal using Spotlight (press Command + Space and type “Terminal”) or go to Applications > Utilities > Terminal.
-
To show hidden files, type the following and press Enter:
defaults write com.apple.Finder AppleShowAllFiles true
-
Then restart Finder with this command:
killall Finder
You’ll now see hidden files system-wide.
To hide them again, repeat the above steps but use false
instead of true
in Step 2:
defaults write com.apple.Finder AppleShowAllFiles false
Method 3: Use Third-Party Software
If you’re a power user or frequently need to reveal hidden files, consider one of these tools:
Funter
Funter is a lightweight tool designed for one task: toggling hidden files. Great for quickly viewing and hiding files without using Terminal commands.
ForkLift (Paid - $20 Lifetime)
Forklift is a full-fledged file manager with support for cloud storage, syncing, and hidden file toggling. If you manage lots of files or need extra capabilities, this tool’s worth considering.
Why Are Files Hidden in macOS?
Hidden files exist for your protection. macOS hides configuration and system-level files to prevent users from tampering with them. Deleting or modifying these files can cause serious performance issues or make your system unstable.
Think of it like storing cleaning chemicals on a high shelf—necessary, but not something you want mishandled.
How to Hide Files on a Mac
Whether you’re trying to clean up your desktop or conceal sensitive files, you can also hide files yourself.
- Open Terminal.
-
Use the following command:
chflags hidden
- Then drag the file or folder you want to hide into the Terminal window. Press Enter.
To unhide the file, use:
chflags nohidden
Again, drag the hidden file into Terminal and hit Enter. The file will reappear.
Conclusion
Revealing hidden files on a Mac can be useful—but it should be done carefully. Whether you use Finder, Terminal, or a third-party app, be sure you understand what you’re doing before modifying anything.
Most importantly: if you don’t recognize a file, leave it alone.