You can erase an iPhone without the password using Find My iPhone, a computer, or Apple's online tools — but you'll lose all data unless you have a backup
Erasing an iPhone without its password is possible, but the method depends on what access you have: to your Apple ID account, to another device, or to a computer. Apple built these paths so you can regain control of a device you own but can't unlock. The trade-off is that erasing removes everything on the phone unless you restore from a backup afterward. If you're locked out of both the device and your Apple ID, the process takes longer but is still possible through Apple Support.
The fastest route for most people is Find My iPhone if you remember your Apple ID password. If you don't have that, a Mac or Windows computer with iTunes or Finder can erase the phone. If you're locked out of everything, you'll need to contact Apple or visit an Apple Store with proof of ownership.
Key Takeaways
- Find My iPhone erases the device remotely if you know your Apple ID password, and takes about 15 minutes to complete.
- A Mac or Windows computer can erase an iPhone using Finder (Mac) or iTunes (Windows) when connected by USB cable, even without the Apple ID password.
- If you're locked out of your Apple ID, you can reset the password through Apple's website using your recovery key or a trusted device.
- Erasing removes all data on the phone unless you restore from a backup, so check iCloud or your computer for a backup before you start.
- If you have no access to your Apple ID or a computer, Apple Support or an Apple Store can erase the device with proof of ownership.
Erasing with Find My iPhone (fastest method)
If you remember your Apple ID email and password, Find My iPhone is the quickest way to erase the device remotely. Go to iCloud.com in any web browser, sign in with your Apple ID, and click Find My iPhone (or Find My on newer Apple systems). Select the iPhone you want to erase from the device list.
Click the device name, then select Erase This Device. You'll be asked to confirm — the phone will be erased and removed from your account. The process starts when ready if the phone is online, or begins the next time it connects to the internet. You won't be able to use Find My to locate it after this point. The entire process takes 10 to 20 minutes depending on the phone's internet connection.
After erasing, the iPhone will restart and show the setup screen. If you have a backup stored in iCloud, you can restore your data during setup by signing in with your Apple ID and choosing to restore from backup. If you don't have a backup, the phone will be completely blank.
Erasing with a Mac or Windows computer
If you have access to a Mac or Windows computer, you can erase the iPhone by connecting it with a USB cable. This method works even if you don't know your Apple ID password, but you will need to know the device password or have the phone already unlocked. On a Mac with macOS Monterey or newer, open Finder, connect the iPhone, and click the device name in the sidebar. Click General, then Restore. On Windows or older Mac systems, open iTunes instead and follow the same steps.
The computer will read the latest iOS software and erase the phone, which takes 20 to 40 minutes depending on your internet speed and the iPhone model. During this process, do not unplug the phone. When it finishes, the iPhone will restart and show the setup screen. You can then restore from a backup if you have one, or set it up as new.
If the phone is locked with a passcode and you don't know it, the computer will ask you to unlock it before erasing. If you can't unlock it, you'll need to use Find My iPhone instead, or contact Apple Support.
Resetting your Apple ID password if you're locked out
If you don't remember your Apple ID password but you have access to a trusted device (another iPhone, iPad, Mac, or Apple Watch signed into your account), you can reset it without erasing anything. Go to iforgot.apple.com on any computer or phone, enter your Apple ID email, and choose I don't have access to these devices. Apple will send a reset link to your email or phone number on file.
If you have a recovery key (a 16-character code Apple gave you when you set up two-factor authentication), you can use that instead. Enter the recovery key on the iforgot page, and Apple will let you create a new password when ready. Once your password is reset, you can use Find My iPhone to erase the device as described above.
If you don't have a recovery key and can't access your trusted devices, Apple's account recovery process takes 3 to 5 days. You'll answer security questions or provide other proof of identity, and Apple will unlock your account once verified.
What happens to your data after erasing
Erasing an iPhone removes all photos, messages, apps, settings, and files stored on the device itself. However, data you've backed up to iCloud — including photos, contacts, calendars, and app data — stays in your iCloud account and can be restored to any iPhone. Data stored only on your computer (through iTunes or Finder backups) also remains safe on that computer.
Before you erase, check whether you have a backup by going to Settings > [Your Name] > iCloud > iCloud Backup on the locked iPhone if you can access it, or by signing into iCloud.com on a computer. If you see a recent backup date, your data is safe. If you don't have a backup and the phone is locked, you'll lose access to that data after erasing.
Erasing through Apple Support if you have no other access
If you don't remember your Apple ID password, don't have a computer, and can't access Find My iPhone, you can still erase the device through Apple Support or by visiting an Apple Store in person. You'll need to prove you own the iPhone — usually with a receipt, proof of purchase, or the original box. Apple can then erase the device and help you set it up again.
To start this process, go to support.apple.com, select your device, and choose the option to contact Apple Support. Explain that you need to erase a device you own but can't access. Support can guide you through options or schedule a Genius Bar appointment at a nearby Apple Store. In-person service is usually faster — typically 30 minutes to an hour — but availability depends on your location.
Frequently Asked Questions
Will erasing my iPhone remove it from my Apple ID account?
Erasing through Find My iPhone removes the device from your account automatically. Erasing through a computer or Apple Support does not — you'll need to sign out of your Apple ID on the setup screen after erasing, or remove the device manually from iCloud.com under your account settings.
Can I erase an iPhone that belongs to someone else?
No. If the iPhone is linked to another person's Apple ID, you cannot erase it without their password or recovery key. Attempting to erase a device you don't own is theft. If you have a legitimate reason to erase a device (you inherited it, bought it used, etc.), contact Apple Support with proof of ownership.
What if the iPhone won't connect to the computer?
Try a different USB cable, a different computer, or restart both the phone and computer. If the phone still won't connect, it may have a hardware problem. Use Find My iPhone instead if you have access to your Apple ID. If that's not an option, contact Apple Support or visit an Apple Store.
Can I erase just part of the iPhone without erasing everything?
No. Erasing an iPhone is an all-or-nothing action — you cannot selectively delete data without erasing the entire device. If you want to keep some data, restore from a backup after erasing and the phone will return to the state it was in when that backup was made.
How long does it take to erase an iPhone?
Find My iPhone takes 10 to 20 minutes if the phone is online. A computer connection takes 20 to 40 minutes depending on your internet speed. The actual erase process is fast, but downloading the iOS software takes the most time.