On this page
- Google Photos Locked Folder (most Android phones)
- Files by Google Safe folder
- Private space (Android 15 and later)
- Samsung: Private album in Gallery
- Samsung: Secure Folder
- Xiaomi, Redmi and POCO
- Motorola
- The .nomedia trick: hidden, not protected
- Compare your options
- A vault with its own passcode
- Quick answers
The quickest way to hide photos on almost any Android phone is Locked Folder in Google Photos. It’s free, already installed on most phones, and opens with your screen lock. If someone else knows your phone’s PIN, use an option with its own lock instead: Safe folder in Files by Google, or your phone maker’s vault on Samsung, Xiaomi or Motorola.
Google Photos Locked Folder (most Android phones)
Locked Folder works on any phone with Google Photos and Android 6 or later.
- Open Google Photos.
- At the bottom, tap Collections, then Locked.
- Tap Set up Locked Folder and unlock your phone when asked.
To move photos in:
- Tap Photos and select the photos or videos.
- Tap Add to, then Move to Locked Folder.
- Tap Move.
To open it again, go to Collections and tap Locked, then unlock with your screen lock.
Photos in Locked Folder don’t appear in your library, search, albums or memories, and other apps can’t see them. To edit or share one, move it out first.
- The lock is your screen lock. You can’t set a separate password. Anyone who can unlock your phone can open the folder.
- Backup is optional. To turn it on, tap your profile picture, then Photos settings, Backup, and Back up Locked Folder. Since 2023, backed-up Locked Folder photos also open on your other devices, including iPhone and the web, after you unlock the folder. With backup off, the photos exist only on that phone. Uninstalling Google Photos, clearing its data, a factory reset, or losing the phone deletes them.
On Pixel 4 and later, the Pixel camera can also save new photos straight into Locked Folder.
Files by Google Safe folder
Safe folder is in the Files by Google app (Android 8 and later). It has its own PIN or pattern, separate from your screen lock.
- Open Files by Google and scroll to Collections.
- Tap Safe folder.
- Choose PIN or Pattern, enter it twice, then tap Got it.
To move photos in, touch and hold them, tap More, then Move to Safe folder, and enter your PIN or pattern. To take a photo back out, open Safe folder, touch and hold it, tap More, then Move out of Safe folder.
Google says Safe folder files are encrypted. If you forget the PIN or pattern, the only fix is Reset your Safe folder, which deletes everything inside. Safe folder files can’t be backed up to Google Drive either.
Private space (Android 15 and later)
Private space is a separate, locked area of your phone for apps and their files. Install a gallery or file manager app inside it, and photos kept there stay out of your main gallery.
It’s on Pixel and other Android 15+ phones, unless the maker has turned it off. Samsung offers Secure Folder instead. To set it up, open Settings:
- Tap Security & privacy, then under Privacy tap Private space.
- Unlock with your screen lock, then tap Set up and Got it.
- Optionally sign in with a separate Google Account.
- Tap Choose new lock for its own PIN, pattern or password, or Use device screen lock.
- Tap Done.
Open it from the bottom of your app list. In its settings, turn on Hide private space when it’s locked so it disappears from the app list.
Private space isn’t backed up, and restoring your phone from a backup doesn’t bring it back. If you forget its lock, you can’t recover it. You can only delete it, along with everything inside.
Samsung: Private album in Gallery
Galaxy phones on One UI 8.5 or later (select models) have a Private album in the Gallery app.
- Open Gallery and tap Menu at the bottom right.
- Tap Private album and follow the on-screen steps.
- Choose a lock method when asked, then tap Done.
To add photos, select them in Gallery, tap More (three dots), then Move to private album and Move. Samsung says the album is protected by your device lock and blocks screenshots. Its page doesn’t say whether the album is encrypted separately or backed up.
Samsung: Secure Folder
Secure Folder is Samsung’s stronger vault, with its own lock and its own copies of apps such as Gallery and My Files. Set it up in Settings → Security and privacy → More security settings → Secure Folder. Then, in Gallery, select photos, tap More and choose Move to Secure Folder.
Samsung no longer offers cloud backup for Secure Folder. You can move it to a new Galaxy phone with Smart Switch. For setup in detail, hiding the icon and recovery, read our Samsung Secure Folder guide.
Xiaomi, Redmi and POCO
Xiaomi’s Gallery has a Private album locked with a privacy protection password. Xiaomi says the album is encrypted.
- Open Gallery and select the photos.
- Tap the three-dot icon at the bottom right, then Add to album.
- Choose Private album and tap OK.
To see them, open Gallery, tap Albums, swipe down and enter your password.
You set the password the first time. To change it, go to Settings → Fingerprints, face data, and screen lock → Privacy protection password.
Hiding a whole album (press and hold it, tap Hide) is weaker. Anyone can undo it in Gallery settings under View hidden albums.
Motorola
Motorola phones have a Secure folder inside the Moto Secure app.
- Open Moto Secure, or go to Settings → Security and privacy → More security and privacy.
- Tap Secure folder and choose a Pattern, PIN or Password. Fingerprint unlock is optional.
- In Secure folder, tap +, then Add files, pick your photos and tap Select.
- Tap Move. The photos leave their original location and only appear under Files in Secure folder.
Turn on Stealth mode from the folder’s menu to hide its icon. If you forget its lock, you have to delete the folder and everything in it. Menu names vary by model.
The .nomedia trick: hidden, not protected
Android’s media index skips any folder containing a file named .nomedia, so most gallery apps won’t show its photos.
- In a file manager, create a new folder.
- Inside it, create an empty file named .nomedia (with the dot).
- Move your photos into that folder.
Starting a folder name with a dot, such as .private, is a similar trick. Most file managers hide it until you turn on hidden files.
This keeps photos out of the gallery. There’s no lock and no encryption. Any file manager can open the folder, some gallery apps ignore .nomedia, and a phone connected to a computer shows the files normally. Use it to tidy your gallery and nothing else.
Compare your options
| Option | Lock | Separate from screen lock | Encrypted | Backed up | Survives uninstall or reset |
|---|---|---|---|---|---|
| Google Photos Locked Folder | Screen lock | No | Not stated separately by Google | Optional | Only if backed up |
| Files by Google Safe folder | PIN or pattern | Yes | Yes | No | No |
| Private space | Own lock or screen lock | Optional | Not stated by Google | No | No |
| Samsung Private album | Device lock | No | Not stated by Samsung | Not stated | Not stated |
| Samsung Secure Folder | Own lock | Yes | Yes (Samsung Knox) | No cloud backup | No, but Smart Switch can move it |
| Xiaomi Private album | Privacy password | Yes | Yes, per Xiaomi | Not stated | Not stated |
| Motorola Secure folder | Pattern, PIN or password | Yes | Not stated by Motorola | Not stated | No |
| .nomedia folder | None | No | No | Like any file | Like any file |
“Not stated” means the maker’s support page doesn’t say. If you’re unsure, assume it isn’t backed up.
A vault with its own passcode
For a lock that doesn’t depend on your phone’s PIN, a vault app is the next step. Read are photo vault apps safe? before picking one, and see what calculator vault apps do and don’t protect.
A vault that doesn't depend on your phone's brand
Every maker hides photos differently, and most rely on your screen lock. Cloakpix gives you one vault with its own passcode on any Android phone, and on iPhone too.
Quick answers
Can you put a password lock on photos? Yes. Safe folder in Files by Google, Samsung Secure Folder, Xiaomi’s Private album and Motorola’s Secure folder each use a lock separate from your screen lock. Google Photos Locked Folder uses your screen lock.
How do I access my hidden photos? Go back to where you hid them. On Xiaomi, swipe down on the Albums screen in Gallery. On Samsung, open Secure Folder or Gallery → Menu → Private album.
What are some good apps for hiding photos? Start with the free built-in tools above. If you need a separate passcode, choose a vault app that explains how it encrypts files and doesn’t need an account.
How do I create a hidden folder on Android? Create a folder and add an empty file called .nomedia inside it, and gallery apps will skip it. It isn’t locked, so anyone with a file manager can still open it.
Where is the Locked Folder in Google Photos? On current versions, tap Collections at the bottom, then Locked.
What happened to the Locked Folder in Google Photos? Google moved it. Older versions kept it under Library → Utilities. It now sits under Collections → Locked.
Why is there a Locked Folder in Google Photos? It’s a built-in private space for photos you don’t want in your main library. It stays empty until you set it up and move photos in.
How do I access a Locked Folder? Open Google Photos, tap Collections, then Locked, and unlock with your screen lock. If backup is on, you can also open it in Google Photos on another device.
On iPhone instead? See how to hide photos on iPhone.
Sources
- Hide sensitive photos & videos in Locked Folders (Google Photos Help)
- Access Locked Folder in Google Photos across your devices with cloud backup (Google)
- Protect your files with Safe folder (Files by Google Help)
- Hide sensitive apps with private space (Android Help)
- How to use Private album in Gallery app on the Galaxy devices (Samsung)
- Secure Folder troubleshooting and backup (Samsung US Support)
- How to make and check the private photos on the Xiaomi 14T? (Xiaomi)
- How to find pictures in private album? (Xiaomi)
- How to hide/unhide an album in Gallery on the Xiaomi 14T? (Xiaomi)
- Protect apps in a Secure folder (Motorola Help)
- MediaStore.MEDIA_IGNORE_FILENAME (Android Developers)