Skip to content
TidyByte
Pre-Sale Guide Photo Cleanup iOS Tips

How to Clean Up Your iPhone Before Selling or Trading In

Published June 13, 2026 · 9 min read

Selling or trading in your iPhone is a smart move — the average used iPhone retains 40 to 60% of its value after two years, according to recent resale data. But before you list it on eBay or hand it to a trade-in kiosk, you need to clean your iPhone before selling to protect your personal data and ensure the device is ready for its next owner. This guide walks you through every step, from backing up your photos to performing a factory reset, so nothing gets left behind.

Why Clean Up Before Selling?

Your iPhone is one of the most personal devices you own. It stores years of photos, messages, passwords, banking apps, health data, and location history. According to a 2024 survey by Kaspersky, 34% of second-hand phones purchased online still contained personal data from the previous owner. That includes login credentials, private photos, and even financial information. The risk is not hypothetical — identity theft from improperly wiped devices is a documented and growing problem.

Beyond security, a clean device sells faster and for more money. Buyers and trade-in programs inspect storage capacity, and a phone loaded with 100 GB of someone else's data looks cluttered. A freshly reset iPhone with a clean bill of health commands a 5 to 10% premium over one that arrives with leftover apps and accounts. Trade-in services like Apple Trade In, Gazelle, and carrier programs all require Activation Lock to be disabled and the device to be erased before they accept it.

There is also the practical side: your backup matters. If you rush through the process and miss a step, you could lose photos, contacts, or app data that you meant to keep. A methodical approach — back up first, clean up your library, remove personal data, sign out of everything, then erase — takes about 30 minutes and eliminates the risk of data loss. The steps below are ordered specifically to prevent the most common mistakes people make when preparing an iPhone for sale.

Step 1: Back Up Your Photos

Before you delete a single file, make sure your photos are safely backed up. The average iPhone library contains between 2,000 and 5,000 photos, and losing them is irreversible once the device is erased. You have two main options: iCloud Photos or a local computer backup.

iCloud Photos

Go to Settings > [Your Name] > iCloud > Photos and make sure iCloud Photos is enabled. Your full library syncs to Apple's cloud automatically over Wi-Fi. The free tier gives you 5 GB, which is not enough for most libraries — you will likely need the 50 GB ($0.99/month) or 200 GB ($2.99/month) plan temporarily. Once synced, your photos appear on any Apple device signed into the same account, and you can verify them at icloud.com/photos.

Local Backup (Finder or iTunes)

Connect your iPhone to a Mac (Finder) or PC (iTunes) and select "Back up all of the data on your iPhone to this Mac." Check "Encrypt local backup" to save passwords, Health data, and Wi-Fi settings. A full backup of a 128 GB iPhone typically takes 15 to 30 minutes over a USB cable. This method is faster than iCloud for large libraries because it does not depend on your upload speed.

Whichever method you choose, verify the backup completed successfully before moving on. For iCloud, check Settings > [Your Name] > iCloud > iCloud Backup and confirm the timestamp. For local backups, open Finder or iTunes and check the backup list. A failed backup discovered after erasing the phone is a painful lesson you want to avoid.

Step 2: Clean Up Your Photo Library

Cleaning your photo library before backing up has two benefits: it reduces the backup size (saving time and iCloud storage costs), and it ensures your backup contains only photos you actually want to keep. A typical iPhone library is 30 to 40% duplicates, blurry shots, and screenshots — that is 10 to 20 GB of recoverable space in most cases.

Remove Duplicates

iOS has a built-in Duplicates album in the Photos app (under Albums > Utilities), but it only catches exact matches and misses near-duplicates — photos taken milliseconds apart in burst mode, or the same scene with slightly different framing. A dedicated tool like TidyByte's duplicate finder uses both SHA-256 hashing for exact matches and Vision framework feature prints for visually similar images, catching far more redundant photos than the stock solution.

Delete Blurry and Low-Quality Photos

Blurry photos are dead weight. They take up the same storage as sharp ones and serve no purpose after you have taken a better version. Manually scanning thousands of photos for blur is impractical, but TidyByte's blur detection uses Apple's Vision framework to score each photo's sharpness automatically. You can then swipe through the flagged images and keep or delete each one in seconds. Most users find that 5 to 8% of their library qualifies as blurry.

Clear Out Screenshots and Screen Recordings

Screenshots accumulate fast — confirmation screens, memes, recipes, maps, and chat snippets. Most are useful for a day and then forgotten. The Photos app lets you filter by media type, but TidyByte groups screenshots into a dedicated cleanup session so you can batch-review them with a swipe interface. Users typically delete 60 to 70% of their screenshots once they see them laid out in a focused session.

Compress Large Videos

Videos are the single largest storage consumer in most libraries. A one-minute 4K clip at 60fps takes roughly 400 MB. If you want to keep certain videos but reduce their footprint, TidyByte's video compression tool can shrink files by 50 to 70% with minimal visible quality loss using HEVC encoding. This alone can free up tens of gigabytes on a library with even moderate video content.

Step 3: Remove Personal Data

Once your photos are backed up and your library is clean, it is time to remove personal data from the device. The factory reset in Step 5 will erase everything, but removing sensitive data beforehand adds a layer of protection in case the reset does not complete properly or the device changes hands before you can verify the wipe.

Delete Saved Passwords and Autofill Data

Go to Settings > Passwords and review your saved credentials. If you use iCloud Keychain, these will sync to your other devices automatically, so deleting them from the phone does not lose them permanently. For extra safety, you can also go to Settings > Safari > Autofill and clear credit card information and contact info separately. If you use a third-party password manager like 1Password or Bitwarden, simply delete the app — your vault lives on their servers.

Remove Health and Fitness Data

Apple Health stores sensitive biometric data including heart rate, sleep patterns, menstrual cycles, and medication tracking. If you have iCloud Health syncing enabled, this data lives in your cloud account and will restore to a new device. You do not need to delete it manually from the phone before erasing, but if you want to remove it from iCloud entirely, go to Settings > [Your Name] > iCloud > Show All > Health and toggle it off, then choose "Delete from My iPhone."

Clear Browsing Data and App Data

Safari, Chrome, and other browsers store cookies, cached pages, and browsing history. Go to Settings > Safari > Clear History and Website Data to wipe Safari clean. For other browsers, open the app and clear data from its settings menu. Also review your installed apps — banking apps, email clients, and messaging apps should be deleted individually before the final reset, as some store cached data that persists through a standard erase if the app is reinstalled from an iCloud backup.

Step 4: Sign Out of Everything

Signing out of your accounts is the most critical step before erasing the device. If you skip this, the next owner may be locked out by Activation Lock, or worse, your accounts could remain accessible on the device.

Sign Out of iCloud and Disable Find My

Go to Settings > [Your Name] > Sign Out. Enter your Apple ID password when prompted. This signs you out of iCloud, the App Store, iMessage, and FaceTime all at once. Critically, it also disables Find My iPhone and removes Activation Lock. Without this step, the phone is essentially bricked for the next owner — they cannot set it up without your Apple ID credentials. Apple's trade-in program and third-party buyback services will reject any device with Activation Lock still enabled.

Unpair Apple Watch and Bluetooth Devices

If you have an Apple Watch paired to this iPhone, unpair it first through the Watch app. This creates a backup of your watch data and removes Activation Lock from the watch as well. For other Bluetooth accessories — AirPods, car systems, speakers — you can unpair them from Settings > Bluetooth by tapping the info icon next to each device and selecting "Forget This Device." This is not strictly necessary since the reset will clear paired devices, but it prevents confusion when you set up your new phone.

Remove SIM Card or Transfer eSIM

If your iPhone uses a physical SIM card, eject it with a SIM tool or paperclip and keep it for your new device. If you are using an eSIM, contact your carrier to transfer it to your new phone before erasing the old one. Some carriers allow eSIM transfers through their app or website; others require a phone call or store visit. Do not erase the iPhone before transferring your eSIM, or you may temporarily lose your phone number.

Step 5: Factory Reset

With your photos backed up, personal data removed, and accounts signed out, you are ready to erase the device. This is the final step and it takes about 5 to 10 minutes.

Erase All Content and Settings

Go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. Enter your passcode and Apple ID password when prompted. The device will show a progress bar, restart, and display the "Hello" setup screen. On modern iPhones with a Secure Enclave (iPhone 8 and later), the erase also destroys the encryption keys that protect user data, making forensic recovery essentially impossible.

Pre-Reset Checklist

  • Backup verified — Check timestamp in Settings > [Your Name] > iCloud > iCloud Backup
  • Photos cleaned — Duplicates, blurry shots, and old screenshots removed using TidyByte
  • iCloud signed out — Find My disabled, Activation Lock removed
  • Apple Watch unpaired — Backup created, Activation Lock cleared
  • SIM removed — Physical SIM ejected or eSIM transferred
  • Bluetooth devices forgotten — AirPods, car systems, and accessories unpaired
  • Two-factor codes transferred — Authenticator apps moved to new device

Verify the Reset

After the device restarts, it should show the "Hello" screen in multiple languages. If it asks for an Apple ID or shows the previous owner's name, the sign-out in Step 4 did not complete properly. In that case, do not give the phone away — sign in again and repeat the sign-out process. You can also verify the device is no longer listed in your Apple ID account at appleid.apple.com under Devices.

Physical Cleanup

While the software is resetting, give the phone a physical wipe-down. Use a slightly damp, lint-free microfiber cloth to clean the screen and body. Remove any case or screen protector. Clean the Lightning or USB-C port with a dry toothpick or compressed air to remove lint. A clean device photographs better for listings and makes a stronger impression at trade-in counters. If you have the original box and accessories, including them can add 5 to 15% to the resale price.

Frequently Asked Questions

How do I clean my iPhone before selling it?

Start by backing up your photos and data to iCloud or a computer. Then use a tool like TidyByte to clean up your photo library by removing duplicates, blurry shots, and screenshots you no longer need. Next, sign out of iCloud, iTunes, and App Store, disable Find My, and erase all content and settings via Settings > General > Transfer or Reset iPhone > Erase All Content and Settings.

Should I delete all photos before selling my iPhone?

You do not need to manually delete photos one by one. The factory reset erases all data including photos. However, cleaning up your photo library before backing up saves time and storage space — fewer photos means a faster backup and lower iCloud costs. Use TidyByte to remove duplicates, blurry images, and unnecessary screenshots before backing up, then let the reset handle the rest.

How do I make sure my data is safe before selling?

Verify your backup is complete by checking Settings > [Your Name] > iCloud > iCloud Backup for the last backup timestamp. For photos specifically, confirm they appear on another device or at icloud.com/photos. Sign out of iCloud before erasing — this disables Activation Lock so the next owner can set up the phone. Also remove any SIM cards and unpair Apple Watch if applicable.

Can TidyByte help clean up before selling?

Yes. TidyByte helps you quickly clean your photo library before backing up for a sale. Its swipe interface lets you review hundreds of photos in minutes, and its duplicate detection finds exact and near-duplicate copies automatically. You can also use it to find and remove blurry photos, old screenshots, and large videos — all of which take up the most space and slow down your backup.

What should I do before trading in my iPhone?

Before trading in, back up your data, clean your photo library to reduce backup size, unpair Apple Watch and Bluetooth accessories, sign out of iCloud and disable Find My, remove your SIM card, and erase all content and settings. If you are using an eSIM, contact your carrier to transfer it to your new device first. Also remove any case or screen protector and clean the device physically.

Ready to clean up your photo library?

TidyByte is free, runs 100% on your device, and takes just minutes to use.