Like Windows and Linux, Macs come with a technique to create a hidden folder. However, Mac OS X cloaks these options in secrecy making it a bit tricky. A covert folder entails setting the “hidden” option for it.

The Finder or other apps will then overlook and not throw up this folder by default. This comes in handy if you share your Mac with someone. Failsafe methods like encryption add an extra layer on your veil to make data completely inaccessible.

So how to create a hidden folder on Mac? At the outset, get more acquaintance with the Terminal because it’s the only way to hide a folder on Mac if you’ve no third-party app.

Article GuidePart 1: How to Hide A Folder on Mac with TerminalPart 2: Other Methods to Make Folders HiddenPart 3: Wrap-Up

Part 1: How to Hide A Folder on Mac with Terminal

Solution #1 Configure the Hidden Flag in Terminal

  1. Launch Finder.
  2. Click on Applications in the left panel.
  3. Navigate to the foot to access Utilities. Double-click to fill in the Utilities menu.
  4. Double-click the Terminal.
  5. Enter the following line: chflags hidden.
  6. Yank the folder you wish to obscure into the Terminal window.
  7. A path pops up in the Terminal window; hold down “Enter” to hidden flag.
  8. Get rid of the hidden flag in the same vein by changing the command to chflags nohidden.

Solution #2 Hide a New Folder Directly Using Terminal

  1. First, launch a Terminal-hold down Command+ Space, enter Terminal, and hit Enter. In the Terminal, punch out the following line: chflags hidden.
  2. Create a fresh folderon your desktop. Feed it with contents you wish to hide.
  3. Drag-and-drop it in the Terminal window. Examine it to spot the folder’s path.
  4. Hold down to mask the folder.

Hide a New Folder Directly Using Terminal

Corollary Trick: Unhide a Folder

Follow the same command above and change hidden to nohidden. Just enter the following line into the Terminal, typing a space after it: chflags nohidden.

If you jotted down the path of your folder, enter it into the Terminal. Otherwise, you can use the same trick to unmask hidden folders via Finder before you drag-and-drop it into the Terminal.

You can also hold down the up arrow button at the Terminal to explore earlier commands, pinpointing the command that hid the folder. With the left arrow key, navigate to the “hidden” portion of the command and reset it to “nohidden”, and then hit Enter.

Hit Enter afterward and the folder reconfigures to unhidden so you can retrieve it normally.

Part 2: Other Methods to Make Folders Hidden

Method 1: Hide a Folder with the ‘MV’ Command

The “mv command” in Terminal transfers a folder from one destination to another. Accordingly, you can invoke the “mv” command to translocate the folder from its default nook to a period folder.

Period folders remain automatically hidden because they house system-critical data. It works just like in Windows when moving an item to the System32 folder.

To make your folder invisible, launch Terminal and enter mv filename .filename. Substitute “filename” with the title of the item you want to mask and the “.filename” parameter with the heading of the system-protect file.

You only need to rename your contents to start with a “.”, or period, character. You cannot rename anything with the Finder window, you’ll need the Terminal. You can also launch multiple Terminal commands that will disclose these files.

Hide a Folder with the MV Command

Method 2: Empty Contents into the Library Folder

The Library folder gives you another trick up your sleeve. It’s concealed by default, and thus ideal to mothball top-secret data. Simply launch your Finder, right-click, fire up a fresh folder, and yank all the contents in there.

Method 3: Hide a Folder with Terminal Aliases

Aliases connote to macros or shortcuts to different commands. Launch the Terminal, enter or paste the following command: sudo nano ~ / .bash_profile. Once prompted, fill in the username and password for your active admin account. Hit Return to proceed and navigate to the end of the opened .bash_profile. Enter or paste the following command:

Hide a Folder with Terminal Aliases Yes

Go to the following command and enter or paste the following:

Hide a Folder with Terminal Aliases No

Save this file and shut down Terminal. The next time you’ll open Finder, all your chosen folders become hidden.

Method 4: FileVault

FileVault converts a hard drive into a Fort Knox-like vault locked without the required cipher: the username and password for your admin account. Click the Apple trademark nestled in the top-left edge of your screen.

Hit System Preferences and Security & Privacy. Navigate to the FileVault tab and hit the padlock icon to introduce changes. Hit the Turn On FileVault key. In the subsequent dialog box, choose the recovery technique. Click Continue twice to wrap up the process.

Method 5: Third-Party File-Hiding Tools

Dedicated tools lock your folders away from unauthorized users. The market has a variety of software to cross-shop. Open-source alternatives bolster your account’s security.

How To Create A Hidden Folder On Mac

Golden Tip: Tidying Up Your Mac

iMyMac Mac Cleaner optimizes your computer performance at full pelt. It helps you purge software and its vestiges in a single click. Quickly and securely wipe out junk from your Mac to carve out more storage space.

Locate and erase the redundant email attachments, iTunes backup, multi-languages, and outdated or hidden folders. It scans and wipes away supermassive files you no longer need. The cherry on the top for this Mac Cleaner is the health indicator engineered to determine the status of CPU, Disk, and Memory.

It integrates a preview feature to ensure you only wipe away safe-to-delete contents. Declutter your Mac and speed it up in a single click. It has a free trial to give your device a lease of new life with a thorough cleanup and optimization.

Free Download

Part 3: Wrap-Up

There you have it, how to create a hidden folder on Mac. Whether you share your computer or contemplate unauthorized access, hiding a folder is a no-brainer. You can create a hidden folder by invoking Terminal. Making a folder invisible keeps it away from prying eyes or inadvertent discovery. Unfortunately, computer geeks have mastered the art of summoning hidden contents into plain sight. Encryption provides a foolproof way to guard personal troves of data.

Prying eyes also read how to unhide files or folders on Mac; you’ve to throw them off the scent with an impermeable layer of security.