Wipe your iPhone 4 by resetting it to factory settings through Settings, then sign out of your Apple ID first
Before you sell an iPhone 4, you need to remove everything on it — your photos, messages, passwords, payment information, and your Apple ID account. The fastest way is a factory reset, which erases all data and returns the phone to the state it was in when it left the factory. You do this through the Settings app on the phone itself, not through a computer.
The order matters: sign out of your Apple ID account first, then erase the phone. If you erase first and your Apple ID is still linked, the next person who turns on the phone will be locked out by set up Lock — a security feature that prevents anyone but the account owner from using the device. That makes the phone nearly worthless and frustrating for the buyer.
Key Takeaways
- Sign out of your Apple ID account in Settings before you erase anything, or the phone will be locked to your account and unusable by the buyer.
- A factory reset through Settings > General > Reset > Erase All Content and Settings removes all your data in one step.
- The reset takes 5 to 15 minutes depending on how much data is on the phone and how full the storage is.
- After the reset completes, the phone will restart and show the setup screen, which is what a buyer expects to see.
Sign out of your Apple ID before erasing
Open Settings on your iPhone 4 and tap your name at the top (on older iOS versions, this may be under iCloud instead). Scroll down and tap "Sign Out" or "Log Out". You will be asked to enter your Apple ID password — this is a security check to make sure you own the account. Enter it and confirm that you want to sign out.
If you do not know your Apple ID password, you can reset it through Apple's website before you start the wipe process. This step prevents the buyer from being locked out when they try to set up the phone with their own account.
Erase all content and settings through the Settings app
Once you are signed out of your Apple ID, go to Settings > General > Reset. On the iPhone 4, this menu is labeled "Reset" rather than "Erase iPhone" on newer models, but it does the same thing. Tap "Erase All Content and Settings".
The phone will ask you to confirm and may ask for your passcode if you have one set. Confirm the action. The iPhone will begin erasing all data — this includes photos, videos, messages, contacts, apps, and settings. Do not turn off the phone or disconnect it during this process, even though it may take several minutes.
What happens after the reset completes
When the erase is finished, the iPhone 4 will restart automatically and display the setup screen you see when a new iPhone is first turned on. This is the "Hello" screen in multiple languages, followed by prompts to choose a language and connect to Wi-Fi. This is exactly what a buyer expects to see, and it signals that the phone is ready for them to set up with their own account.
At this point, your data is gone and your Apple ID is no longer on the device. The phone is safe to sell or give away.
If you cannot access the phone to sign out
If the iPhone 4 is broken, locked with a passcode you forgot, or will not turn on, you have another option: use iCloud's Find My iPhone feature from a computer or another device. Go to iCloud.com, sign in with your Apple ID, open Find My iPhone, select the iPhone 4 from the list, and choose "Erase iPhone". This removes all data and your Apple ID from the phone remotely, even if you cannot physically access it.
After you erase it remotely, the phone will still show the setup screen when the buyer turns it on, just as if you had erased it in person. The difference is that you do not need the phone in your hands to do it.
Back up your data before you erase
If you want to keep your photos, messages, or other data, back them up before you erase the phone. You can back up to iCloud by going to Settings > iCloud > iCloud Backup and tapping "Back Up Now", or you can connect the phone to a computer with iTunes and create a backup there. Once the backup is complete, you can erase the phone without losing anything.
The backup saves to your Apple ID account, so you can restore it to a new iPhone later if you get one. Do not skip this step if you care about keeping your data.
What not to do when selling your iPhone 4
Do not erase the phone and then turn it back on to check that it works — this can trigger set up Lock if your Apple ID is still somehow linked. Instead, erase it, let it restart to the setup screen, and then leave it off or in airplane mode until the buyer picks it up. This prevents any automatic syncing that might re-link your account.
Do not sell the phone with apps still installed or with your email accounts still set up in Mail or other apps. The factory reset removes all of these, so as long as you follow the steps above, you are safe. If you are selling locally and want to show the buyer that the phone works before handing it over, turn it on, let them see the setup screen, and turn it back off when ready.
Frequently Asked Questions
What if I forgot my Apple ID password?
Go to Apple's account page at iforgot.apple.com, enter your Apple ID email, and follow the steps to reset your password. You will need access to a recovery email or phone number linked to your account. Once you have reset the password, return to the iPhone and sign out using the new password.
Will the buyer be able to use the phone after I erase it?
Yes, as long as you signed out of your Apple ID before erasing. The phone will show the setup screen, and the buyer can create their own Apple ID or sign in with theirs. If you did not sign out first, the phone will be locked to your account and the buyer will not be able to use it without your help.
Can I erase the iPhone 4 without a computer?
Yes. You can erase it entirely through the Settings app on the phone itself. You do not need a computer, iTunes, or any other tool. Just make sure you sign out of your Apple ID first.
How long does a factory reset take?
A factory reset usually takes 5 to 15 minutes, depending on how much data is stored on the phone and how full the storage is. Older iPhones with less storage erase faster. Do not interrupt the process by turning off the phone or removing the battery.
Should I remove the SIM card before selling?
Yes. The SIM card is separate from the phone's storage and is not erased by a factory reset. Remove it before you hand over the phone so the buyer does not have access to your phone number or carrier account. You can reuse the SIM card in another phone or return it to your carrier.