Disclaimer: We sustain our work & review products through paid collaborations.
How to View Hidden Files in macOS and OS X

How to View Hidden Files in macOS and OS X


Did you know that on the Mac there are thousands of files and folders hidden from you to prevent you from messing around with them? Take the Macintosh HD root directory, for example: in the screenshot below you’ll only see four folders and one file. That’s a total of five items, compared to the 30 that will be revealed when you’re able to see all files and folders using this simple trick. Read on to find out how hidden files can be viewed and to discover the purpose they serve.

Why are files hidden in macOS?

Commonly used in computing for storing user preferences or preserving a given state of a utility, hidden files or folders don’t appear in Finder, for a very simple reason: some things just don’t need to be visible to everyone, because messing around with them could put the overall stability of the operating system at risk. Simply put, these files and folders are just too confusing for the average user, so they’re better staying hidden until you need them and feel confident enough to deal with their content.

What kind of files are hidden on macOS

Files preceded with a “.” are hidden from the normal list view, such as .cleverfiles, .TemporaryItems, .feventsd directories, for example. However, folders such as /usr, /bin, and the like are also hidden from sight. There is one folder, though, that users will regularly seek access to, and that is the Library folder (~/Library). This is the place where user-specific app support files and sometimes data are stored.

Why the need to view hidden files?

Sometimes advanced Mac users will turn to these files to tweak the Mac’s performance or functionality. Whether it’s due to a Mac optimization tip they’ve read on Best Reviews or because a troubleshooting process requires deleting a particular user preference or log file that’s hidden from sight. Some Mac users may want to remove some unused or redundant hidden files because they occupy precious disk space.

How to view hidden files in modern versions of macOS

Modern versions of macOS offer a convenient way to reveal invisible files: all you need to know is a keyboard shortcut. Using this key combination will unhide hidden files and folders in an instant, while a second press of the same combination will remove those files from sight again.

This keyboard shortcut works only on macOS 10.12 Sierra or later, so users running an earlier version of the operating system will need to use a Terminal command.

Here is how the key combination works:

1

Navigate to the folder containing hidden files, such as Macintosh HD or the user Home folder.

2

Press Command + Shift + Period.

3

Enjoy the view of all files and folders existing in that directory

As soon as you press the keyboard shortcut, all files and folders within the chosen directory that are marked as invisible will instantly come into sight. Hidden items will have dimmed, gray names.To view hidden files on earlier macOS versions, open Terminal and copy and paste the following command:defaults write com.apple.finder AppleShowAllFiles TRUE;killall FinderThe “killall Finder” command will relaunch the Finder app with those hidden files now visible. To once again hide invisible files, users on modern versions of macOS need to only press the Command + Shift + Period shortcut once again. On older versions of the Mac operating system use the following command in the Terminal window:

defaults write com.apple.Finder AppleShowAllFiles FALSE;killall Finder

As you can see, there is no witchcraft surrounding the viewing and hiding of files on macOS. The only thing that matters is what you do with these hidden files once you find them because novice Mac users can easily end up in places they shouldn’t be and may delete system files. Alter hidden files only if you have enough knowledge of what you are doing, otherwise you risk the overall stability of the system and may need to reinstall macOS.


Best Mac optimization software of 2025

Editor's choice

CleanMyMac

Editor's rating:
User-friendly dashboard
Effective scanning and cleaning options
Various maintenance tools
Built-in malware remover
All-around protection

MacKeeper

Editor's rating:
Personalized remote assistance
Unique optimization tools
Anti-theft tracking
Built-in antivirus
Beginners

MacBooster

Editor's rating:
Fast scanning
User-friendly UI
Virus and malware scan
Great cleaning features
Businesses

CCleaner for Mac

Editor's rating:
Fast scans and cleaning
Full customization
Extensive free version
Affordable

Discussions

Share your thoughts, ask questions, and connect with other users. Your feedback helps our community make better decisions.

©2012-2025 Best Reviews, a clovio brand – All rights reserved