How-To: Safely prepare + wipe your iPhone for resale or trade-in


If you’re thinking of selling or trading in your current iPhone ahead of the iPhone 6S’s release, you probably know that you’ll need to wipe your device before a buyer can use it free and clear. Prepping an iPhone for resale used to be almost as easy as hitting a “reset” button in the iPhone’s settings menu. But over the past few years, the process has become more complex thanks to new security, wallet, and cloud-dependent features such as Activation Lock, Apple Pay and iTunes in the Cloud. Completely removing all of your personal items from your iPhone — and your iPhone from Apple’s servers — requires extra work.

Today, I’m going to walk you through the process of thoroughly scrubbing your iPhone prior to resale. There are 9 steps to take to make sure your device is cleaned up and ready to sell to its next owner. Here they are…

[1] Erase All Content And Settings. The first, easiest, and best-known step in wiping your iPhone is found within the Settings app at the bottom of the General menu: click on Reset, then “Erase All Content And Settings.” (I’d suggest taking this step only after using iTunes to do two complete, encrypted backups of your iPhone to your computer. If you’re planning to move from iPhone to a non-Apple smartphone, follow Apple’s guide to deactivating iMessage before erasing your phone, as well.)

You will be prompted to enter your iPhone’s passcode, then told that “this will delete all media and data, and erase all settings.” If you press the Erase iPhone button, iOS will ask you for your iCloud account password to “erase this iPhone and remove it from your [iCloud] account.”

You’ll be surprised at how quickly the iPhone is wiped — as soon as you’ve entered your password and hit erase, you’ll get a notification email on your account’s other devices that Find My iPhone was disabled, and it should take only a couple of minutes for the wiped iPhone to display “Hello” and “Slide to Set Up” text. Is the erasure secure? Well, all of the iPhone’s memory is protected using AES-256 encryption, and hitting the Erase iPhone button destroys the encryption key. Several security companies have tried to offer ‘secure erase’ tools that more aggressively scrub the iPhone’s memory, but Apple has shut those tools down as ‘misleading,’ noting that the encryption is effectively unbreakable. Hitting the Reset button leaves the former contents of your device all but completely impossible to recover by a subsequent owner. But you’ll be able to get everything back from your computer’s encrypted iTunes backup, should you need it.

[2] What About Activation Lock + Disabling Find My iPhone? As shown above, you can manually disable Find My iPhone by going into the Settings app’s iCloud menu, pressing the Find My iPhone “On” button, flipping the Find My iPhone switch to off, and entering your iCloud password. But if you use the Erase All Content And Settings feature above, this step is automatically handled for you when you enter your iCloud password at the end of the process. Either method will disable your iPhone’s “Activation Lock,” the security system that allows you to locate, remotely wipe, and send signals to an iPhone no longer in your possession. Any purchaser of a used iPhone will expect you to have taken this step (or more wisely, the step above) before selling your device.


[3] Apple Pay/Credit Card and Touch ID Fingerprint Wiping. If you’re using an iPhone 6, iPhone 6 Plus, or newer iPhone, erasing your iPhone will automatically purge whatever credit cards and fingerprints you’ve stored in your iPhone. (Even attempting to disable fingerprint protection for your device will prevent it from storing cards for Apple Pay.) You will probably receive a collection of emails from your banks noting each “Virtual card” that has been “deleted from Apple Pay,” and you may also receive notices of the card’s deletion from your Apple Watch. If you want to manually remove individual cards or fingerprints, the Settings app’s Touch ID & Passcode menu handles prints, and the Passbook & Apple Pay (iOS 8) or Wallet & Apple Pay (iOS 9) menu handles cards. But even if you delete cards for Apple Pay, your iPhone can still store card numbers for Safari web transactions; they can be deleted under Settings > Safari > AutoFill > Credit Cards.


[4] Carrier Lock + Clearing The ESN/IMEI/MEID. Buyers of used iPhones want to avoid purchasing devices that are either stolen, or still under contract with a cellular company. The status of an iPhone can be checked using a device-specific serial number that’s called an IMEI (International Mobile Equipment Identity) number, ESN (Electronic Serial Number), or MEID (Mobile Equipment Identifier). IMEIs have traditionally been used by GSM networks (AT&T/T-Mobile), while ESN/MEIDs are traditionally used by CDMA networks (Verizon/Sprint). Fourteen or fifteen digits long, the number can be found in Settings > General > About > IMEI or MEID.

If you purchased your iPhone without a contract or have fully paid off your contract, the serial number should be free and clear for transfer. Should the phone be locked to a specific carrier, you can contact the carrier to request that it be carrier unlocked prior to selling it, which will dramatically boost its trade-in value at services such as Gazelle. If you bought your iPhone used, or were given the phone by a family member, this free serial number checker can let you know if the serial number is clear, giving you a sense of reported ownership/theft issues with your device. If your phone’s serial number isn’t clear, contact your cellular provider to get the device paid off. And if you’re trying to sell a stolen phone… return it.


[5] iCloud. As it turns out, erasing your iPhone only partially removes it from your iCloud account. Using your Mac, go to OS X’s Apple menu, choose System Preferences, then choose iCloud and click Account Details.  Select the Devices tab, then highlight your iPhone, and choose Remove From Account. Then hit Done. I found my iPhone 6 Plus on the list twice, for reasons unknown.


[6] iTunes in the Cloud. In one of its more confusing branding efforts, Apple in 2011 introduced both iCloud — an email, backup, and data synchronizing service — and iTunes in the Cloud, a virtual media locker that allows you to download previously purchased iTunes content for free. Surprisingly, removing an iPhone from iCloud doesn’t remove it from your iTunes in the Cloud account. To do that, you’ll need to open iTunes, go to your account (currently next to the Search bar, signing in with a password under Account Info), scroll down to iTunes in the Cloud, and choose Manage Devices. When you see your old iPhone on the list, hit the Remove button. This will free up one of your 10 allocated media sharing spaces, and enable the iPhone to be registered by someone else for iTunes in the Cloud.

Note that I went to do this for my iPhone, purchased in October 2014, and found that the Remove button was grayed out. This was a bug with Apple’s system: the iTunes rule is that “computers and devices can be associated with a different Apple ID once every 90 days,” but my iPhone was in continuous use for 10 months. I had to contact iTunes customer support to get the iPhone manually removed from my account. Three emails and two phone contacts later, it wasn’t 100% resolved, so hopefully your Remove button works properly.



[7] Apple ID: Manage Trusted Devices. Yes, there is yet another place where your iPhone may be linked to an account online: Apple’s identify verification web site at Once you log into your account, which may be protected with two-factor identification — a password on your Mac, then another one-time password sent to your choice of “trusted devices” — you can click on Password and Security to “Manage your trusted devices” by hitting the “Add or Remove Trusted Devices” button. Your old iPhone will probably be on this list, and you can remove it by hitting the “Remove” button. This will prevent your iPhone from acting as a device to verify your identity for any two-factor authentication process.


[8] Remove The SIM Card. If you’ve gone through everything above, you’ve done pretty much everything necessary to scrub your iPhone’s onboard data, cloud associations, and carrier contract before resale. There are only a few final physical steps to get it ready to send out to someone. The most critical is to remove your SIM card from the iPhone by using either Apple’s included SIM card tool or a paperclip to pop the side compartment open. Place the card in a safe place for transfer to your next phone.


[9] Physical Cleanliness. It would be nice (and likely maximize your trade-in/resale price) to have your iPhone looking as close to new as possible. You can use two lightly dampened microfiber cloths to clean the visible exterior surfaces, first gently removing any crusted-on debris, then wiping the glass and metal or plastic down softly. Don’t get the cloths near speaker, microphone, or accessory port holes; leave them alone. After that’s done, assemble the iPhone’s pack-ins, such as its earphones and/or earphone case, wall charger, and USB cable, preferably with the original box. If they’re looking good, you can take photos and list your iPhone on eBay, or skip the photos and sell your iPhone to a company such as Gazelle.

More From This Author

Check out more of my editorials, How-To guides, and reviews for 9to5Mac here! I’ve covered a lot of different topics of interest to Mac, iPad, iPhone, iPod, Apple TV, and Apple Watch users. I’ve recently discussed the 10 reasons to upgrade to the iPhone 6S, and how to get the best iPhone trade-in price to help buy an iPhone 6S.

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel


  1. taoprophet420 - 7 years ago

    Turning off iMessages before erasing the phone is on most tutorials on how to prepare your iPhone before you sell it or trade it in.

    • Jeremy Horwitz - 7 years ago

      That step is only necessary if you are switching to a non-iPhone device. Otherwise disabling iCloud disables iMessages.

      • Nancy Fang - 7 years ago

        Before you shipping us your iPhone or iPad, make sure that you’ve removed all of your personal information (what happens in gnome country, stays in gnome country, right?). When you’re ready to delete your data and restore your device to its factory default state:

        Go to Settings > General > Reset
        Tap Erase All Content and Settings.

    • Winnie White - 7 years ago

      For iOS system, the way to completely erase the data is to overwrite the original contents. You can follow these steps:
      1. Change passwords for all mail accounts that are synced to the iPhone.
      2. Make sure iPhone can no longer open the mail accounts.
      3. Do an erase/restore of the iPhone, preferably using another computer or at least another account than the one the device was synced with.
      4. Sync as many songs/videos of a non-compromising nature and nothing else to the newly restored device as will fit.
      5. Fill the iPhone up with data (songs/videos).
      6. After you have filled iPhone up, do another erase/restore.
      7. Repeat steps 4/5 with different content and erase/restore again. The more times you do this, the more times the data will be overwritten, thus having a less chance of recovery.

  2. appleisgrindingmygears - 7 years ago

    Decided not to trade mine in but give it to a relative. No one is offering what is worth.

  3. PhilBoogie - 7 years ago

    Truly an excellent article, with details that ‘out-detail’ Apple, if there is such a thing. The many screen dumps will most certainly help people using this article for reference.

    This site could use a little ‘most useful posts’ corner, where this article should reside, amongst many others.

  4. jbslough - 7 years ago

    Going to turn my 4S into a iPod Touch. Not really worth anything on the market, rather keep it.

  5. ericisking - 7 years ago

    When I go to iCloud Account Details on my Mac, there is no “Devices” tab. I just see the others (General/Contact/Security/Payment). What gives?

  6. Randall King - 7 years ago

    Can you explain why it’s considered “critical” to remove the SIM prior to resale? My experience has been that activating a new iPhone transfers my account with AT&T to the new phone automatically? Is there something about the SIM that remains tied to my AT&T account somehow? I don’t store contacts on the SIM; they are stored in iCloud and Exchange.

  7. Lidan Liu - 7 years ago

    A professional iPhone data eraser software is recommended, a such tool will make all process simple and safe. It will completely overwritten your iPhone and erase all data on your iPhone with no chance to recovery the deleted files to make your personal infos secure.

  8. clairepitch - 6 years ago

    I I didn’t test it but I guess the easiest way would be to loose the connection to iCloud and then just reset it completely.

    But I don’t know if this is enough to clean it completely or if it would still be possible to regain the information through any kind of tools, I also recommend using safewiper ios data eraser app to wipe your iPhone clean.

  9. Roxanne Dimacale - 6 years ago

    Valuable post . Incidentally , if your company needs a NY DTF ST-120 , my family saw a blank document here