How to Delete All Photos From iPhone (Safely)
Select and delete your whole library at once, empty Recently Deleted, and understand how iCloud Photos affects it.
By The Photo Cleaner TeamUpdated Steps for iOS 18 and later
On this page
There's no single “Delete All” button for your iPhone photo library, but you can select everything quickly. In Photos, tap Select, then tap a photo and drag your finger across and up the screen to select your whole library. Tap the trash icon to delete, then empty Recently Deleted to free the space.
Before you do, back up anything you want to keep and check whether iCloud Photos is on. If it is, deleting on your iPhone deletes everywhere.
Quick answer
- Back up the photos you want to keep.
- Check iCloud Photos: if it's on, deleting removes photos from iCloud and all your devices.
- In Photos, tap Select, then drag across and up to select everything, and tap Delete.
- Empty Recently Deleted to free the space.
Before you delete: back up and check iCloud Photos
Back up what you want to keep
Copy the photos you care about somewhere else first: a Mac or PC, an external drive, or another cloud service. Once Recently Deleted is emptied, deleted photos can't be recovered from your iPhone.
Check whether iCloud Photos is on
Go to Settings, then [your name], then iCloud, then Photos.
- If iCloud Photos is on, your iPhone and iCloud share one library. Deleting a photo on your iPhone also deletes it from iCloud and from every device signed in to the same Apple Account.
- If iCloud Photos is off, deleting only affects this iPhone.
How to delete all photos on iPhone
- Open Photos and make sure you're viewing your whole library (on newer iOS versions, the Library view with all photos shown).
- Scroll to the very bottom, so the newest photos are on screen, and tap Select.
- Touch the last photo and, without lifting your finger, drag left across the row and then up toward the top of the screen. Photos keeps scrolling and selecting as long as you hold near the top.
- Keep holding until the count at the bottom matches your library, then lift your finger.
- Tap the trash icon and confirm.
On a very large library this can take a minute or two of dragging. If you want to keep some photos, deselect them by tapping before you delete.
Delete all photos using a Mac
A computer is faster when you have thousands of photos.
If iCloud Photos is on
Open the Photos app on a Mac signed in to the same Apple Account, choose Edit, then Select All in your library, and press Delete. The deletion syncs to your iPhone and iCloud. Remember this removes them everywhere.
If iCloud Photos is off
- Connect your iPhone with a cable and unlock it. Tap Trust if asked.
- Open Image Capture on the Mac and select your iPhone.
- Import the photos you want to keep, if you haven't already.
- Press Command-A to select all, then click the delete button and confirm.
Empty Recently Deleted to free the space
Deleted photos move to Recently Deleted and stay there for about 30 days, still using storage.
- Open Photos, then Utilities, then Recently Deleted, tap View Album, and unlock it. On iOS 16 and 17, Utilities is in the Albums tab.
- Tap Select, choose the items (drag your finger to select many), then tap the More button (•••) and choose Delete.
Your storage should update in Settings, then General, then iPhone Storage shortly after.
Don't need to delete everything?
Wiping your whole library is a big step. If the goal is to free up space, you can usually get most of it back by removing large videos, duplicates and screenshots. See how to free up space on iPhone or our photo clean-up routine.
Frequently asked questions
Is there a Delete All button for photos on iPhone?
Not for your main library. Tap Select, then touch a photo and drag across and up to select many photos at once, and tap the trash icon. To empty Recently Deleted afterward, tap View Album, unlock it, tap Select, choose the items and delete them with the More button.
If I delete all photos from my iPhone, are they deleted from iCloud?
Only if iCloud Photos is turned on. In that case your iPhone and iCloud share the same library, so deleting on the iPhone also deletes from iCloud and your other devices.
How do I remove photos from my iPhone but keep them in iCloud?
Don't delete them. Turn off iCloud Photos syncing on that iPhone and choose to remove the photos from the iPhone, or turn on Optimize iPhone Storage so the iPhone keeps smaller versions while full-size originals stay in iCloud.
Can I recover photos after deleting them all?
Yes, from Recently Deleted for about 30 days. After that album is emptied, they can only be restored from a backup you made yourself.