How to Hide Files and Folders on Mac (5 Different Ways)

🗓️ July 20, 2023 By ✍️ Jaysukh patel

Let’s be honest; we all have certain confidential folders, whether it could be personal photos, sensitive documents, or legal papers, that we don’t want to be accessible to others. Luckily, Apple is concerned about its users’ privacy & security and hence has added ways to hide folders on Mac. So, without further delay, let’s explore different ways to hide your folder on Mac running the latest macOS.

4 Easy Ways to Lock Folders on Mac

Want to keep your files inaccessible to others on your Mac? Here are five different ways.

Method 1: Using the Keyboard shortcut 

It’s one of the handiest and quickest ways to hide the folder on your Mac. And the best part is you can use the same keyboard shortcut to hide and unhide the files. And the shortcut is Command + Shift + period (.). But remember, this keyboard shortcut only works on macOS Ventura and later versions. So ensure that your Mac computer is upgraded to the latest macOS. 

The drawback of this method is that it doesn’t require any password. That means anyone, even the newbie hacker, can access your hidden files using this keyboard shortcut.

Method 2: Using FileVault to Create Invisible Folders

Another way to hide files on your Mac is by using the built-in security feature, FileVault. It’s priority encryption software that encodes the information stored on your Mac, so accessing files without jotting the right credentials is impossible. However, some users suspect that using FileVault can eat lots of CPU when Mac is running on older macOS, but you can prevent such instances by updating macOS before using FileVault.

See also  Fixed iPhone Battery Draining Fast after iOS 17.1.2 Update

macOS Ventura And Later

  1. Go to Apple Menu.
  2. Select System Settings…
  3. Click on Privacy & Security on the left sidebar.
  4. Swipe down to FileVault.
  5. Click turn on and enter a password.
  6. Select your recovery method, and choose Continue.

macOS Monterey And Earlier

  1. Go to Apple Logo.
  2. Select System Preferences… > FileVault Tab.
  3. Click on Lock Icon at the bottom and enter the password.
  4. Select Turn On FileVault.
  5. Select your recovery method, and save changes.

If you select Allow My iCloud to unlock my disk, the encryption process will begin automatically. And if you choose Create a recovery key and do not use iCloud account, the system generates the recovery key, which you must save anywhere. You can’t access your files on your disk without using the recovery key. 

Method 3: Using Terminal 

The Terminal is a command line interface on your Mac that keeps your files hidden and protected. And the best part is it’s preinstalled on your Mac. So let’s see how you can hide folders on your Mac using the Terminal command. 

  1. Press Command + Space to access Spotlight.
  2. Enter Terminal and open it.
  3. Now enter the command: chflags hidden and leave the space, and drag and drop the File you want to hide.
  4. Tap on Return, and your File disappears.

If it’s not hidden yet, you may need to relaunch the Finder to make the File disappear. 

To reveal and unhide files using Terminal

  1. Press Command + Space to access Spotlight.
  2. Enter Terminal and open it.
  3. Now enter the command: defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder
  4. Hit Return and icons of hidden files reappear. Although they are greyed out, you can see them on your Finder.
  5. To unhide the File, enter the command: chflags nohidden and leave the space, and drag and drop the files you want to unhide.
  6. Tap on Return, and your File will reappear at the location you lastly saved on your Mac. 
See also  10 Fixes Cannot Log In to Clubhouse App issues (2023)

That’s It!

Make File invisible using Dot

The easiest way to hide files on your Mac is by adding the Dot before the file name. Yes, if you save the File by adding a period before its name, the macOS will automatically treat it as hidden. So follow the steps below. 

  1. For this, select the File and Control-Click on it.
  2. Add Dot before the file and press Return Button. As soon as you do so, you will receive the prompt to confirm that you want the macOS system to see those files as hidden. 
  3. Then you can use Keyboard Shortcut Shift + Command + period(.), and the files will disappear from your Mac.
  4. To reveal the files, press the same keyboard shortcut Shift + Command + period(.). Then rename the files by removing the Dot before the file name. 

That’s It!

Method 4: Hide Files With a User Account

This isn’t a way to completely disappear your files on Mac. Instead, you have to create a separate user account where you save all your sensitive data—creating a different user account is one of the most secure ways to hide your files on a Mac.

macOS Ventura and later

  1. Select Apple Logo.
  2. Go to System Settings…
  3. Choose Users & Groups.
  4. Click Add Account…
  5. Enter your Mac Administrator name and password.
  6. Register Full Name, Account Name. 
  7. Create a Strong Password and verify it.
  8. Enter Password Hint.
  9. Finally, select Create User.

macOS Monterey and earlier

  1. Navigate to Apple Menu.
  2. Select System Preferences…
  3. Go to Users & Groups.
  4. Click on Lock Icon at the right-bottom corner of the window. Enter the Administrator’s name and password.
  5. Select Plus Icon to add a new account.
  6. Register Full Name, Account Name. 
  7. Create a Strong Password and verify it.
  8. Enter Password Hint.
  9. Finally, select Create User.
See also  How to Enable/Disable Shake to Undo on iPhone Running iOS 17.1.2

Now you can switch between the users from your Mac lock screen. 

Final Thought!

For most, we recommend using FileVault Method to hide files on your Mac. Alternatively, you can create password-protect folders to prevent anyone from accessing your confidential folders and thus ensure all folders on your Mac stay protected. Willing to invest in the paid app? Use Hider 2: Hide folder on Mac App for just $19.99

Jaysukh Patel
Jaysukh Patel

Jaysukh Patel is the founder of howtoisolve. Also self Professional Developer, Techno lover mainly for iPhone, iPad, iPod Touch and iOS, Jaysukh is one of responsible person in his family. Contact On: jaysukh.pharma@gmail.com [OR] admin@howtoisolve.com

We will be happy to hear your thoughts

Leave a reply

HowToiSolve
Logo