A factory reset erases everything on your iPhone and returns it to the state it was in when it left the factory
When you reset an iPhone, the device deletes all your data — photos, messages, apps, contacts, settings, and passwords — and reinstalls the original operating system. The phone becomes blank and asks you to set it up as if you just bought it. This is different from restarting your phone (turning it off and on), which keeps everything intact.
There are two main types of reset. An erase all content and settings reset, done through the Settings app, wipes the device and removes your Apple ID. A forced reset (holding buttons until the screen goes black) restarts a frozen phone without erasing anything. Most people mean the first kind when they say "factory reset."
Key Takeaways
- A factory reset deletes all photos, messages, apps, contacts, and settings from your iPhone permanently.
- You can back up your data to iCloud or a computer before resetting, then restore it afterward on the same phone or a new one.
- The reset process takes 10 to 30 minutes depending on your phone's storage and internet speed.
- After a reset, you will need to sign back into your Apple ID and re-download any apps you want to keep.
- A forced reset (holding buttons) only restarts the phone and does not erase data, even though it looks similar.
Why people reset iPhones
The most common reason is to prepare a phone for sale or giving it away. A reset ensures the new owner cannot access your photos, messages, banking apps, or any other personal information. Without a reset, your Apple ID remains linked to the device, and the new owner cannot use it until you remove your account.
People also reset iPhones to fix persistent software problems — apps crashing repeatedly, the phone running slowly, or features not working even after restarting. A reset clears out corrupted files and settings that a simple restart cannot fix. Some people reset before selling to a trade-in program, since those programs often require a factory reset as part of their intake process.
Less often, someone resets because they forgot their passcode and cannot access the phone any other way. This is the only way to regain access without knowing the code, but it means losing all data unless you have a backup.
What you lose and what you can save
A factory reset removes everything stored on the phone itself: photos, videos, text messages, email, app data, contacts, calendar events, notes, voice memos, and any files in the Files app. It also clears your saved passwords, Wi-Fi networks, and custom settings like wallpaper and notification preferences.
However, some data may already be backed up elsewhere. If you use iCloud, your photos, contacts, calendar, notes, and some app data may be stored there automatically. If you have synced your iPhone to a Mac or Windows computer using iTunes or Finder, a backup file exists on that computer. You can restore from either backup after the reset, putting your data back onto the phone.
Apps themselves are not lost permanently — you can re-download them from the App Store after the reset. The app data (saved games, preferences, login information) is gone unless it was backed up to iCloud or the app developer's own servers. Some apps, like Gmail or Spotify, let you sign back in and retrieve your data that way.
How to back up before resetting
The fastest method is an iCloud backup. Open Settings, tap your name at the top, then tap iCloud. Scroll down and tap iCloud Backup, then tap Back Up Now. The backup runs in the background and takes anywhere from a few minutes to an hour depending on how much data you have and your internet speed. You need to be connected to Wi-Fi and plugged in for the backup to complete.
If you have a Mac, you can also plug in your iPhone, open Finder, click the device name in the sidebar, and click Back Up Now. On Windows, use iTunes instead. These backups are stored on your computer rather than in the cloud. Both methods create a complete snapshot of your phone that you can restore later.
Check your backup before you reset. In Settings, go to your name, then iCloud, then iCloud Backup, and look at the date of the last backup. If it says "Back Up Now" with no date, no backup exists yet. For computer backups on Mac, open Finder, click Finder in the menu bar, then Preferences, then Devices, and look for your phone in the list.
The reset process step by step
Go to Settings and tap General. Scroll to the bottom and tap Transfer or Reset. Tap Erase All Content and Settings. The phone will ask you to enter your passcode and Apple ID password — this is a security step to prevent someone else from erasing your phone remotely. After you enter both, tap Erase.
The phone will show a progress bar and may restart several times. The entire process usually takes 10 to 30 minutes. Do not unplug the phone or turn it off during this time. When it finishes, you will see the setup screen asking you to choose a language and country.
At this point, you can set up the phone as new, or you can restore from a backup. If you choose to restore, the phone will ask you to sign into your Apple ID and then download your backup. Restoring takes longer than the reset itself — sometimes 30 minutes or more — because the phone is copying all your data back onto the storage.
What happens if you do not have a backup
If you reset without backing up, your data is gone and cannot be recovered. The phone's storage is overwritten with the new operating system, and there is no way to retrieve the old files. This is why backing up before a reset is strongly recommended, even if you think you do not need the data anymore.
If you realize after a reset that you needed something, contact Apple Support. In rare cases, they can recover data from a device that was recently reset, but this only works if you act quickly — within days, not weeks. They cannot recover data from a phone that has been used since the reset, because new data overwrites the old.
Removing your Apple ID before selling or giving away
Before you hand over your phone to someone else, make sure your Apple ID is removed. A factory reset does remove your Apple ID, but only if you enter your Apple ID password during the reset process. If you skip that step or the reset fails, your account stays linked to the device.
To check if your Apple ID is still on the phone after a reset, try to set it up. If it asks for your Apple ID password before you can proceed, your account is still linked. You will need to reset again and complete the process fully this time. Alternatively, you can remove your Apple ID before resetting by going to Settings, tapping your name, scrolling down, and tapping Sign Out.
Forced reset versus factory reset
A forced reset is different from a factory reset and does not erase data. It is used when your iPhone is frozen, unresponsive, or stuck on the Apple logo. On newer iPhones (iPhone 8 and later), quickly press and release the Volume Up button, quickly press and release the Volume Down button, then press and hold the Side button until the power-off slider appears. Keep holding until the screen goes black and the Apple logo appears.
On older iPhones, hold the Home button and the Top (or Side) button together until the Apple logo appears. This forces the phone to restart without erasing anything. Your photos, messages, apps, and settings remain exactly as they were. A forced reset is safe to do and often fixes problems like apps crashing or the phone responding slowly.
People sometimes confuse a forced reset with a factory reset because both involve holding buttons and seeing the Apple logo. The key difference is that a forced reset is a restart, while a factory reset is a complete data wipe. If your phone is frozen, a forced reset is the right choice. If you are preparing to sell the phone, a factory reset is what you need.
Frequently Asked Questions
Can I undo a factory reset?
No, a factory reset cannot be undone. However, if you have a backup from before the reset, you can restore your data from that backup. This puts your photos, messages, and other information back onto the phone, but it does not undo the reset itself — the phone still goes through the reset process, then the data is added back.
Will a factory reset remove viruses or malware?
A factory reset removes any malicious software because it deletes everything on the phone and reinstalls the original operating system. However, iPhones are less vulnerable to viruses than Android phones because Apple controls what apps can do. If you suspect malware, a factory reset is one way to be certain it is gone, but backing up and restoring from that backup may restore the malware too if it was in your backup.
Do I need to remove my SIM card before resetting?
No, a factory reset does not affect your SIM card. Your phone number and carrier information stay the same. You can remove the SIM card if you want, but it is not necessary for the reset to work.
What if I forget my Apple ID password during the reset?
If you cannot remember your Apple ID password, you can reset it through the Apple ID website or by using another Apple device signed into the same account. Go to iforgot.apple.com and follow the steps to reset your password. You will need access to the email address or phone number linked to your account. Once you reset your password, you can use the new one to complete the factory reset on your iPhone.
Can I reset my iPhone if it is locked with Find My iPhone?
If Find My iPhone is turned on, the reset process will ask for your Apple ID password. This is a security feature to prevent someone else from erasing your phone and using it. You will need to enter the correct password to proceed. If you do not know the password, you can reset it at iforgot.apple.com, then use the new password to complete the factory reset.