Erase your iPhone completely so the new owner starts fresh
Before you sell or give away your iPhone, you need to erase everything on it — not just delete files. Deleting individual apps and photos leaves data behind that a determined person can recover. A complete erase removes all your personal information, accounts, and settings so thoroughly that recovery is nearly impossible.
The process takes about 15 minutes and happens in one place: the Settings app. You do not need a computer, a special tool, or any technical knowledge. Apple built the erase function into every iPhone so anyone can do this safely.
The key is doing this before you hand over the phone. Once the new owner has it, you cannot erase it remotely unless you still have access to your Apple ID password — and even then, it is complicated. Do the work now while you still control the device.
Key Takeaways
- Back up your iPhone to iCloud or your computer before you erase it, so you keep your photos, contacts, and other data on a device you still own.
- Sign out of iCloud, Apple ID, and Find My iPhone before you erase, or the new owner will be locked out of the phone.
- Use Settings > General > Transfer or Reset > Erase All Content and Settings to wipe the phone completely in one step.
- After erasing, the iPhone will restart and show the setup screen, ready for the new owner to begin with a blank slate.
- Keep your backup file safe — you can restore your data to a new iPhone later if you buy one.
Back up your data before you erase
Erasing your iPhone removes everything, including photos, messages, contacts, and app data. If you want to keep any of this, you must back it up first. The two easiest methods are iCloud and your computer.
iCloud backup is the fastest route if you have a Wi-Fi connection. Open Settings, tap your name at the top, then tap iCloud. Scroll down and tap iCloud Backup. Make sure the toggle is on (it should be blue), then tap Back Up Now. The backup runs in the background — you can use your phone while it happens. Check back in a few minutes to confirm it says "Last backup: [today's date]".
Computer backup takes longer to set up but gives you more control. On a Mac, plug in your iPhone and open Finder. Click your iPhone in the sidebar, then click General. Under Backup, choose "Back up all of the important data on your iPhone to this Mac". Click Back Up Now. On Windows, use iTunes instead — plug in your phone, click the device icon, and choose Back Up Now under the Summary tab.
Either method works. iCloud is simpler if you have enough storage (most people get 5 GB free, which covers photos and messages but not large video libraries). A computer backup takes everything, no matter the size.
Sign out of iCloud and Apple ID
If you do not sign out before erasing, the new owner will see a lock screen asking for your Apple ID password. They cannot get past it without that password, and you cannot give it to them — doing so would let them access your email and payment methods. This lock exists to prevent theft, but it also locks out a legitimate new owner.
Open Settings and tap your name at the top. Scroll to the bottom and tap Sign Out. You will see a warning that iCloud data will be removed from the phone — that is normal and expected. Enter your Apple ID password when prompted. This step signs you out of iCloud, the App Store, and Find My iPhone all at once.
After you sign out, wait a few seconds and check that Settings no longer shows your name at the top. If it still does, try signing out again — sometimes the first attempt does not stick.
Remove your SIM card and eSIM
Your SIM card (or eSIM, the digital version) connects your phone to a cellular network. The new owner will need their own SIM card to use the phone on their carrier. Remove yours before you hand it over.
For a physical SIM card, look for a small hole on the edge of the iPhone — usually on the right side. Use the SIM ejector tool that came with your phone (or a straightened paperclip) to push into the hole. A tray will pop out. Remove the card and set it aside.
For an eSIM, open Settings, tap Cellular, then tap the plan you want to remove. Tap Remove eSIM and confirm. If you have two eSIMs, remove both. The new owner can add their own eSIM through their carrier's app or by visiting a store.
Erase all content and settings
This is the step that wipes your phone completely. Open Settings and tap General. Scroll down and tap Transfer or Reset. Tap Erase All Content and Settings. You will see a warning that this action cannot be undone — that is correct. Tap Continue.
The phone will ask for your Apple ID password one more time. Enter it. This is a security measure to prevent someone from erasing your phone without permission. After you enter the password, the erase begins when ready.
The process takes 5 to 10 minutes. Your screen will show a progress bar and the Apple logo. Do not turn off the phone or unplug it during this time. When the erase finishes, the iPhone will restart and show the setup screen — the same screen you saw when you first bought it. This means the erase worked.
Verify the phone is ready for the new owner
After the erase completes and the phone restarts, you should see the "Hello" screen in your language, with options to set up the phone. This is exactly what the new owner should see. Do not proceed past this screen — let them do the setup themselves.
Check a few things before you hand over the phone. Tap the home button or swipe up from the bottom to make sure you cannot access any apps or data. Try opening Settings — it should ask you to set up the phone first. If you see your name, your photos, or any of your apps, the erase did not complete. Go back to Settings > General > Transfer or Reset > Erase All Content and Settings and try again.
Once you confirm the phone shows only the setup screen, you are done. The new owner can now set up the phone with their own Apple ID and data.
What to do with your backup after you sell the phone
Your backup file — whether it is in iCloud or on your computer — stays where you put it. You can use it to restore your data to a new iPhone whenever you buy one. iCloud backups stay in your iCloud account until you delete them manually. Computer backups stay on that computer in a folder called iPhone Backups (on Mac) or in iTunes (on Windows).
If you want to free up iCloud storage, you can delete the backup after you confirm the new owner has the phone and is happy with it. Open Settings on any Apple device, tap your name, tap iCloud, tap Manage Storage, tap Backups, tap the backup for the phone you just sold, and tap Delete Backup. This frees up space for future backups.
Keep computer backups for at least a few months. They take up space on your hard drive, but they are useful if you need to recover something you forgot to back up, or if you want to restore your data to a new phone later.
Frequently Asked Questions
What if I forget to sign out of iCloud before I erase?
The erase will still work, but the new owner will see an set up Lock screen asking for your Apple ID password. You will need to sign into iCloud.com, find the phone in Find My, and remove it from your account. This takes extra steps. It is much easier to sign out before erasing.
Can I erase my iPhone if I forgot my Apple ID password?
You can start the erase, but you will need your password to complete it. If you forgot it, go to iforgot.apple.com on a computer and follow the steps to reset it. You have options like answering security questions or using a recovery email. Once you reset your password, come back to your iPhone and try the erase again.
Will the new owner be able to see my old photos or messages after I erase?
No. The erase removes all data so completely that standard recovery tools cannot find it. A phone that has been erased and set up fresh by the new owner is effectively a brand-new device from a data perspective.
Do I need to erase my iPhone if I am trading it in to Apple or a carrier?
No. Apple and most carriers will erase the phone themselves as part of the trade-in process. However, backing up your data first is still a good idea so you do not lose your information. Check with the company you are trading it to about their specific process.
What if my iPhone is broken and will not turn on?
If the phone will not power on, you cannot erase it using the Settings method. You can erase it remotely through iCloud.com by signing in, opening Find My, selecting the phone, and choosing Erase This Device. This requires that you still have access to your Apple ID and that the phone is connected to the internet (even if it is off, it may connect automatically). After erasing remotely, the phone will be wiped when it next powers on.