How to Factory Reset Your iPhone (Erase All Content)
A factory reset wipes your iPhone completely — perfect before selling, gifting, or fixing a major problem.
Back up your iPhone first
~24sWarning
Do not skip this step. A factory reset permanently deletes all data. Once erased, content cannot be recovered unless you have a backup.
Sign out of your Apple ID
~29sQuick Tip
If you are keeping the phone and resetting it to fix a problem, you do not have to sign out before resetting — the setup process will ask you to sign back in afterward.
Go to the reset option in Settings
~15sConfirm and wait for the erase to complete
~17sSet up the phone or pass it on
~22sYou Did It!
You've completed: How to Factory Reset Your iPhone (Erase All Content)
Need more help? Get Expert Help from a TekSure Tech
A factory reset erases everything on your iPhone — every photo, app, contact, message, and setting — and returns it to the state it was in when it first came out of the box. This is the right step to take before selling your phone, giving it to a family member, or when a serious software problem cannot be fixed any other way.
Before doing anything else, back up your phone. This is the most important step. If you reset without a backup and then change your mind, your data is gone permanently and cannot be recovered. To back up to iCloud, go to Settings, tap your name at the top, then tap iCloud, then iCloud Backup, and tap "Back Up Now." Wait for it to finish completely. Alternatively, you can back up to a Mac or PC using a USB cable and Finder (on Mac) or iTunes (on Windows).
Next, sign out of your Apple ID. This step is critical if you are selling or giving away the phone — it removes Activation Lock, which prevents the next owner from using the device. Go to Settings, tap your name at the top, scroll all the way down, and tap "Sign Out." You will be asked to enter your Apple ID password to confirm.
Now you are ready to erase. Go to Settings, tap "General," then scroll down and tap "Transfer or Reset iPhone." Tap "Erase All Content and Settings." The phone will ask you to enter your passcode, then confirm the action. The process takes a few minutes. When it is done, the phone shows the "Hello" screen as if it came fresh from the factory.
If you are setting the phone up for yourself, you can restore from your iCloud backup during the setup process. If you are passing the phone on to someone else, leave it at the "Hello" screen so the new owner can set it up fresh with their own Apple ID.
One important note: iPhones with iOS 15.2 or later have an easier path. If the phone is powered on and connected to Wi-Fi, you can also erase it from iCloud.com using any web browser if needed.
Was this guide helpful?
Your feedback helps us make TekSure better for everyone.
Want to rate with stars?
Still have questions?
Ask TekBrain a follow-up question about this guide. It’s free, no sign-up needed, and the answer will be in plain English.
Official Resources
Sources used to create and verify this guide. View all sources →
← Previous
How to Save Money When Ordering Food Delivery
Next →
How to Factory Reset Your Android Phone
Still stuck? Let a pro handle it.
Our verified technicians can fix this issue for you — remotely or in person.
Related Guides
More from Phone & Tablet
How to Set Up a New iPhone
Got a new iPhone? This guide walks you through every step from turning it on to signing in with your Apple ID.
2 min read
How to Set Up a New Android Phone
A beginner-friendly walkthrough for setting up a new Android phone from scratch — including your Google account.
2 min read
How to Move Your Contacts to a New Phone
Don't lose your contacts when switching phones. Here's how to transfer them to iPhone or Android in minutes.
2 min read