You can erase an iPhone without the password using Find My iPhone, a computer, or Apple's recovery 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 on iCloud.com, through a Mac or Windows computer with Finder or iTunes, or by taking the phone to an Apple Store. Each route works differently depending on whether you know the Apple ID password, whether you have physical access to another device, and how much time you have. The fastest option for most people is Find My iPhone if you remember your Apple ID credentials.

Erasing removes all data from the phone and resets it to factory settings. After the erase completes, the iPhone will ask for the Apple ID password that was originally set on it — you cannot skip this step. If you do not know that password, you will need to reset it through Apple's account recovery process before you can set up the phone again.

Key Takeaways

  • Find My iPhone on iCloud.com is the fastest method if you know your Apple ID password and have internet access.
  • A Mac or Windows computer with Finder (Mac) or iTunes (Windows) can erase the phone if you connect it by USB cable and the computer was previously trusted by that iPhone.
  • Apple Stores can erase iPhones but will ask for proof of ownership and may require you to reset your Apple ID password first.
  • After erasing, the iPhone will ask for the original Apple ID password — you cannot set it up without this password or a way to reset it.
  • If you do not know the Apple ID password, you will need to use Apple's account recovery process, which can take several days.

Using Find My iPhone from iCloud.com

Go to iCloud.com in a web browser on any computer or phone. Sign in with the Apple ID that is linked to the iPhone you want to erase. If you do not remember the password, use the "Forgot password?" link to reset it first — this may take a few minutes or up to several hours depending on your account security settings.

Once you are signed in, click "Find My" (or "Find My iPhone" on older iCloud accounts). A map will appear showing the location of all devices linked to that Apple ID. Click the iPhone you want to erase. A panel will open on the right side with options. Click "Erase This Device" and confirm. The erase will begin when ready if the phone has internet access, or it will erase the next time the phone connects to the internet.

This method works even if the iPhone is powered off, as long as it connects to the internet at some point. The phone will not show any notification that it is being erased — it will straightforward restart and return to the setup screen. You do not need the device in your hands to use this method.

Erasing through a Mac or Windows computer

Connect the iPhone to a Mac or Windows computer using a USB cable. On a Mac running macOS Monterey or newer, open Finder and look for the iPhone in the sidebar under "Locations." On Windows or older Mac systems, open iTunes instead. The computer may ask you to trust this device — if you see that prompt, click "Trust" on the iPhone screen.

Once the iPhone appears in Finder or iTunes, click it to open the device summary. Look for a button labeled "Restore" (in iTunes) or "Restore iPhone" (in Finder). Click it and confirm. The computer will read the current iPhone operating system and erase the phone, then reinstall the system. This process takes 10 to 30 minutes depending on your internet speed and the iPhone model.

This method only works if the computer was previously trusted by the iPhone — meaning someone used the iPhone to approve this computer at some point in the past. If the computer has never been trusted, you will see an error message and this method will not work. In that case, use Find My iPhone or visit an Apple Store instead.

Erasing at an Apple Store

Take the iPhone and proof of purchase or proof of ownership to an Apple Store. Proof can be a receipt, an order confirmation email, a credit card statement showing the purchase, or account information showing the device is registered to you. The staff will verify your identity and ownership before proceeding.

If you do not have proof of ownership, Apple may still erase the phone, but the process will be slower and may require additional verification. You will need to reset your Apple ID password before or during the visit — the staff can guide you through this. After the erase, the phone will be ready to set up, but you will need your Apple ID password to complete setup.

This method is useful if you do not have access to another computer or if the previous methods did not work. It also removes any doubt about whether the erase succeeded. The entire process usually takes 30 minutes to an hour.

What happens after the erase is complete

Once the iPhone finishes erasing, it will restart and show the "Hello" setup screen. You will be asked to choose a language, connect to Wi-Fi, and then enter the Apple ID password that was originally set on the phone. You cannot skip this step or use a different Apple ID password — the phone is locked to the original Apple ID until you provide the correct password.

If you do not know the original Apple ID password, click "Don't have an Apple ID or forgot it?" on the setup screen. You will be guided through Apple's account recovery process. This usually involves answering security questions, receiving a code by email or text, or waiting for a recovery key to become available. The process can take anywhere from a few minutes to several days depending on your account settings.

Once you have reset the Apple ID password or confirmed your identity, you can finish setting up the iPhone and use it normally. The phone will not retain any data from before the erase.

When the erase fails or does not work

If Find My iPhone shows the device as offline and does not erase after several days, the phone may not have internet access. Turn on Wi-Fi on the iPhone if you can, or move it to a location with better signal. The erase will process once the phone connects.

If you are using a computer to erase and see an error message, the computer may not be trusted by the iPhone. Try a different computer that was previously used with the iPhone, or use Find My iPhone instead. If you see a message about the device being locked, you may need to reset your Apple ID password first.

If none of these methods work, or if you are unsure whether the phone belongs to you, contact Apple Support or visit an Apple Store. They can verify ownership and help you erase the device or recover access to your account.

Frequently Asked Questions

Can I erase an iPhone if I do not know the Apple ID password?

Yes, you can erase it using Find My iPhone, a trusted computer, or an Apple Store. However, after the erase completes, you will need the original Apple ID password to set up the phone again. If you do not know it, you will need to reset it through Apple's account recovery process before you can use the phone.

Will erasing the iPhone remove the Apple ID lock?

No. Erasing removes all data and settings, but the phone remains locked to the original Apple ID. You will be asked to enter that Apple ID password during setup. This is a security feature to prevent theft. You cannot remove this lock without the Apple ID password or proof of ownership.

How long does it take to erase an iPhone?

Using Find My iPhone, the erase begins when ready if the phone has internet access, and the phone restarts within a few minutes. Using a computer, the process takes 10 to 30 minutes. At an Apple Store, the entire visit usually takes 30 minutes to an hour. If the phone is offline, Find My iPhone will erase it the next time it connects to the internet.

Can I erase an iPhone without a computer or internet?

Not without additional help. If the iPhone is powered on and you can access the settings, you can erase it directly on the phone through Settings > General > Transfer or Reset > Erase All Content and Settings. However, if you cannot unlock the phone, you will need either Find My iPhone (which requires internet), a trusted computer, or an Apple Store.

What if the iPhone belongs to someone else?

Do not erase it. If you found the phone or inherited it, contact the original owner or Apple with proof of ownership or permission. Erasing a phone that belongs to someone else without permission may be illegal. If you are the executor of an estate, Apple can help you erase a deceased person's device with proper documentation.