Get the app

How to hide and lock photos on a Mac

Updated 3 min read

Written for macBook and iMac owners who want to hide photos from the main library or protect files on a computer shared at home or work

Short answer

To hide a photo quickly inside Apple Photos on a Mac, select it and press Command + L. Since macOS Ventura, the Hidden album is locked with Touch ID or your Mac login password and hidden from the sidebar until you choose View > Show Hidden Photo Album. If someone else knows your Mac login password, use Disk Utility to create a password-protected encrypted APFS disk image (.dmg) instead, or keep mobile photos inside a separate vault on your phone so iCloud Photos never syncs them to your Mac.

A silver laptop on a clean white desk displaying blue and emerald photo album tiles
On this page

Hiding photos on a Mac works differently depending on whether your pictures live inside the Apple Photos app or sit as loose image files inside Finder folders. It also depends on one question: does anyone else in your house or office know your Mac login password?

Four ways to hide or lock photos on a Mac, compared

1. Photos Hidden Album (Cmd + L) Uses Touch ID or your Mac login password. Good for casual screen-sharing privacy 2. Finder Dot-Folder (.private) Cmd + Shift + Period reveals it instantly. Zero password or encryption 3. Encrypted Disk Image (.dmg) Built in via Disk Utility; separate password. Strongest native Mac folder lock 4. Keep Phone Vault Off iCloud Phone photos never sync to shared Mac. Stops cross-device iCloud leaks
Pick Method 1 when nobody else knows your Mac login password, or Method 3 and 4 when a Mac is shared at home or work.
MethodSeparate password from Mac login?Encrypted separately at rest?Syncs via iCloud Photos?Best use case
Apple Photos Hidden albumNo (opens with Touch ID or Mac user password)Covered by FileVault disk encryption onlyYes (if iCloud Photos is on)Keeping photos out of your grid while working or screen-⁠sharing
Separate macOS user accountYes (each macOS user gets an isolated home folder)Yes (with FileVault enabled)Only if you sign into the same Apple AccountSharing a family iMac cleanly with a partner or children
Disk Utility encrypted .dmg / .sparsebundleYes (custom passphrase)Yes (AES-⁠128 or AES-⁠256)No (unless saved inside iCloud Drive)Locking sensitive files on a Mac where someone knows your login
Finder . hidden folderNoNoNoTidying clutter only; never for real privacy

Method 1: Hide photos in the macOS Photos app (Command + L)

According to Apple’s macOS Photos User Guide, hiding inside the Photos app takes four steps:

  1. Open the Photos app on your Mac and select the photo or video thumbnails you want to hide.
  2. Press Command + L on your keyboard (or Control-⁠click the selection and choose Hide Photo), then click Hide to confirm.
  3. To view your hidden items later, click View in the top menu bar and choose Show Hidden Photo Album, then click Hidden under Utilities in the sidebar and unlock with Touch ID or your Mac password.
  4. When you finish viewing, click View in the top menu bar and choose Hide Hidden Photo Album so the Hidden entry disappears from the sidebar again.

Unlike on iPhone (where Hidden is visible in Utilities by default), Apple Support notes that on a Mac the Hidden album is hidden from the sidebar by default until you turn it on under the View menu. Still, anyone sitting at your unlocked Mac who knows your login password can click View > Show Hidden Photo Album and open it.

Method 2: Lock a folder of photos on Mac with an encrypted Disk Image

Unlike Windows or iOS, macOS ships with a genuine cryptographic container tool built straight into the operating system: Disk Utility. According to Apple’s Disk Utility User Guide, you can turn any Finder folder of photos into an encrypted virtual disk with its own password:

  • Open Applications > Utilities > Disk Utility and choose File > New Image > Image from Folder (or Blank Image if you want a resizable sparsebundle you can add photos to over time).
  • Pick 128-⁠bit AES encryption (fast and strong) or 256-⁠bit AES encryption and enter a strong passphrase you can check in our unlock strength calculator.
  • Critical step: uncheck “Remember password in my keychain”. If you leave that box ticked, macOS unlocks the disk image automatically for anyone logged into your Mac user account, defeating the entire point of a separate password.
  • Once the .dmg or .sparsebundle is verified, delete the original unencrypted folder and empty the Mac Trash. Remember to eject the mounted volume in Finder when you finish looking at your photos so it locks again.

Stopping private iPhone photos from syncing onto a shared Mac

Many people end up searching “how to hide photos on Mac” because a photo they took on their iPhone suddenly appeared on a family MacBook signed in to the same Apple Account.

When iCloud Photos is enabled, hiding the photo on your iPhone hides it on the Mac too, yet it still copies the file onto that Mac behind the Mac’s login password. If you want phone photos never to reach iCloud or any computer at all, move them out of Apple Photos on your iPhone into a local encrypted vault app, delete the originals from Apple Photos, and clear Recently Deleted.

Questions

What is the keyboard shortcut to hide a photo on Mac?

Select one or more photos or videos in the macOS Photos app, press Command + L, and click Hide. The items leave your Library and other albums immediately and move to Utilities > Hidden.

Where do hidden photos go on a Mac?

They move to the Hidden album under Utilities in the Photos sidebar. On Mac, the Hidden album is concealed from the sidebar by default; click View > Show Hidden Photo Album in the top menu bar to reveal it, then unlock it with Touch ID or your Mac login password.

If I hide a photo on my iPhone, is it also hidden on my Mac?

Yes, when iCloud Photos is turned on. Both the photo itself and its hidden flag sync across every Mac, iPhone and iPad signed in to the same Apple Account.

Does putting a dot in front of a folder name in Finder lock my photos?

No. Renaming a folder to .photos only marks it as a Unix dot-⁠folder, and anyone pressing Command + Shift + Period in Finder reveals every dot-⁠folder instantly without a password.

What is the strongest built-⁠in way to lock a folder of photos on Mac?

Open Disk Utility, choose File > New Image > Blank Image (or Image from Folder), pick 128-⁠bit or 256-⁠bit AES encryption with a separate password, and do not tick 'Remember password in my keychain'. When unmounted, the .dmg or .sparsebundle file is encrypted at rest.

Sources

4

AlbumVault for iPhone and Android

A vault for the photos that are nobody else’s business

  • Encrypted on this phone
  • Each pattern leads to one vault
  • No account needed
Download on the App Store (coming soon)Get it on Google Play (coming soon) Coming soon to both stores
See what it does
AlbumVault on Android: the Albums screen with Protection active, encrypted on this phone, and four albums