How to lock a folder on Android
You have a folder of scans, receipts, voice notes or photos and you want a lock on it. Android makes that harder than it should be. This guide shows how to lock a folder on Android with what your phone already has, what a folder lock app adds, and which methods leave the files readable anyway.
Android can’t put a password on an ordinary folder where it sits. To lock a folder, move its files into a protected space: Samsung Secure Folder, Xiaomi’s private files in File Manager, Private Safe on OPPO, realme and OnePlus, Android 15’s Private space, or a folder lock app. Only options that encrypt the files keep them unreadable if someone opens the phone’s storage with a file manager or a computer.
Why you can’t just lock the folder itself
On a computer you can right-click a folder and protect it. Android’s shared storage doesn’t work that way. Every app that has file access, and every computer you plug the phone into, sees the same folders. There’s no per-folder password in the system.
So every method below does one of two things:
- Moves the files somewhere other apps can’t reach, behind a lock. That’s what Secure Folder, private files, Private Safe and Private space do.
- Turns the files into encrypted data that only one app can read with your key. That’s what a real vault does.
A third group of tricks only hides the folder from view. They’re fine for keeping a gallery tidy, but they aren’t a lock.
Lock a folder with your phone’s built-in tools
Menu names shift between software versions. If a step doesn’t match your screen, search Settings for the feature name.
Samsung Galaxy: Secure Folder
- Open Secure Folder and unlock it. If it isn’t set up, search Settings for “Secure Folder”. It needs a Samsung account.
- Tap More options (⋮), then Add files.
- Pick a category, or choose My Files to browse to the folder you want to lock.
- Select the files and choose Move rather than Copy, so nothing is left behind.
You can also go the other way: in My Files or Gallery, select items, tap More and choose Move to Secure Folder. Samsung notes this only works from its own apps. Inside Secure Folder, open its own My Files to find what you moved.
Xiaomi, Redmi and POCO: private files
- In Settings, open the fingerprint and screen lock section and set a Privacy protection password.
- Open File Manager, press and hold a file or folder, tap More and choose Make private.
- To open them again, go to File Manager’s start page, pull down and release, then enter your privacy password.
OPPO, realme and OnePlus: Private Safe
ColorOS, realme UI and OxygenOS have Private Safe under Settings → Security and privacy (the exact wording varies). After you set a privacy password, you can mark files as private from the file manager, and they move into the safe.
Android 15 and newer: Private space
Settings → Security & privacy → Private space creates a separate locked profile with its own lock. Install a file manager inside it and keep the files there. When the space is locked, its apps and files are out of reach of the main profile. It’s strong, but it’s a whole second profile, and not every phone has it yet.
Any phone: Safe folder in Files by Google
The free Files by Google app has a Safe folder under Browse → Collections. Set a PIN or pattern, then select files, tap More and choose Move to Safe folder. Files inside don’t show in other apps. Two cautions: it only protects files you move into it, and Google warns that uninstalling the app or clearing its data can delete what’s inside, so keep a copy elsewhere.
Folder lock without software: the hiding tricks
“Folder lock without software” is a common search. Here’s what those methods really do.
- Add a dot to the folder name (for example
.receipts). Most file managers hide it until you turn on “show hidden files”. One tap undoes it. - Put an empty
.nomediafile in the folder. Gallery apps stop indexing it. File managers and computers still open the photos normally. - Hide an album in the gallery. The album tile disappears; the files don’t move and aren’t locked.
None of these needs a password to reverse. They keep a casual glance away, nothing more. If you’re after photos specifically, our gallery lock guide covers each brand’s private album.
Every method compared
| Method | Phones | Needs a password | Files encrypted | Main risk |
|---|---|---|---|---|
| Dot name or .nomedia | Any | No | No | Any file manager shows it |
| Samsung Secure Folder | Galaxy | Yes, its own | Yes | Needs a Samsung account |
| Xiaomi private files | Xiaomi, Redmi, POCO | Privacy password | Xiaomi calls it encrypting | Brand-specific |
| Private Safe | OPPO, realme, OnePlus | Privacy password | Varies by version | Brand-specific |
| Private space | Android 15+ | Yes, its own | Yes | Newer phones only |
| Files by Google Safe folder | Any | PIN or pattern | Not stated | Uninstalling or clearing data can delete files |
| Folder lock app | Any | Yes, its own | Only if the app says so | Many only hide files |
What “encrypted” changes, and why it matters for folders
A lock screen controls who can open an app. Encryption controls who can read the files, wherever they end up. That difference shows up in real situations:
- You plug the phone into a computer to charge or copy music. A hidden folder is right there in the file list. An encrypted file is noise.
- You give the phone to someone with a file manager app. Folder lock apps that just move files into a renamed folder are found in a minute.
- The phone is lost while unlocked, or sent for repair. Only encrypted files stay private when the phone itself is open.
Search terms like “folder lock encryption for Android” are really asking this: does the app scramble the files, or just hide them? The app’s store listing or website should answer clearly. If it only says “secure” or “private”, assume hiding.
Keep them locked, offline
Sealcloak encrypts your photos, videos and files on your phone. No account, no cloud, no internet permission.
Choosing a folder lock app
If your phone has no built-in secure area, or you want the same lock on any phone you own, an app is the only route. Check for these before you trust one with a folder of private files:
- Files encrypted on the phone, not just moved.
- A lock that isn’t your screen lock, so people who know your phone PIN still can’t get in.
- No account and no upload. More in photo vault apps without an account.
- A recovery code you write down, and encrypted backups you control.
- Folders inside the app, so your structure survives the move.
Sealcloak is one app built this way. Files you add are encrypted on the phone with AES-256-GCM, the vault opens with its own 5×5 pattern (fingerprint optional), and there’s no account and no internet permission at all. Inside, you can make folders and keep photos, videos, PDFs and other documents, audio and text notes, with search and move or copy between folders. If you forget the pattern, a 9-word recovery phrase gets you back in. It can’t lock a folder where it sits: you add the files to the vault, check they open, then delete the originals yourself. The free plan holds 100 photos, 10 videos, 10 documents and 10 audio files; Pro removes the limits (see all features). The security page explains the encryption in detail.
Locking a folder with Sealcloak, step by step
- Install Sealcloak and draw a pattern of at least 6 dots on the 5×5 grid.
- Write the 9-word recovery phrase on paper and keep it somewhere safe.
- Create a folder in the vault with the same name as the one you’re locking.
- Tap + and add the files: images, videos, documents or audio.
- Open a few to check they work, then delete the originals from your phone’s file manager.
- Set up an encrypted backup to a folder you choose, by hand or on a weekly or monthly schedule.
Paper documents can go in without ever touching the gallery: the built-in scanner makes a PDF inside the vault. If you also want the app itself to look ordinary, see how to hide apps on Android.
Mistakes to avoid
- Copying instead of moving. The unlocked originals stay where they were. Check the old folder, Downloads and WhatsApp’s media folders afterwards.
- Trusting a dot or .nomedia. It’s a curtain, not a lock.
- Reusing your phone’s PIN. Anyone who has seen you unlock the phone has the key.
- No backup. Secure folders and vault apps live on the phone. A reset, an uninstall or a lost phone takes them with it.
- Losing the recovery code. Apps that truly encrypt can’t reset your access for you.
Bottom line
You can’t password-protect a folder in place on Android, but you can move its contents somewhere locked. On Samsung, Xiaomi, OPPO, realme and OnePlus, the built-in secure area is a good free start. On Android 15, Private space adds a full separate profile. For one lock that works the same on any phone and keeps files encrypted outside the app, use a vault that states its encryption plainly. Photos only? Start with how to hide photos on Android.
Frequently asked questions
Can I put a password on a folder in Android without an app?
Not on a normal folder. Android has no setting to password-protect a single folder in place. Without installing anything you can use your phone's own secure area (Secure Folder on Samsung, private files on Xiaomi, Private Safe on OPPO, realme and OnePlus) or Android 15's Private space, and move the files into it.
Does renaming a folder with a dot or adding .nomedia lock it?
No. A dot at the start of the name or a .nomedia file only stops the gallery and some file managers from showing the contents. Any file manager with 'show hidden files' turned on, or a computer over USB, can open them with no password.
What is the best folder lock app for Android?
Pick one that encrypts the files themselves, uses a lock separate from your phone's screen lock, needs no account and gives you a written recovery code. Avoid apps that only hide files behind a password screen, because the files stay readable with a file manager.
If I uninstall a folder lock app, what happens to my files?
With an app that encrypts, the files go with it unless you made a backup or moved them out first. Built-in secure folders can also be wiped by a factory reset. Always move files out or back them up before uninstalling or resetting.
Can I lock an SD card folder on Android?
Built-in secure folders usually copy files into protected internal storage rather than locking the SD card folder. Files left on the card stay readable in any card reader, so move them into an encrypted vault and delete the card copies.
Gallery lock on Android: every way to lock your photos
Built-in private albums, Google Photos Locked Folder, Private space or a vault app, and what each one really protects.
How to hide photos on Android (5 ways, from quick to truly private)
Archive, Locked Folder, Secure Folder, Private space or a vault app. What each one really protects.
How to hide apps on Android, and make a vault look like something else
Launcher hiding, Private space, Secure Folder or a disguised icon. What each one really hides.