How to encrypt photos on Android

Three ways to encrypt photos on Android, with steps for each and a plain comparison of what each one protects.

Part of: Encryption and securityUpdated November 24, 20269 min read

To encrypt photos on Android, start with what your phone already does: Android encrypts its storage, and a screen lock is what makes that encryption count. For a second layer that stays locked while the phone is unlocked, you have three options: Google Photos Locked Folder (any Android 6+ phone with Google Photos), Samsung Secure Folder (Galaxy phones), or a dedicated encrypted vault app such as HideBerry. Each one is set up in a few minutes. They differ in whether they use your screen lock or their own code, whether they use a cloud account, and what happens if you forget the code. The steps for all three are below, followed by a table of what each protects, so you can pick the one that fits.

This page is part of photo encryption and security explained.

Step 1: Make your phone's own encryption count

Android phones encrypt user data on storage. Google's Android documentation says full-disk encryption is not allowed on new phones running Android 10 and higher, which use file-based encryption instead. You don't switch this on; it is part of the phone.

What you control is the screen lock. File-based encryption keeps private data protected until the phone is unlocked, and your screen lock is what stands between someone holding the phone and that unlock. With no PIN, pattern or password, the encryption has very little to stand on.

  1. Open Settings and use the search bar to find Screen lock (the menu it sits under differs by phone maker and Android version).
  2. Choose PIN, Pattern or Password. A PIN of 6 digits or more, or a password, is stronger than a short pattern; the numbers are on PIN vs pattern.
  3. Set the phone to lock itself soon after the screen turns off.

What this protects: a phone that is off, or restarted and not yet unlocked. What it doesn't: once you unlock the phone, your photos are readable in the gallery, to apps with photo access, and to anyone you hand the phone to.

That gap is why the next options exist.

Option A: Google Photos Locked Folder

Locked Folder is built into the Google Photos app. These are the steps on Google's help page as of November 2026 (names may differ slightly between app versions):

  1. Open Google Photos and tap Collections at the bottom.
  2. Tap Locked, then Set up Locked Folder.
  3. Follow the prompts to unlock with your phone's screen lock.
  4. To move a photo in: tap Photos, select the photo or video, tap Add to, then Move to Locked Folder, then Move.

What Google says about it: it needs Android 6 or later and a screen lock; its password is your screen lock, with no separate one; items don't appear in the Photos grid, memories, search or albums, and aren't available to other apps that have photo access; it is "protected by Google Photos' standard encryption practices". Backing up the Locked Folder to your Google Account is optional. If you don't back it up, items are lost if you uninstall Google Photos, clear its data, factory reset, or lose the phone.

Good fit if: you already use Google Photos and are happy with your screen lock being the only key. More detail on Google Photos Locked Folder.

Option B: Samsung Secure Folder

Secure Folder is Samsung's private space on Galaxy phones. Samsung's US support page (November 2026) gives this path; menu names can differ by model and One UI version:

  1. Open Settings, then Security and privacy, then More security settings, then Secure Folder.
  2. Sign in to your Samsung account if asked, and go through the permission prompts.
  3. Create a PIN, password or pattern for Secure Folder.
  4. To move photos in, open Secure Folder and add files, or move them in from the Gallery.

Secure Folder has its own code, separate from the screen lock. Samsung also offers an optional enhanced encryption setting inside Secure Folder. If you forget the Secure Folder code, Samsung says you need the "Reset with Samsung account" option turned on to get back in.

Good fit if: you have a Galaxy phone and want a separate space for apps as well as photos. More on Samsung Secure Folder.

Option C: An encrypted vault app (HideBerry as the example)

A dedicated vault app encrypts each item itself, with its own code. These are the steps in HideBerry, which works on Android 9 and newer and is coming soon to Google Play:

  1. Install HideBerry and choose a PIN of at least 6 digits, or a pattern of at least 6 dots on a 3×3 grid. This is HideBerry's own lock, separate from your phone's.
  2. Write down the 12 recovery words on paper. They can't be shown again, and the app asks you for three of them before setup finishes.
  3. Put photos in. Tap to add from the gallery (several at once) through Android's own photo picker, or take photos with HideBerry's in-app camera so they never touch the gallery.
  4. Delete the originals. After checking each copy matches byte for byte, HideBerry offers to delete the original through Android's delete dialog on Android 11 and newer. On Android 9 and 10, delete it in your gallery app yourself.
  5. Make a backup file and save it somewhere off the phone. HideBerry reminds you but never makes or uploads one by itself.

Each item gets its own random 256-bit key and is encrypted with AES-256-GCM, the standard cipher in a mode that also detects tampering. File names, folders and thumbnails are encrypted too. Your PIN goes through Argon2id (a slow, memory-heavy function that makes each guess costly) and is tied to a key in the phone's secure hardware, so files copied off the phone can't be opened with the PIN alone. The full walk-through is on how photo encryption works on Android, and the hardware part on Android Keystore explained.

Good fit if: you want a code separate from your screen lock, no account and no cloud, and you are willing to look after your own recovery words and backup file.

The three options side by side

Phone encryption onlyGoogle Photos Locked FolderSamsung Secure FolderHideBerry
Works onAll current Android phonesAndroid 6+ with Google PhotosGalaxy phonesAndroid 9+
Separate code from screen lockNoNo, uses screen lockYesYes
Kept from other apps with photo accessNoYes, per GoogleKept behind its own codeYes, encrypted inside the app
Account neededNoOptional backup uses your Google AccountSamsung account optional, needed for resetNo account at all
Cloud optionDepends on your settingsOptional Locked Folder backupCheck Samsung's page for your modelNone built in; you save backup files where you choose
If you forget the codeSame as forgetting your screen lockSame as forgetting your screen lockReset with Samsung account, if turned on12 recovery words
If the phone is lostDepends on your backupsLost unless backed upDepends on backupRestore from your backup file with the 12 words

Where the built-in options do better: Locked Folder and Secure Folder are already on the phone, cost nothing, and give you a way back in through an account you already have. HideBerry's trade-off is the opposite: nobody else holds a key, which also means nobody can reset it for you.

Which one should you use?

  • You want the quickest option and use Google Photos: Locked Folder.
  • You have a Galaxy phone and want to lock apps too: Secure Folder.
  • You want a code that isn't your screen lock, no account, and no cloud: a vault app like HideBerry.
  • You share your screen lock with a partner or child: anything that uses the screen lock as its key won't keep things private from them. Choose an option with its own code.
  • You can't keep a paper note safe: be honest about this. With HideBerry, losing both the recovery words and the backup file means losing the vault.

Mistakes that leave photos unencrypted

  • Original still in the gallery. Moving a copy into any locked space does nothing for the original. Delete it.
  • Cloud photo backup made earlier. If Google Photos or another cloud backed up the photo before you moved it, a copy is still there.
  • No screen lock at all. Without one, anyone holding the phone gets further, whichever option you use.
  • Taking a copy out and forgetting it. In HideBerry, Take out saves a normal, unencrypted file, and the app labels it as leaving the vault.
  • Expecting encryption to stop someone watching your screen. It can't. That and other limits are on what a photo vault can't stop.

People Also Ask

Can I encrypt photos on Android without an app? Yes, in part. Your phone already encrypts storage, and Google Photos Locked Folder or Samsung Secure Folder add a locked space without installing anything new on phones that have them. A separate app is mainly worth it if you want a code that isn't your screen lock, or no account at all.

Can I password protect a single photo? Not from the gallery itself on most phones. You move the photo into a locked space (Locked Folder, Secure Folder or a vault app) and the space has the password. In HideBerry, every item is encrypted on its own with its own key, but one PIN opens the vault.

Does encrypting photos use more storage? Very little. Encrypted data is about the same size as the original, plus a small amount for keys and tamper checks. The bigger storage question is the original: if you don't delete it after moving a photo in, you have two copies.

Will encrypted photos survive moving to a new phone? Only if you bring a backup. In HideBerry, you save a backup file off the old phone and restore it on the new one with your 12 recovery words. Nothing from the old phone is needed.

FAQs

Are photos on Android encrypted by default?

The phone's storage is encrypted, and new phones running Android 10 or higher use file-based encryption. That protects the phone while it is off or not yet unlocked. After you unlock, photos are readable to you, to apps with access, and to anyone holding the phone, so a locked folder or vault adds a second layer.

What is the safest way to encrypt photos on Android?

It depends on what you are protecting against. If it is someone who knows your screen lock, use something with its own code (Secure Folder or a vault app). If it is losing the photos, choose an option with a backup you control. No option protects against someone watching the screen or a phone taken over by root access.

Is Google Photos Locked Folder encrypted?

Google's help page says Locked Folder is "protected by Google Photos' standard encryption practices". Its password is the same as your screen lock, and backing it up to your Google Account is optional. Without a backup, items are lost if you uninstall Google Photos, clear its data or lose the phone.

Do I need to delete the original after encrypting a photo?

Yes. Encrypting a copy leaves the original readable in the gallery and in any cloud photo backup. HideBerry checks the copy byte for byte, then offers to delete the original through Android's own dialog on Android 11 and newer.

Can I encrypt photos without an internet connection?

Yes. Phone encryption and an offline vault app both work with no connection. HideBerry doesn't even have Android's internet permission, so it can't send anything over the internet; purchases go through the Play Store app. Google Photos Locked Folder works on the phone too, with an optional cloud backup.

Start encrypting your photos with HideBerry

If you want your own code, no account and no cloud, HideBerry is coming soon to Google Play, free for up to 50 items with every feature. See what it does on HideBerry features, including what it can't protect against.

Sources

Keep private photos private

HideBerry encrypts photos, videos, notes and files on your Android phone. No account, no cloud, no ads. Free for up to 50 items, with every feature.

Coming soon toGoogle PlaySee how it works