How To Show Hidden Files And Folders On Mac

Every Mac comes with a wide range of hidden files and folders. This is a pretty smart option, especially for the beginners, because they cannot access all the files just like that, and perhaps accidentally delete one of them. On the other hand, people who are experienced Mac users are always looking for a way to make some improvements on their OS X, and when the files are hidden their job gets a bit more complicated. Some people simply want to know everything about their computer. In this article, we are going to explain how to show hidden files and folders on Mac, so if you want to access those files for whatever reason, you will be able to do so.

See also: How to fix a frozen Mac

show hidden files


How to show hidden files on Mac

This guide on how to show hidden files and folders on Mac is pretty simple, and all you need to do is follow the steps listed below. In order to view hidden files mac in finder, you will use the Terminal app:

  • Launch Terminal – Finder > Applications > Utilities, and then find Terminal and double click on it. You can also use the spotlight search – type Terminal, and when it shows up, just click on it.
  • The next thing you will have to do is copy the following:

defaults write AppleShowAllFiles YES

killall Finder

and paste it into Terminal, one by one. When you copy/paste the first line, press Return. When you copy/paste the second line, press Return again. The finder will relaunch, and it will show hidden files.


If you want to hide the files again, don’t worry, it’s pretty simple. You will use Terminal app again. Follow these steps:

  • Launch Terminal
  • Copy and paste the following commands:

defaults write AppleShowAllFiles NO

killall Finder

The files and folders will be hidden again.

In case you want to access the hidden files on your Mac more often, you may install one of the apps designed to show hidden files, and hiding them, such as TotalFinder or Gotoes.


You may also read: How to take a Mac screenshot