How to Password Protect Photos in a Zip File on iPhone
Zipping photos in the Files app, adding a password on a computer, what a zip password covers, and a simpler way to lock photos on iPhone.
Quick answer
The iPhone Files app can compress photos into a zip, but Apple's steps include no password option. A password has to be added on a computer or with a third-party app, and the originals stay in Photos until you delete them.
- On the iPhone
- Files > Select > More > Compress makes a plain zip. Apple's ZIP article mentions no password or encryption setting.
- With a password
- Use a computer: 7-Zip on Windows offers AES-256 for zip files; Disk Utility on a Mac makes an encrypted disk image instead.
- What stays open
- The original photos in the Photos library, Recently Deleted and iCloud Photos, plus any unzipped copy.
- When to use a vault
- When photos should stay viewable on the iPhone behind a code of their own, without unzipping and re-zipping each time.
Best overall: Stash
A zip is a way to pack files, and the iPhone's Files app makes it without any password. Stash locks photos on the iPhone itself: a working calculator that opens an encrypted vault with a PIN of your own. Imported photos and videos are encrypted on the device with AES-256, stay viewable inside the vault, and sit outside the Photos library, so iCloud Photos does not upload them. Stash is free to download with no ads, so the PIN and the encrypted vault are ready from the first launch.
The Files app zips photos without a password
The iPhone can make zip files on its own, in the Files app. Apple's article Create or open ZIP files on your iPhone, iPad, or Apple Vision Pro gives the steps, as of 2 December 2026: select files, tap More, tap Compress. The same article explains how to open a zip and how to rename one. It does not mention a password, encryption or any lock for the archive. There is no step where a password could go.
That is the claim in the title of this page. If you want a zip of photos that asks for a password, the password has to come from somewhere other than the Files app: a computer, or a third-party app.
Before deciding whether that is worth the effort, it helps to know three things:
- Photos in the Photos app are not files yet. They live in the photo library. To zip them, you first export them to the Files app.
- A zip holds copies. The originals stay in the Photos library, in iCloud Photos and on your other devices until you delete them.
- A zip is closed storage. To look at one photo, the archive has to be opened, which leaves an unzipped folder behind.
If your goal is to send a set of photos as one file, a zip is the right tool. If your goal is to keep photos private on the phone, read the section on what a zip password covers before you start.
How to zip photos on iPhone
These steps use only Apple's apps and were checked against Apple's articles on 2 December 2026. They make a plain zip with no password.
Step 1: Save the photos to the Files app
Apple describes this in Download iCloud photos and videos:
- Open Photos and go to your Library.
- Tap Select and choose the photos and videos.
- Tap the Share button, then Export Unmodified Originals.
- Files opens at iCloud Drive. To keep the copies off iCloud, tap the back arrow and choose On My iPhone under Locations.
- Tap Save.
Saving to On My iPhone matters. A file in iCloud Drive is stored in iCloud too, and under standard data protection Apple lists iCloud Drive as encrypted in transit and on the server, with the keys held by Apple (iCloud data security overview).
Step 2: Compress them
- Open Files and go to the folder where you saved the photos.
- Tap the More button (•••), then Select.
- Choose the photos.
- Tap the More button in the lower right, then Compress.
Apple notes that one file becomes a zip with the same name, and several files become Archive.zip. To rename it, touch and hold the zip and choose Rename. On iPad, tap Select at the top, choose the files, then More and Compress.
Step 3: Open a zip later
Tap the zip in Files. Apple says this creates a folder with the contents next to the archive. That folder is unprotected, so delete it when you are done looking.
How to add a password: on a computer
Since the Files app has no password setting, the usual route is a computer.
On Windows with 7-Zip
7-Zip is a free archiver for Windows. Its home page lists "Strong AES-256 encryption in 7z and ZIP formats" as of 2 December 2026, and its command-line documentation lists the zip encryption methods as ZipCrypto, AES128, AES192 and AES256, with ZipCrypto as the default.
- Copy the photos from the iPhone to the PC.
- Right-click the folder, choose 7-Zip, then Add to archive.
- Set the archive format to zip.
- Type the password twice under Encryption.
- Set the encryption method to AES-256.
- Click OK, then copy the zip back to the iPhone through the Files app.
Before you delete anything, open the new zip on the iPhone. Apple's ZIP article does not say whether Files can open a password-protected zip, or which encryption methods it reads. If Files cannot open it, you need a third-party unzip app on the phone to see those photos again.
On a Mac: an encrypted disk image
Apple's documented way to put a password on a folder on a Mac is not a zip but an encrypted disk image. From Apple's Disk Utility guide, Create a disk image, as of 2 December 2026:
- Open Disk Utility.
- Choose File > New Image > Image from Folder.
- Select the folder of photos and click Open.
- Name the image and choose where to save it.
- Choose an option in the Encryption pop-up menu and set the password.
- Choose a format in Image Format, click Save, then Done.
Apple's warning applies to every option on this page: "If you forget this password, you won't be able to open the disk image and view any of the files." Apple's iPhone guides do not describe opening a disk image on iPhone, so treat this as a way to archive photos on the Mac, not to carry them on the phone.
With a zip app on the iPhone
Some App Store apps create password-protected zips directly on the iPhone. Check which encryption method the app uses (AES-256 if it offers a choice), and test the zip on the device where you will open it before deleting the originals.
What a zip password covers and what it leaves open
A password on a zip protects the contents of that one archive. Everything around it is unchanged. This table sums up where the photos still are, based on the Apple pages linked on this page as of 2 December 2026.
| Where the photo is | Protected by the zip password? | What to do |
|---|---|---|
| Inside the password-protected zip | Yes | Keep the password somewhere safe; a lost password means a lost archive |
| The original in the Photos library | No | Delete it in Photos |
| Recently Deleted in Photos | No | Apple keeps deleted photos there for 30 days; delete them there too |
| iCloud Photos and your other devices | No | Deleting with iCloud Photos on removes them from your other devices |
| The plain copies you exported to Files | No | Delete them, then empty Recently Deleted in Files |
| A folder created by opening the zip | No | Delete it after viewing |
| File names inside the zip | Possibly not | The ZIP specification treats encryption of the file list as an optional extra, so rename photos before zipping |
The last row is easy to miss. The ZIP format specification describes encryption of the archive's central directory, where file names are kept, as additional security that may be used, not as the standard. Names such as "IMG_4021.jpg" give little away; a name like "passport-front.jpg" does.
Apple's deletion rules, from Delete photos on your iPhone or iPad and Delete files or recover deleted files: deleted photos and deleted files each wait 30 days in Recently Deleted, and with iCloud Photos on, a photo deleted on one device is deleted on your other devices. Files you remove from Recently Deleted in the Files app "are deleted immediately and are not recoverable," so check the zip first.
Sending a password-protected zip
A zip is the right tool for sending several photos as one file. A few rules make it work better:
- Send the password a different way. If the zip goes by email, send the password in a separate message or tell the person in person. A password in the same email gives the archive away with it.
- Use AES-256 if your tool offers it, and a long password, not a short code.
- Remember the copies. Mail and messaging apps keep the sent file in their own history, on your device and the other person's.
- Check that the other person can open it. Not every unzip tool reads every encryption method.
When a zip is enough
A password-protected zip does the job when:
- You want to send or hand over a set of photos as one file.
- You want an archive of old photos on a computer or a drive, and you rarely need to open it.
- You have deleted the originals in Photos, emptied Recently Deleted and removed the plain copies in Files.
- You keep the password in a password manager such as the iPhone's Passwords app.
When you need more than a zip
A zip is closed storage, and that becomes awkward on a phone. Look at a vault when:
- You want to look at the photos on the iPhone. Every view means unzipping, which leaves an unprotected folder behind.
- You add photos often. Adding to a protected zip usually means making a new archive.
- You want to make the zip on the iPhone. The Files app has no password option, so it means a computer or a third-party zip app.
- You want videos, PDFs and notes in the same place, browsable and searchable without unpacking.
How to password protect photos on iPhone with Stash
Stash is a vault that looks and works like a calculator. Typing your PIN opens the vault, where photos and videos stay viewable one by one, with nothing to unpack. Each item is encrypted on the device with AES-256 before it is saved, with the key in the iOS Keychain, and the files stay inside the app, outside the Photos library.
- Install Stash on your iPhone or iPad (iOS 15 or later).
- Choose a PIN and write down the recovery key that Stash shows once during setup.
- Tap + and import the photos and videos from your library. If they are in a zip, open the zip in Files first and import the photos from the unzipped folder.
- Open a few imported photos to check them.
- Delete the originals in Photos and empty Recently Deleted. Importing copies a photo, so the originals stay until you delete them.
- Delete the zip and any unzipped folder in Files, then empty Recently Deleted in Files.
- Optional: sort the photos into albums, turn on Face ID or Touch ID and auto-lock. Premium adds a guest PIN that opens a separate vault and an encrypted backup to your own iCloud Drive or Google Drive, started by you.
FAQ
Can I password protect a zip file on iPhone?
Not with the Files app. Apple's ZIP article describes Compress and opening zips, with no password option. Use a computer or a third-party zip app.
How do I zip photos on iPhone?
Save them to Files first: in Photos, tap Select, choose the photos, tap Share and then Export Unmodified Originals, and save them. In Files, select them and tap More, then Compress.
Why is my zip called Archive.zip?
Apple names the archive Archive.zip when you compress several files. Touch and hold it and choose Rename to change the name.
Can the iPhone open a password-protected zip?
Apple's article does not say. Test with a copy before deleting anything, and keep a third-party unzip app in mind if Files does not open it.
Which encryption should a photo zip use?
AES-256 if your tool offers it. 7-Zip lists AES-256 for zip files but uses ZipCrypto unless you change the setting.
Does zipping photos remove them from my iPhone?
No. The zip holds copies; the originals stay in Photos, in Recently Deleted after you delete them, and in iCloud Photos until they are removed there.
Can I lock a folder of photos in the Files app?
Apple's Files app has no password for a single folder. You can lock the whole Files app with Face ID, or move the photos into a vault with its own PIN.
Can I send a password-protected zip by email?
Yes, as an attachment. Send the password through a different channel, and remember that the sent email keeps a copy.
The Bottom Line
The iPhone Files app can compress photos into a zip, but Apple's own ZIP article describes no password option, so a password-protected photo zip cannot be made with Apple's tools alone. That is the claim in the title. The password has to come from a computer, such as 7-Zip with AES-256 on Windows or an encrypted disk image on a Mac, or from a third-party app.
The table above shows the bigger issue. A zip password protects only the archive: the originals in Photos, Recently Deleted, iCloud Photos and any exported or unzipped copy stay open until you delete them, and file names may stay readable.
For sending a set of photos, a password-protected zip is fine. For keeping photos private on the iPhone and still looking at them, a vault with its own PIN does the job without unpacking anything. Delete the originals, empty Recently Deleted, and keep a strong iPhone passcode on top.
·Written by the developer of Stash
Save this guide
Download this guide as an image