Not like a Windows computer, hiding files and folders on your Mac is not as easy as it sounds. What can you do? Never worry because if you are wondering how to hide files on Mac, I will show you here the steps for you to do this trick. This way, you will be sure that all those important files and folders that you have there on your Mac will surely be kept safe.

All the files that you have on your Mac might contain important files for business purposes like business data, personal information, and other important things. Because of this, choosing to hide some files and folders on your Mac computer is one great way for you to have these files safe and private at all times. Now here you are, a detailed guide on how to hide files on Mac.

Article GuidePart 1. Best App to Hide Files on MacPart 2. Use Terminal to Hide Files on MacPart 3. How to View Your Files and Foleder on MacPart 4. How to Unhide Files on Mac

Part 1. Best App to Hide Files on Mac

Now, We will go first for the easiest method. Use the best app -- PowerMyMac to hide your files on Mac.

Step 1. Open the software and select Toolkit. Then choose "Hide".

Hide Files by PowerMyMac

Tips: You need to Set and confirm your password the first time you use this feature.

Step 2. Drag Your File and Hide It

Drag a file on the screen and hide it. Press the Hide button to finish this step.

Note: There is a switch button below. Turn the button off, the file you dragged in this step could be shown on your Mac again.

Best App to Hide Files on Mac

So easy, Right? PowerMyMac also allows you to encrypt your files. The steps are as easy as the Hide process.

Part 2. Use Terminal to Hide Files on Mac

Hiding files on Mac are a bit more complexed than doing so with a Windows or any other computer but it isn’t impossible.

Of course, you could also name the folder something absolutely boring such as “BBQ at the Stevenson's 2013” or “Homework” or whatever to avoid suspicion but that usually won’t complete the needed secrecy that you initially desired would it? So let’s just move on to hiding that folder altogether.

Use Your Terminal to Hide Files and Folders on Mac

To start this how to hide files on Mac guide, ideally, you gather all the items into a folder. Next step is to open the terminal window. This can easily be done by pressing the Command button plus the space bar. You should see a small window pop up and you don’t need to be completely overwhelmed yet, don’t worry, it is there to help you hide that folder.

On the same terminal window, type in the following:
Chflags hidden

Chflags Hide

From there on how to hide files on Mac, simply click and drag the folder into the window. And at this point hit enter.

Hide Files on Mac Using Terminal

By now you have noticed that the folder that you wanted to be hidden has vanished from your desktop, assuming you did leave it on your desktop only and that’s pretty much what you wanted. Please note it’s actually still there and you can still drag it around if you wanted to. However, even if you searched for it using the Finder, it won’t simply show up like magic, in fact, it’s almost as if it has completely vanished altogether.

However, it’s actually still where you left it but it just can’t be seen or accessed using the finder. From here, a hidden folder is useless if even you can’t access it, isn’t it? Although the file is hidden, but can't find these hidden files? The next part of this how to access hide files on Mac, which is what many of those panicking right now are probably wondering.

Using Disk Utility to Encrypt Your Folders

Having your files and folder encrypted is also a good way for you to keep them safe and private because you will only be the one who can access them.

Here is how you can try to encrypt your files and folders using your Disk Utility:

  1. Launch Disk Utility. Just go ahead and type in Disk Utility in your Spotlight Search and then press Enter.
  2. Go to the menu bar and then choose File, then New, and then Disk Image from Folder.
  3. After that, choose the file or folder that you would want to encrypt and then click Image.
  4. Then name it and make sure that choose 256-bit AES Encryption found in the drop-down box next to Encryption.
  5. And then after that, click on Save button and then enter using your password and then click on OK.

Using Disk Utility to Encrypt Your Folders

Part 3. How to View Your Files and Foleder on Mac

Access a Hidden Files or Folder

Let’s start off with the fastest method for now. Go to the desktop and search for the “Go” button on the window.

Click it and find the “Go to folder” option in said drop down options. From there all you need to do is type in the location of the folder you hid by adding “~” at the start when you input it into the “Go to folder” option. The “~” signifies a folder in use of the current username, so from there type in the location and the name of the folder.

This ideally works if you placed it in a place you can easily remember, like the desktop, documents, downloads and more. So it will look like this if it was in your documents:
~/Documents/Title_of_Hidden_Folder
As another example, if you did place it in your downloads folder, you’ll want something like this:
~/Downloads/Title_of_Hidden_Folder

Go To Folder2

There is actually another way to view hidden files. The next option is to use the Open/Dialog button which can find the folder after doing a short and rather nifty trick. Start off by pressing these buttons together: Command + Shift + Period.

Open Dialog Find File

Now if you had saved the folder that you hid on your desktop, this trick won’t immediately show said file. That trick mentioned a little earlier, will help you find it quickly.

At the Open/Dialog window, after pressing the buttons you need to click on another folder within the Open/Dialog window and then simply go back to the Desktop folder. From there you hidden files should show up. Easy wasn’t it?

View Hidden Files in the Finder

The next option is to use the Finder to get find the hidden folder. This involves some work with the terminal again and from there you need to close all the Finders too which is more daunting than it sounds.

Start by opening a terminal. Type in these commands and make sure you hit the Enter button after each command :
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

view files on mac

This will forcibly restart all Finders that are open and will also show hidden files as commanded.
Want to prevent the Finder from displaying hidden files and folders? Run the following command to disable this option and restart the Finder. Open the terminal and type in this command:
defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder

Part 4. How to Unhide Files on Mac

You have clear ideas on how to hide files on Mac, but on another note, if you ever want to unhide a folder for some reason or another, that isn’t an issue either. Again open the terminal and issue this command:
Chflags nohidden

Ideally you still remember the path to your hidden folder, otherwise, if it is somewhere you remember exactly, simply drag it again into the window like earlier and it should once more poof back into existence. Again another nifty little trick.

unholding file on mac

Of course, if dealing with the terminal gives you anxiety or seems a little too complicated to you, you are always more than welcome to try third-party programs that can help you on how to hide files on Mac and there should be a pretty easy guide attached to said programs. Happy hiding!