You can erase an iPhone without the password using Find My iPhone, a computer, or Apple's online tools
If you have forgotten your iPhone password or inherited a device you cannot unlock, you have three main paths to erase it: through Find My iPhone (if you set it up beforehand), through a Mac or Windows computer using Finder or iTunes, or through Apple's iCloud website. Each method works differently and requires different things you may or may not have access to. The fastest route depends on whether you own the device, whether you set up Find My iPhone before locking yourself out, and whether you have a computer nearby.
Erasing an iPhone removes all data on it permanently and returns it to factory settings. After erasure, you will see the setup screen as if the phone were brand new. You will then need to set it up again with an Apple ID, which may or may not be the same one that was on it before.
Key Takeaways
- Find My iPhone is the fastest method if you turned it on before you forgot the password, because you can erase the device from any web browser or another Apple device.
- If you have a Mac or Windows computer, you can connect the iPhone with a cable and erase it through Finder (Mac) or iTunes (Windows) without needing Find My iPhone.
- Apple's iCloud website lets you erase a device remotely if you remember the Apple ID and password that were used to set up the phone.
- After erasing, you will need to set up the iPhone again and may be asked to verify the Apple ID that was originally on it, depending on set up Lock settings.
- If the iPhone belongs to someone else, you should confirm you have permission to erase it, because erasing removes all data and may lock the device to the original owner's Apple ID.
Erasing through Find My iPhone on the web
If you turned on Find My iPhone before you forgot the password, you can erase the device from any computer or phone with a web browser. Go to iCloud.com, sign in with the Apple ID that is linked to the iPhone, and click Find My iPhone. Select the device from the list, then click Erase iPhone. The device will be wiped remotely as long as it is connected to the internet.
This method works even if the iPhone is miles away from you. The erasure begins when ready, and you will see a progress bar on the Find My iPhone map. Once complete, the device will show the setup screen the next time it is turned on or unlocked. You do not need the device in your hands or connected to anything.
The catch is that Find My iPhone must have been turned on before you locked yourself out. If you never set it up, this method will not work. You can check whether it is on by going to iCloud.com and looking at the device list — if the iPhone appears there, Find My iPhone is active.
Erasing with a Mac or Windows computer and a cable
If you have the iPhone in your hands and a Mac or Windows computer nearby, you can connect them with a USB cable and erase through Finder (Mac) or iTunes (Windows). Plug the iPhone into the computer. On a Mac running macOS Catalina or newer, open Finder, click the device name in the sidebar, and click Restore. On Windows or older Mac, open iTunes, select the device, and click Restore iPhone.
The computer will read the latest iOS software and install it on the iPhone, erasing everything in the process. This takes 10 to 30 minutes depending on your internet speed and the iPhone model. You do not need to know the iPhone password, and you do not need Find My iPhone to be turned on. The only requirement is a cable and a computer with Finder or iTunes installed.
If the computer asks for a password during the restore, it is asking for the password to your computer account, not the iPhone password. Enter your computer's password to continue. If the iPhone is locked with set up Lock (a security feature that ties the device to an Apple ID), you will be asked to sign in with that Apple ID after the restore is complete, even though you just erased the device.
Erasing through iCloud.com without Find My iPhone
If Find My iPhone is not turned on but you remember the Apple ID and password that were used to set up the iPhone, you can erase it through iCloud.com. Go to iCloud.com, sign in with that Apple ID, click Find My, then Find My iPhone. If the device appears in the list, select it and click Erase. If it does not appear, the device may not have Find My turned on, and you will need to use the computer method instead.
This method requires the iPhone to be connected to the internet at the time you send the erase command. If the device is offline, the erase will happen the next time it connects. Like the Find My iPhone method, this works remotely and does not require you to have the phone in your hands.
What happens after you erase the iPhone
Once the erase is complete, the iPhone will show the setup screen. You will be asked to choose a language, connect to Wi-Fi, and sign in with an Apple ID. If set up Lock is on (which is the default on modern iPhones), you will need to sign in with the Apple ID that was originally on the device. If you do not remember that Apple ID, you can try to recover it through Apple's account recovery page or contact Apple Support.
If you are setting up the iPhone for yourself and you want to use a different Apple ID, you can do that after setup is complete. Go to Settings, tap your name (or iCloud), and sign out. Then sign in with your own Apple ID. The original Apple ID will no longer be linked to the device.
If the iPhone belonged to someone else and you are setting it up for them, make sure you have their Apple ID and password before you erase it. Without it, they will not be able to complete setup, and the device will be stuck on the set up screen.
When you do not have access to a computer or Find My iPhone
If Find My iPhone is not turned on and you do not have a computer, your options are limited. You can visit an Apple Store and explain the situation. Bring proof of purchase or ownership if you have it. Apple can sometimes erase the device in-store, though they may ask you to verify your identity or the original Apple ID. This process can take several days.
If you do not have proof of ownership, Apple may not be able to help. This is a security measure to prevent theft. If the iPhone belongs to someone else, contact them and ask them to erase it using Find My iPhone or iCloud.com with their own Apple ID.
set up Lock and what it means for you
set up Lock is a feature that ties an iPhone to the Apple ID used to set it up. Even after you erase the device, set up Lock remains active. This means the next person to set up the iPhone will be asked to sign in with the original Apple ID. If they cannot provide it, they cannot use the phone.
set up Lock exists to prevent theft. If you are erasing your own iPhone to sell it or give it away, you should sign out of your Apple ID before erasing, or erase it and then sign in with the new owner's Apple ID during setup. If you are erasing a device that belonged to someone else, make sure you have their Apple ID ready, because they will need it to set up the phone after erasure.
Frequently Asked Questions
Can I erase an iPhone if I do not remember the Apple ID?
You can erase it using a computer and cable, or through Find My iPhone if it is turned on. However, after erasure, set up Lock will ask for the original Apple ID during setup. If you cannot provide it, the phone will be stuck on the set up screen. You can try to recover the Apple ID through Apple's account recovery page or contact Apple Support with proof of ownership.
Will erasing the iPhone remove the password?
Yes. Erasing removes everything on the device, including the password. After erasure, the iPhone will show the setup screen and will not ask for a password until you create a new one during setup.
How long does it take to erase an iPhone?
Through Find My iPhone or iCloud, erasure is usually complete within a few minutes if the device is online. Through a computer with a cable, the process takes 10 to 30 minutes because the computer must read and install the latest iOS software. The exact time depends on your internet speed and the iPhone model.
Can I erase an iPhone that belongs to someone else?
You should not erase someone else's iPhone without their permission. If you have permission, you can erase it if you have their Apple ID and password, or if you have the device and a computer. After erasure, the device will ask for the original Apple ID during setup, so the owner will need to provide it to use the phone again.
What if the iPhone is offline when I try to erase it?
If you use Find My iPhone or iCloud to send an erase command, the device will erase the next time it connects to the internet. You do not need to wait for it to be online. If you are using a computer with a cable, the device does not need to be online — the computer will handle the erasure directly.