How to hide and lock photos on a Mac
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.
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
| Method | Separate password from Mac login? | Encrypted separately at rest? | Syncs via iCloud Photos? | Best use case |
|---|---|---|---|---|
| Apple Photos Hidden album | No (opens with Touch ID or Mac user password) | Covered by FileVault disk encryption only | Yes (if iCloud Photos is on) | Keeping photos out of your grid while working or screen-sharing |
| Separate macOS user account | Yes (each macOS user gets an isolated home folder) | Yes (with FileVault enabled) | Only if you sign into the same Apple Account | Sharing a family iMac cleanly with a partner or children |
Disk Utility encrypted .dmg / .sparsebundle | Yes (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 folder | No | No | No | Tidying 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:
- Open the Photos app on your Mac and select the photo or video thumbnails you want to hide.
- Press Command + L on your keyboard (or Control-click the selection and choose Hide Photo), then click Hide to confirm.
- 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.
- 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
sparsebundleyou 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
.dmgor.sparsebundleis 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.
Keep reading
Hidden photos on iPhone: where they go and who can see them
Where do hidden photos go on iPhone, how do you open them in iOS 18+, and who can still see them? The full breakdown.
SituationPrivate photos on a shared family iPad
If a shared iPad uses your Apple Account with iCloud Photos on, your whole library is on it, hidden photos included.
GuidePassword-protect a folder on iPhone
The Hidden album and locked apps open with your phone’s passcode. A locked note can have its own password, and a vault app adds a separate lock.