Skip to main content

How to show the hidden files in Mac

How to show the hidden files in Mac - macOS How Tos
(Image credit: Apple)

Apple doesn't make it easy to figure out how to show the hidden files in Mac computers. In fact, making these files visible all the time requires poking around in the bowels of your Mac — in the Terminal.

Fortunately, we've got all the details you need, and we're not even going to ask what you're doing poking around inside the hidden directories of your computer. Though to be honest, we'll note that poking around in hidden files may be more trouble than it's worth if you're not a power user. 

Apple gets criticized for making it hard to tinker with Macs, but we get it for showing hidden files. Deleting the wrong one could send your system into a world of hurt. But for those who have learned that something in their Library directory, or another hidden nook or cranny in their Mac, we've got the details you need to know.

Here's what you need to learn for how to show hidden files on a Mac.

How to show the hidden files in Mac computers

The system Library, which contains a lot of files that you may want to erase when trouble-shooting an app, isn't entirely visible when you go poking around. 

how to show the hidden files in mac - Hidden macOS files

(Image credit: Apple)
  • Open Finder
  • Navigate to your storage root directory (likely Macintosh HD)
  • Click Shift + Command + .

How to show the hidden Library files in Mac computers

There's also the user directory Library, which is hidden by default. You can either open it quickly by holding Option when opening Go from the Finder menu bar or use the above keyboard shortcut to make it visible.

how to show the hidden files in mac - menu bar

(Image credit: Apple)

How to show the hidden files in Macs all the time

  1. Open Terminal (either via Applications > Utilities or hit Command + Space and type "Terminal")
  2. Enter the following lines of code, one at a time, hitting return afterwards:

how to show the hidden files in mac - in terminal

(Image credit: Apple)

defaults write com.apple.Finder AppleShowAllFiles true

Killall Finder

To reverse this, follow those two steps again, but change "true" in line 1 to "false".

How to show the hidden files in Mac apps

There's one more place where Macs hide files: inside of programs. Again, this is not for fun, but for getting things done.

how to show the hidden files in mac - open app contents

(Image credit: Apple)
  1. Right-click an application
  2. Select Show Contents 

So, now you've got everything you need to know to find the files that Apple doesn't think everyone needs to see easily. Remember, though: you don't view all files with the intent to clear up space. Those hidden files are hidden for a reason, and many are important to your system — ensuring it runs properly in the background.

More macOS tips