Skip to content
Updated 2026-11-25 5 min Reviewed by Rayan Mamouni, founder of Damjitech

Selling

How to reset an iPhone before selling it

To reset (wipe) an iPhone before selling it, back it up, sign out of your Apple Account, then go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. At the end, the Hello screen should appear.

The direct answer

Back up the iPhone, sign out of your Apple Account, then go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. Enter the iPhone passcode, then your Apple Account password. When the Hello screen appears, don’t set anything up: the iPhone is ready for the buyer.

WatchWATCH

Before selling

Four steps, in this order

  1. BackupIn iCloud or on a computer, before any erasing.
  2. Sign outOf your Apple Account, which frees the phone from it.
  3. Erase everythingGeneral > Transfer or Reset iPhone > Erase All Content and Settings.
  4. Hello screenSet nothing up: the iPhone is ready for the buyer.

Sources: Apple’s official help pages, November 2026.

Models mentioned in this guide

WatchWATCH
Watch

Step 1

Before you erase: backup and Apple Watch

Erasing empties the phone: photos, contacts, music, apps and Apple Pay cards go with it. What is in iCloud stays there.

  • Back up the iPhone, in iCloud or on a computer, and check that the backup has finished.
  • If an Apple Watch is paired with the iPhone, unpair it before erasing.
  • If you have an active AppleCare plan, cancel it or transfer it to the new owner.
  • Check that your photos are in the backup or in iCloud Photos: the ones that are only on the phone go with the erase.
WatchWATCH

Step 2

Sign out of your Apple Account and Find My

As long as the iPhone stays tied to your account, the buyer can’t use it: that is Activation Lock. The details are in our guide “How to turn off Find My iPhone before selling it”. Signing out depends on the iOS version, according to Apple.

  • iOS 26 or later: Settings > your name > Sign Out, then choose “Erase this iPhone” or “Sign Out But Don’t Erase”.
  • iOS 18 or earlier: Settings > your name > Sign Out, enter your Apple Account password, then tap Turn Off.
  • If you are switching to a phone that isn’t an iPhone, turn off iMessage too.
  • Then remove the old iPhone from your list of trusted devices.

Step 3

Erase All Content and Settings

This is the menu that sets the iPhone back to new. Don’t mix it up with “Reset All Settings”: that one keeps your photos, apps and messages, and Apple recommends the other for a sale.

  • Open Settings > General > Transfer or Reset iPhone > Erase All Content and Settings, then tap Continue.
  • With an eSIM, the iPhone asks whether you want to keep it or delete it as you erase the data. For an iPhone you are handing over, Apple says to erase the eSIM profile too; then contact your carrier to get your plan active again.
  • Enter the iPhone passcode, wait for the backup to finish, then enter your Apple Account password.
  • Erasing turns off Find My and Activation Lock, and switches off iCloud, iMessage, FaceTime and Game Center.

Step 4

Forgot the passcode: Apple’s three routes, in order

Apple says to try your old passcode first, which erases nothing. Otherwise you can erase the iPhone from the lock screen or with a computer, and both delete the phone’s data. Third-party unlocking software isn’t on its pages, and we don’t recommend any.

  • Old passcode (iOS 17 or later, with a connection, your Apple Account and Find My on): if you changed it less than 72 hours ago, tap “Forgot Passcode?” on the unavailable screen, then “Enter Previous Passcode”.
  • Without a computer (iOS 15.2 or later, Find My on, a connection and your Apple Account): enter wrong passcodes until the unavailable screen appears. On iOS 17 or later, tap “Forgot Passcode?”, then “Start iPhone Reset”, enter your Apple Account password and tap “Erase iPhone”. On iOS 15.2 and 16, “Erase iPhone” appears straight away.
  • With a computer: switch the iPhone off, connect it to the computer with a cable and put it in recovery mode (side button on an iPhone with Face ID), then choose Restore in Finder on a Mac or in the Apple Devices app on Windows. Allow up to 60 minutes.
  • Without your Apple Account password, the iPhone stays tied to that account, so recover it before you sell.

Step 5

Buyers: check in front of the seller

A properly erased iPhone can be recognised by its screen, before you pay. Our guide “How to test a used iPhone in 10 minutes” covers the other checks.

  • The “iPhone Locked to Owner” screen appears: don’t buy.
  • The passcode or Home Screen appears: the iPhone isn’t erased. The seller erases it in front of you before you pay.
  • Start the setup: if it asks for the previous owner’s Apple Account, the iPhone is still tied to them. Hand it back so the seller enters their password.
  • The Hello screen, then a setup that never asks for an account: the iPhone is ready. Our guide “iCloud-locked iPhone: what can be fixed and what never can” covers the opposite case.

0/8 checks completed

Checklist to use in person

Damjitech data

Observed asking price

Watch

—

There are not enough listings yet to publish a reliable price.

Used prices of models relevant to this guide

Used, good condition

Asking prices on marketplaces in Morocco, collected and filtered by Damjitech on 20 November 2026. This is not a complete survey of every platform or an offer from Damjitech.

Sources and limits

Reference sources

FAQ

Common questions

How do I reset an iPhone?

On an iPhone, everything is erased with Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. Back up first, because everything on the phone is deleted.

How do I reset an iPhone before selling it?

Back up, unpair your Apple Watch, sign out of your Apple Account, then tap Erase All Content and Settings. Leave the iPhone on the Hello screen.

What is the difference between Erase All Content and Settings and Reset All Settings?

The first empties the iPhone; the second only restores settings (Wi-Fi, wallpaper, Face ID…) and keeps photos, apps and messages. For a sale, Apple recommends the first.

How do I reset an iPhone if I don’t know the passcode?

If you changed the passcode less than 72 hours ago, try the old one first (iOS 17 or later): it erases nothing. Otherwise, on iOS 15.2 or later, with Find My, a connection and your Apple Account, erase it from the lock screen. Otherwise, recovery mode with a computer. With both of these methods, everything is erased.

What happens to the eSIM when I erase the iPhone?

Apple offers to keep it or delete it along with the data. If you delete it, contact your carrier to get your plan active again.

I want to sell my iPhone in Morocco: where?

Once the iPhone is erased, list it for free and with no commission on Damjitech: the buyer checks it in front of you, and you are paid in person.

Turn knowledge into a decision

Turn good preparation into a trusted listing

Publish condition, defects and useful photos clearly to attract a serious buyer.