Hide Files on Mac

There is a small file-protection tip to limit access to your files on Mac: you can make them hidden! It requires just a few simple steps.

How to hide files on Mac:

  1. Open the Terminal app.
  2. Type chflags hidden 
  3. Type file’s location.

How could you know exact file location? Well, you shouldn’t. One more trick: just drag and drop file from Finder to Terminal. See the screenshot.


If you need to make hidden file visible again do basically the same, but type instead of hidden -> nohidden. Two commands together on a screenshot.


There are specific Terminal commands to turn on displaying hidden files, but our advice is to use a freeware Funter utility, that basically executes them for you.

hide files in Finder

P.S. The same works for hiding folders on Mac.