How to encrypt photos on iPhone

Updated 26 October 2026 6 min readChecked against iOS 27

Quick answer

Your iPhone already encrypts every photo stored on it once you set a passcode, using Apple’s Data Protection. What isn’t on by default is end-to-end encryption for iCloud Photos: turn on Advanced Data Protection under Settings > your name > iCloud (new users in the UK can’t). For a separate password, use a locked note with a custom password or a vault app.

Keep your private photos encrypted behind a pattern of your own

Hideroom is coming to iPhone. One email when it launches, then we delete your address.

Which phone?

One email when Hideroom launches on iPhone. Then we delete your address. Privacy

On this page

If you want to encrypt photos on iPhone, the good news is that most of the work is already done: once you set a passcode, every photo stored on the phone is encrypted. The gaps are elsewhere. Your iCloud copies use keys Apple holds unless you turn on Advanced Data Protection, and on the phone your passcode opens Photos unless you add another lock. This guide covers what’s already encrypted, how to add end-to-end encryption in iCloud, and how to put a separate password on photos, checked against Apple’s documentation for iOS 27.

Are photos on iPhone already encrypted?

Yes. Apple says that setting up a passcode on iPhone automatically turns on Data Protection, the system that encrypts files on the phone’s storage and ties their keys to your passcode.

Here’s what that means in practice. Each file gets its own key when it’s created and is encrypted with AES by dedicated hardware as it’s written to storage. Apple’s user guide describes this as 256-bit AES; its security guide notes that iPhones with the A9 to A13 chips use AES-128 for this step. Your passcode is tied to a secret built into that particular phone, so anyone trying to guess it has to do so on the phone itself.

So if your phone is lost while locked, the photos on it are protected by real encryption. The things to check are simple:

  1. Open Settings and tap Face ID & Passcode (or Touch ID & Passcode).
  2. Tap Turn Passcode On if you don’t have one yet, or Change Passcode to make it stronger.
  3. Tap Passcode Options for a longer code. Apple says Custom Alphanumeric Code and Custom Numeric Code are the most secure options, and a longer passcode adds strength to the keys that protect your data.

What Data Protection doesn’t do is keep out someone who knows your passcode. Unless you’ve locked the Photos app separately, unlocking the phone opens Photos too.

Is the Hidden album encrypted?

Not separately. Hidden photos are encrypted on the phone in the same way as every other photo, but Apple doesn’t describe any extra encryption or separate password for the Hidden album. It’s locked by default with Face ID, Touch ID or your passcode on iOS 16 and later, which keeps it out of sight, not out of reach of anyone with your passcode.

There’s one more detail. Even with Advanced Data Protection on, Apple lists whether a photo is marked as hidden among the details it keeps under standard protection, along with favourites, view counts and when each item was created on the device. Our guide on how to hide photos on iPhone covers what Hidden does and doesn’t do in more detail.

How to encrypt photos in iCloud with Advanced Data Protection

By default, iCloud Photos uses what Apple calls standard data protection. Your photos are encrypted in transit and on Apple’s servers, but Apple holds the keys, which is how Apple can help you get back in if you’re locked out.

Advanced Data Protection changes that. With it on, your iCloud photo library becomes end-to-end encrypted, along with iCloud Backup, iCloud Drive, Notes and six other categories, and only your trusted devices hold the keys. Apple lists a few exceptions: Shared Albums don’t get this protection, and some details about each photo stay under standard protection.

Before you start, you need two-factor authentication on your Apple Account, a passcode on your device, iOS 16.2 or later, and every device signed in to your account updated too. Then:

  1. Update your iPhone to the latest software.
  2. Open Settings, tap your name, then tap iCloud.
  3. Scroll down and tap Advanced Data Protection.
  4. Tap Turn on Advanced Data Protection.
  5. Follow the steps to set up a recovery contact or a recovery key.

Turning it on from one device turns it on for your whole account.

Careful

With Advanced Data Protection on, Apple doesn’t hold the keys to your end-to-end encrypted data, so it can’t help you recover it. To get back in, you’ll need a device passcode or password, your recovery contact or your recovery key. Keep the recovery key somewhere safe and away from the phone.

If you’re in the UK, you can’t newly turn this on. Apple says it can no longer offer Advanced Data Protection to new users in the UK, and that existing UK users will be given time to turn it off if they want to keep using iCloud. Without it, your iCloud photos use standard protection, where Apple holds the keys; is iCloud encrypted? lists exactly what that covers. A locked note with a custom password, or a vault app that encrypts on the phone, are the ways to keep a private copy encrypted without it.

Want to know the day Hideroom is ready?

Hideroom is coming to iPhone. One email when it launches, then we delete your address.

Which phone?

One email when Hideroom launches on iPhone. Then we delete your address. Privacy

How to password protect photos on iPhone with Notes

Notes gives you a built-in way to encrypt photos with a password of your choosing. Apple says locked notes are end-to-end encrypted with a key made from your password, and that images attached to them are encrypted too.

First, set how locked notes open:

  1. Open Settings, tap Apps, then tap Notes.
  2. Tap Password, and choose the account if you have more than one.
  3. Choose Use Custom Password to set one that’s different from your passcode. You can also turn on Face ID.

Then lock a note with your photos in it:

  1. In Notes, create a note and add your photos with the Attachments button.
  2. Tap the Note Actions button, then tap Lock.
  3. Tap the padlock to close the note, then reopen it to check it asks for your password (or the Face ID you turned on). Notes also locks it when your phone locks.

Three limits are worth knowing. Videos can’t go in a locked note, because Apple only encrypts certain attachment types, such as images, sketches and tables. The original photos are still in your library; if you want them gone, first reopen the note and check every photo is there, then delete them from Photos and from Recently Deleted (with iCloud Photos, that deletes them on your other devices too). And if you forget a custom password, resetting it only works for notes you lock afterwards; the old notes still need the old password.

Our guide to locking photos on iPhone compares this with locking the Hidden album and the Photos app.

Which option should you use?

Option What it encrypts Who holds the key Separate password
Passcode (Data Protection) Files on the phone, including Photos Keys on the phone, protected by your passcode No
Standard iCloud Your iCloud photos Apple No
Advanced Data Protection Your iCloud photo library, end to end (not Shared Albums) Your trusted devices No
Locked note with a custom password Photos you add to the note You, through the note’s password Yes
Vault app Depends on the app Depends on the app Usually; check before choosing

Start with a strong passcode, and add Advanced Data Protection where it’s offered. If you need photos that stay encrypted behind something other than your passcode, a locked note with a custom password works for a few pictures. For a larger collection or videos, look at a vault app, and check how it encrypts, backs up and recovers before you trust it.

Where Hideroom fits

A good vault app keeps photos in its own encrypted storage, away from your photo library, behind a code that isn’t your passcode. The catch is that once you delete the originals, the vault may hold your only copy, so check how it backs up before you trust it. Hideroom, coming to iPhone soon, is our answer to that: each room opens with a pattern you draw, photos are encrypted on your phone with AES-256-GCM before anything is backed up, and the encrypted backup in your own iCloud is checked after every upload. With Pro, a different pattern opens a different room, which the Hidden album can’t give you. Our security page explains the design and its limits.

If you’re moving to a new phone and want to know what happens to your hidden and encrypted photos, read do hidden photos transfer to a new iPhone next.

Questions

Is the Hidden album encrypted?

Hidden photos get the same encryption as the rest of your library, and Apple doesn’t describe any extra encryption for the Hidden album. It’s locked by default with Face ID, Touch ID or your passcode, so in most cases anyone who knows your passcode can open it. Even with Advanced Data Protection on, Apple says whether a photo is marked as hidden stays under standard protection.

Are my iPhone photos encrypted if I don’t have a passcode?

Apple says that setting up a passcode automatically turns on Data Protection on iPhone, because the passcode protects the keys that encrypt your files. So the first and most important step is to set one, and a longer passcode makes those keys stronger. Without one, anyone holding the phone can open Photos anyway.

Can Apple see my photos in iCloud?

With standard data protection, your iCloud photos are encrypted in transit and on Apple’s servers, but Apple holds the keys. With Advanced Data Protection on, your iCloud photo library is end-to-end encrypted and only your trusted devices hold the keys, though Apple notes exceptions such as Shared Albums and some details about each photo.

Can I encrypt videos in a locked note?

No. Apple lists images, sketches, tables, maps and websites as attachments a locked note can encrypt, and notes with other attachments, such as videos, can’t be locked. For videos, look at Advanced Data Protection where it’s offered, or a vault app that says it encrypts videos.

What happens if I forget the password to a locked note?

You can reset the Notes password, but the reset only applies to notes you lock afterwards. Apple says notes locked with the old password still need that password, although Face ID or Touch ID may still open them if you set it up before. Write the password down somewhere safe.

Written with AI research help, and checked against the sources below on 26 October 2026.How we write guides

Sources

  1. Set a passcode on iPhone, Apple iPhone User Guide, checked 26 October 2026
  2. Passcodes and passwords, Apple Platform Security, checked 26 October 2026
  3. Data Protection overview, Apple Platform Security, checked 26 October 2026
  4. Hide photos on your iPhone, iPad, Mac, or Apple Vision Pro with the Hidden album, Apple Support, checked 26 October 2026
  5. iCloud data security overview, Apple Support, checked 26 October 2026
  6. How to turn on Advanced Data Protection for iCloud, Apple Support, checked 26 October 2026
  7. Apple can no longer offer Advanced Data Protection in the United Kingdom to new users, Apple Support, checked 26 October 2026
  8. Secure features in the Notes app, Apple Platform Security, checked 26 October 2026
  9. Lock your notes on iPhone, Apple iPhone User Guide, checked 26 October 2026

Spotted something out of date? Email support@hideroom.app.

Be first in when the door opens.

Which phone?

One email when Hideroom launches on iPhone. Then we delete your address. Privacy