How to Delete Photos From iPhone but Keep Them in iCloud
Why deleting on iPhone deletes in iCloud too, how Optimize Storage and Remove from iPhone keep the iCloud copy, and where photos go instead.
Quick answer
With iCloud Photos on, you cannot delete a photo on the iPhone alone: Apple deletes it on every device and in iCloud. To keep the iCloud copy, use Optimize iPhone Storage, or turn off Sync this iPhone and choose Remove from iPhone.
- Why it deletes
- iCloud Photos is one library on every device. A deletion on the iPhone goes to Recently Deleted everywhere and is gone after 30 days.
- Free up space
- Optimize iPhone Storage keeps full-resolution originals in iCloud and smaller copies on the phone. Nothing is deleted.
- Phone empty, iCloud full
- Settings > [your name] > iCloud > Photos > turn off Sync this iPhone > Remove from iPhone. The photos stay in iCloud.
- When to use a vault
- When the photos should leave the Photos library and iCloud Photos altogether and open with a code of their own.
Best overall: Stash
iCloud Photos keeps one library on every device, so a photo deleted on the iPhone is deleted in iCloud too, and a photo kept in iCloud stays visible on every device and at iCloud.com. Stash gives private photos a place outside that library: a vault that opens as a working calculator, behind a PIN you choose. Imported photos are encrypted on the iPhone with AES-256 and are not uploaded by iCloud Photos. A Premium backup to your own iCloud Drive or Google Drive runs only when you start it. Stash is free to download with no ads.
Why deleting on iPhone deletes in iCloud too
Most people picture two copies: one on the phone and one in the cloud. iCloud Photos does not work that way. It keeps one library and shows it on every device signed in to the same Apple Account. Apple's article Set up and use iCloud Photos puts it plainly, as of 2 December 2026: "Changes you make on one device change on your other devices too."
A deletion is a change like any other. Apple's page Delete photos on your iPhone or iPad says that with iCloud Photos on, a deleted photo "gets deleted on all other devices where you're signed in with the same Apple Account." It goes to Recently Deleted for 30 days, and after that it is gone from the iPhone, the iPad, the Mac and iCloud at once.
So the search "delete photos from iPhone but keep in iCloud" has a two-part answer. While Sync this iPhone is on, there is no delete that touches only the phone. What you can do is either make the phone keep less without deleting, or stop the phone from syncing first and then remove its copy.
Check whether iCloud Photos is on
On iOS 26 and iOS 27:
- Open Settings and tap your name.
- Tap iCloud, then under Saved to iCloud tap Photos.
- Look at Sync this iPhone.
If it is on, every deletion syncs. If it is off, the photos on the phone are a separate copy, and deleting them does not touch iCloud Photos; but then you also need to know where else those photos are, for example in an iCloud backup (see are hidden photos backed up to iCloud for how backups treat photos).
Way 1: free up space without deleting anything
If the goal is storage, there is no need to delete. Optimize iPhone Storage keeps the full-resolution originals in iCloud and leaves smaller versions on the phone. Apple's page Manage your photo and video storage says, as of 2 December 2026, that Optimize Storage is on by default and that with it on, "full-resolution photos and videos are stored in iCloud."
- Open Settings, tap your name, then iCloud.
- Under Saved to iCloud, tap Photos.
- Tap iPhone Storage, then choose Optimize Storage (older iOS versions: Optimize iPhone Storage).
Apple describes the result as the device keeping "space-saving versions of your photos and videos" while iCloud holds the originals. Every photo still appears in the library on the phone, and nothing leaves iCloud.
Way 2: remove the photos from the phone and keep them in iCloud
If you want the photos off the iPhone completely and only in iCloud, change the order: first stop syncing, then remove the phone's copy. Apple's article How to turn off iCloud Photos describes it as of 2 December 2026:
- Open Settings, tap your name, then iCloud.
- Under Saved to iCloud, tap Photos.
- Turn off Sync this iPhone.
- Choose Remove from iPhone.
Remove from iPhone takes the iCloud Photos library off the phone without saving a copy there. The photos stay in iCloud, where you can open them at icloud.com/photos and on your other devices. The other choice, Download Photos & Videos, does the opposite: it keeps a copy of everything on the phone.
Two things to know before you do this:
- Do not choose the account-wide switch. Turning off iCloud Photos for the whole account is a different action. Apple says photos are then deleted from iCloud 30 days after you stop using the service, unless you tap Undo Delete in time.
- Turning sync back on brings the photos back. iCloud Photos keeps the same library on every device that syncs, so switching Sync this iPhone on again fills the phone with the iCloud library once more.
Photos synced from a computer: why you cannot delete them on the iPhone
Some photos on an iPhone did not come from its camera or from iCloud but from a Mac or PC through the Finder (or iTunes on older systems). This is the "how to remove computer photos from iPhone" case. Apple's article Sync your photos manually using the Finder says, as of 2 December 2026, that this kind of sync is for people who do not use iCloud Photos, and that to remove synced photos you "turn off syncing in the Finder and your device will remove them."
- Connect the iPhone to the computer and select it in the Finder sidebar (on Windows, the Apple Devices app).
- Open the Photos tab.
- To remove all synced photos, deselect Sync Photos and click Remove photos. To remove only some, choose Selected albums and deselect the albums you no longer want on the phone.
- Click Apply.
The photos stay on the computer they came from; only the phone's synced copy goes.
Where a photo still is after each choice
This table sums up what each option does, based on the Apple pages linked above, as of 2 December 2026.
| What you do | On this iPhone | In iCloud Photos | On your other devices and iCloud.com |
|---|---|---|---|
| Delete with iCloud Photos on | In Recently Deleted for 30 days, then gone | Deleted after 30 days | Deleted after 30 days |
| Optimize Storage | A space-saving version | Full-resolution original | Yes |
| Sync this iPhone off, then Remove from iPhone | No | Yes | Yes |
| Sync this iPhone off, then Download Photos & Videos | A full copy | Yes | Yes |
| Turn off iCloud Photos for the whole account | Only what you downloaded first, as Apple advises | Deleted after 30 days, unless you tap Undo Delete | Deleted from iCloud with it |
| Uncheck Sync Photos in the Finder | Removed | Not involved | The computer keeps its copy |
| Move into a vault app, delete the original, empty Recently Deleted | Only inside the vault | No | No |
Read the third and fourth columns together. Keeping a photo in iCloud means keeping it on every device that syncs and at iCloud.com. For holiday pictures that is exactly what you want. For a private photo it means one more place where it can be opened by anyone signed in to that account.
How Recently Deleted fits in
Every deletion in Photos passes through Recently Deleted. Apple says items stay there for 30 days and are then removed permanently (Delete photos on your iPhone or iPad). If you deleted something by mistake while iCloud Photos was on:
- Open Photos, tap Collections and scroll to Utilities.
- Tap Recently Deleted and unlock it with Face ID, Touch ID or the passcode.
- Select the photo, tap More (•••), then Recover.
The photo goes back to the library, and with iCloud Photos on, back to every device. More on the 30-day window in recently deleted photos on iPhone.
When iCloud Photos is enough
For most people the built-in options cover it:
- The phone is full. Optimize Storage, and nothing has to be deleted.
- A phone used only for a while, such as a trip phone or an old iPhone in a drawer: turn off Sync this iPhone and choose Remove from iPhone; the library stays in iCloud.
- Old photos synced from a computer: uncheck them in the Finder.
- You are the only person on your Apple Account, and the photos can safely appear on your iPad and Mac.
When you need more than iCloud Photos
The table above shows the catch: a photo that stays in iCloud stays visible wherever the account is signed in. Look at a separate vault when:
- The photo should be off the phone and out of iCloud Photos too. Deleting it in Photos removes it from both, so it has to be stored somewhere else first.
- Another person uses a device on your account, such as a family iPad or a shared Mac. iCloud Photos shows them the same library.
- The photo needs a code that is not the phone's passcode. iOS has no second password for Photos or for iCloud Photos.
- Apple holds the keys. Apple's iCloud data security overview lists Photos under standard data protection as encrypted in transit and on the server, with the keys held by Apple; only Advanced Data Protection makes it end-to-end encrypted.
How to move photos out of the library with Stash
Stash looks and works like a calculator. Your PIN opens a vault where photos and videos are encrypted on the iPhone with AES-256, with the key kept in the iOS Keychain. The vault sits inside the app, outside the Photos library, so iCloud Photos does not upload its files, and deleting the originals in Photos leaves the vault copy untouched.
- Install Stash on your iPhone or iPad. It runs on iOS 15 or later.
- Choose your PIN and write down the recovery key that Stash shows once during setup. It restores access if you forget the PIN.
- In the vault, tap + and import the photos. Stash copies them into the vault.
- Back in Photos, select the same photos and delete them. With iCloud Photos on, this removes them from iCloud and your other devices too, which is the point here.
- Open Utilities > Recently Deleted and delete them there as well, so they are gone now rather than in 30 days.
- Optional, with Premium: start an encrypted backup of the vault to your own iCloud Drive or Google Drive. It runs only when you start it.
Do the import before the delete. The order is what keeps the photos safe: copy first, check them in the vault, then remove the originals.
FAQ
If I delete a photo on my iPhone, does it delete from iCloud?
Yes, when iCloud Photos is on. Apple says the photo is deleted on every device signed in with the same Apple Account, after 30 days in Recently Deleted.
How do I delete photos from my iPhone but keep them in iCloud?
Turn off Sync this iPhone in Settings > [your name] > iCloud > Photos and choose Remove from iPhone. The photos stay in iCloud and on your other devices.
Does Optimize iPhone Storage delete my photos?
No. The phone keeps space-saving versions and iCloud keeps the full-resolution originals. Every photo stays in the library.
What is the difference between Remove from iPhone and turning off iCloud Photos?
Remove from iPhone takes the library off one phone and leaves it in iCloud. Turning off iCloud Photos for the whole account deletes the photos from iCloud after 30 days.
Why are deleted photos coming back on my iPhone?
Usually because Sync this iPhone was switched on again, which brings the iCloud library back to the phone, or because a photo was recovered from Recently Deleted on another device.
How do I remove photos synced from my computer?
Connect the iPhone, open the Photos tab in the Finder, deselect Sync Photos or the albums you no longer want, and click Apply. The computer keeps its copies.
Can I keep photos in iCloud but hide them from my iPhone?
Yes, with Remove from iPhone after turning off Sync this iPhone. To keep single photos out of view while syncing, use the Hidden album, which still opens with the phone's passcode.
How do I get a photo off my iPhone without leaving it in iCloud?
Copy it somewhere outside Photos first, such as a computer or a vault app, then delete it in Photos and empty Recently Deleted.
The Bottom Line
With iCloud Photos on, you cannot delete a photo from the iPhone alone: deleting syncs everywhere, to every device on your Apple Account and to iCloud, after 30 days in Recently Deleted. To keep the iCloud copy, either let Optimize Storage shrink what the phone holds, or turn off Sync this iPhone first and choose Remove from iPhone.
The table above shows the other side of that coin: a photo kept in iCloud is a photo on every synced device and at iCloud.com. For most of your library, that is the whole point of iCloud Photos. For photos that should leave the library altogether, copy them into a vault with its own PIN first, then delete the originals and empty Recently Deleted.
·Written by the developer of Stash
Save this guide
Download this guide as an image