Skip to content

Does a Factory Reset Erase Your iCloud Photos?

What Erase All Content and Settings removes, what stays in iCloud Photos and iCloud Backup, and how a photo leaves every copy.

Get Stash

Quick answer

No. A factory reset erases the iPhone, not your Apple Account. Photos that finished uploading to iCloud Photos stay there and come back when you sign in again. To remove a photo from iCloud, delete it while signed in.

What the reset clears
The phone: photos, contacts, apps, cards and settings. It also signs the phone out of iCloud and turns off Find My.
What stays
Your iCloud Photos library, Hidden album and Recently Deleted included, and any iCloud Backup of the phone.
How a photo leaves iCloud
Delete it in Photos while signed in, then delete it again in Recently Deleted. Erase the phone afterwards.
When to use a vault
When some photos should never be in iCloud Photos, so a reset or a new phone has nothing to bring back.

Best overall: Stash

A factory reset clears the iPhone, but photos already in iCloud Photos wait in your account and return on the next sign-in, Hidden album and Recently Deleted included. Stash keeps private photos outside the Photos library, encrypted on the iPhone with AES-256 behind a PIN of its own, inside a working calculator, so iCloud Photos never uploads them. With Premium, an optional encrypted vault backup goes only to your own iCloud Drive or Google Drive, when you start it. Stash is free to download with no ads, so the calculator, the PIN and the encrypted vault are ready from the first launch.

What a factory reset removes

On an iPhone, the factory reset is Erase All Content and Settings. Apple's iPhone User Guide page Erase iPhone describes it, as of 2 December 2026, as securely removing your personal information, content and settings, including privacy and network settings, and returning the phone to factory settings.

Apple's article What to do before you sell, give away, or trade in your iPhone or iPad lists the result in plain terms: erasing removes Apple Pay cards, photos, contacts, music and apps, and turns off iCloud, iMessage, FaceTime, Game Center and other services. It also turns off Find My and Activation Lock. The same article then answers the question in this page's title: erasing the device does not delete content from iCloud. Deleting items by hand while signed in to iCloud is what removes them from the iCloud servers and from every connected device.

So a factory reset is a device action. Your Apple Account, and the iCloud Photos library inside it, is a separate thing that the reset does not touch.

Sync is not a backup, and that is the whole answer

iCloud Photos is a sync service. Apple's transfer article Transfer photos and videos from your iPhone or iPad to your Mac or PC says iCloud Photos keeps your full-resolution originals in iCloud and makes them available across your devices, with the choice to keep originals or space-saving device versions on each one. Because the library lives in iCloud, any change you make is passed along. Apple's Delete photos on your iPhone or iPad puts it this way: delete a photo with iCloud Photos on, and it is deleted on every other device signed in with the same Apple Account.

A reset is not a change to the library. It removes the phone's copy and signs the phone out, so iCloud receives no deletion. When you sign in again, on the same phone or a new one, the library downloads again.

Two consequences follow:

  • Photos that finished uploading come back. Wait on Wi-Fi after signing in; a large library takes a while.
  • Photos that never uploaded do not. If iCloud Photos was off, or uploads were still running, those photos existed only on the phone. Before erasing, Apple's service article suggests checking Settings > [your name] > iCloud, where the status next to Saved to iCloud should be green (Prepare your iPhone or iPad for a service appointment).

How to factory reset an iPhone, and what to check first

Apple's article How to factory reset your iPhone, checked on 2 December 2026, gives these steps:

  1. Open Settings > General > Transfer or Reset iPhone and tap Erase All Content and Settings.
  2. Tap Continue.
  3. Choose whether to keep or delete the eSIM. If you delete it, your carrier has to reactivate the plan.
  4. Enter the iPhone passcode.
  5. Wait for the backup to finish.
  6. Enter your Apple Account password and tap Done.
  7. Wait for the reset. The Hello screen appears when it is complete.

From a computer, connect the iPhone, open Finder on a Mac or the Apple Devices app on Windows, select the iPhone, click General, then Restore iPhone. Apple's guide notes you must sign out of Find My before you can click Restore.

Before step 1, decide about the private photos. Anything you want gone from iCloud has to be deleted now, while you are signed in, because after the reset the phone is no longer connected to the library.

What comes back after you sign in again

These are the three things people are surprised to find after a reset:

  • The Hidden album. Hidden photos are part of the library. Apple's Hidden album article says photos you hide on one device are hidden on your other devices too when you use iCloud Photos, so they return to the Hidden album.
  • Recently Deleted. Deleted items stay there for 30 days and sync with the library. The reset does not empty them in iCloud; they reappear with their countdown still running.
  • The old iCloud Backup. A backup of the phone sits in your account separately from iCloud Photos. Apple's iCloud backup guide says that if iCloud Backup is turned off, stored backups are kept for 180 days before deletion. If iCloud Photos was off, that backup may hold photos; details in what is in an iPhone backup.

Copies outside your account are also untouched: photos you sent in messages, added to Shared Albums or placed in a Shared Library are in other people's hands already. Apple notes that in a Shared Library only the person who added an item can permanently delete or recover it.

Where a photo still exists after each action

Action iPhone iCloud Photos Your other Apple devices Old iCloud Backup
Factory reset only Gone Stays Stays Stays
Delete in Photos while signed in In Recently Deleted for 30 days In Recently Deleted for 30 days Same May still hold it
Delete, then Delete All in Recently Deleted Gone Gone Gone May still hold it
Delete, empty Recently Deleted, delete the backup, then reset Gone Gone Gone Gone
Photo moved into a vault app before any of these In the vault only Never uploaded by iCloud Photos Not there Depends on the vault's own backup

The table is the short answer. Only deletion while signed in reaches iCloud; the reset reaches only the phone.

How to make a photo actually leave iCloud

To remove a photo from the phone and from iCloud, follow this order:

  1. Save what you want to keep somewhere else first, such as a vault or a computer, and check it opens there.
  2. Delete the photo in Photos while still signed in.
  3. Empty Recently Deleted. Open Collections, scroll to Utilities, tap Recently Deleted, then View Album and unlock. Tap Select, then the More button, tap Delete or Delete All, and confirm with Delete from All Devices. Apple warns that once you delete from this album, you cannot get the item back.
  4. Delete old backups if they matter. In Settings > [your name] > iCloud > iCloud Backup, tap a device and choose Turn Off and Delete from iCloud. Apple warns that iCloud then stops backing up that device automatically.
  5. Erase the phone if you are handing it on.

If the aim is the reverse, a lighter phone with the library kept in iCloud, see delete photos from iPhone but keep them in iCloud.

Encryption: who can read what stays in iCloud

What stays in iCloud after a reset is protected by Apple's iCloud security. Under Advanced Data Protection, Apple's security guide lists iCloud Backup and Photos among the categories that become end-to-end encrypted, and web access to your data at iCloud.com is turned off when you first switch it on. Without Advanced Data Protection, Photos uses standard data protection. Either way, anyone signed in to your Apple Account can see the library again.

When a factory reset is enough

A reset alone does the job when:

  • You are keeping your Apple Account and want the library back on the next phone.
  • The photos are ones you are happy to have in iCloud Photos and on all your devices.
  • You only want the old phone clean for its next owner.
  • You have checked that uploads finished, so nothing exists only on the phone.

When you need more than a reset

Look further when:

  • You expected the reset to clear iCloud. It will not; deletion while signed in does that.
  • Some photos should never be in iCloud Photos. A vault keeps them out of the library in the first place, so there is nothing for iCloud to return.
  • Other people use your devices. The Hidden album opens with each device's passcode, and the library returns on every one.
  • You want to choose what goes where. A vault backup is separate from iCloud Photos and runs only when you start it.

How to keep private photos out of iCloud Photos with Stash

Stash looks and works like a calculator; your PIN opens the vault behind it. Imported items are encrypted on the iPhone with AES-256 and stored inside the app, not in the Photos library, so iCloud Photos does not upload them and a sign-in on a new phone does not bring them back on its own.

  1. Install Stash, choose a PIN and write down the recovery key shown once during setup.
  2. Tap + and import the private photos from Photos.
  3. Delete the originals in Photos while signed in, and empty Recently Deleted with Delete from All Devices.
  4. With Premium, start an encrypted vault backup to your own iCloud Drive or Google Drive, if you want the vault on the next phone.
  5. Then run the factory reset.
  6. On the next iPhone, restore Stash from that backup with your PIN or recovery key.

Your iCloud library returns at the next sign-in as Apple intends, and the private photos return only from the vault backup you chose to make.

FAQ

Does a factory reset delete my iCloud photos?

No. Apple says erasing the device does not delete content from iCloud. The library stays under your Apple Account.

If I erase my iPhone, will my photos come back?

Yes, if iCloud Photos was on and the uploads had finished. Sign in with the same Apple Account and let the library download on Wi-Fi. Photos that never uploaded do not return.

Does a factory reset delete Recently Deleted photos?

Only the phone's copy. In iCloud they stay in Recently Deleted until the 30 days run out or you delete them with Delete from All Devices.

Does erasing my iPhone delete its iCloud Backup?

No. The backup stays in your account. Delete it in Settings > [your name] > iCloud > iCloud Backup; with iCloud Backup off, Apple keeps stored backups for 180 days.

Will hidden photos come back after a reset?

Yes, with iCloud Photos on. Hidden photos sync like the rest of the library and return to the Hidden album.

How do I delete photos from iCloud permanently?

Delete them in Photos while signed in, then delete them again in Recently Deleted and confirm Delete from All Devices. Apple says items deleted there cannot be recovered.

Does a reset remove photos I shared with others?

No. Copies in messages, Shared Albums and other people's libraries are outside your phone and are not affected.

If I reset my iPhone, will I lose my photos?

If I reset my iPhone will I lose my photos: not the ones that finished uploading to iCloud Photos. Will I lose my photos if I reset my iPhone is really a question about uploads: photos only on the phone are erased with it, while uploaded ones come back when you sign in again. If I reset my iPhone will I lose my pictures: the answer is the same, so check in Photos on another device or at iCloud.com before you erase.

The Bottom Line

A factory reset erases the iPhone, not your iCloud Photos. Apple states it directly: erasing the device does not delete content from iCloud, while deleting items by hand while signed in removes them from the servers and every connected device. That is why the table above has only one row where a photo leaves iCloud, and it is the row where you delete before you reset.

So use each tool for its job. The reset makes the phone blank for its next owner. Deletion while signed in, followed by Delete from All Devices in Recently Deleted, removes a photo from the library. Old iCloud backups are separate and need their own deletion. And photos that should never be in iCloud Photos belong in a vault with its own PIN, outside the library from the start, so neither a reset nor a new phone has anything to bring back.

·Written by the developer of Stash

Save this guide

Summary of this guide as an image: Does a Factory Reset Erase Your iCloud Photos?Download this guide as an image