Erasing an iPhone without the iCloud password is possible, but the path depends on whether you own the device and what access you have
If you own the iPhone but forgot your iCloud password, you can erase it through Find My iPhone on another device, or by using a computer with Finder or iTunes. If you do not have access to another Apple device or computer, you can still erase the phone by entering your device passcode (the four or six-digit code you use daily), though the phone will remain locked to the previous iCloud account until you sign in with the correct password afterward.
If someone else owns the device or it was given to you locked, erasing it without the original owner's iCloud password is not possible through legitimate means — Apple's security is designed to prevent this. The sections below cover the real options based on your situation.
Key Takeaways
- If you know your device passcode, you can erase the iPhone through Settings without needing the iCloud password, though the phone will stay locked to that account afterward.
- If you have access to another Apple device (Mac, iPad, or another iPhone), you can use Find My iPhone to erase the phone remotely and remove it from the iCloud account.
- If you have a computer, you can connect the iPhone with a USB cable and use Finder (Mac) or iTunes (Windows) to erase and restore it.
- If you do not own the device or do not have the iCloud password and cannot prove ownership to Apple, the phone cannot be legitimately erased and reused on a different account.
- After erasing, you will need either the original iCloud password to sign back in, or proof of purchase to contact Apple Support and regain access.
Erasing through Settings if you know your device passcode
This is the fastest method if you can unlock the phone with your four or six-digit passcode. Open Settings, then tap General. Scroll to the bottom and tap Transfer or Reset. Choose Erase All Content and Settings. The phone will ask you to confirm and may request your device passcode again. Tap Continue and then Erase.
The iPhone will restart and go through the setup process. When you reach the iCloud sign-in screen, you will see a message saying the device is linked to an Apple ID. At this point, you have two choices: sign in with the correct iCloud password if you remember it, or tap Don't Have a Passcode or Forgot It? to begin the account recovery process through Apple Support.
This method works because your device passcode proves you own the phone. The iCloud lock remains in place as a security feature, but it does not prevent you from erasing the data.
Erasing remotely through Find My iPhone on another device
If you have access to another iPhone, iPad, or Mac, you can erase the locked phone from a distance. On the other device, open the Find My app (on iPhone or iPad) or go to iCloud.com in a web browser and click Find My iPhone. Sign in with the same iCloud account that is linked to the phone you want to erase.
Select the device from the list. Tap or click Erase This Device. Confirm your choice. The phone will be erased remotely, and you can also choose to remove it from your iCloud account at the same time. This method works even if the phone is powered off or in another location.
After erasing, the phone will restart. When setup begins, it will still show the iCloud account lock, but the data will be gone. This is useful if you are selling the phone or handing it to someone else, because it clears your personal information while the new owner can contact Apple Support to regain access if they have proof of purchase.
Erasing through a computer using Finder or iTunes
Connect the iPhone to a Mac or Windows computer with a USB cable. On a Mac running macOS Catalina or later, open Finder and select the iPhone in the sidebar. Click General, then 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 erase the phone.
You may be asked for your device passcode during this process. If the phone is already unlocked or you know the passcode, enter it when prompted. The phone will restart and show the setup screen with the iCloud lock still in place.
This method is useful if the phone is not responding to touch input or if you prefer to use a computer. It also allows you to choose whether to restore from a backup or set up as new.
What happens after erasing: the iCloud lock
After erasing through any method, the iPhone will restart and display the set up Lock screen, which asks for the iCloud account and password. This is Apple's anti-theft protection and cannot be bypassed. At this point, you must either enter the correct iCloud password or contact Apple Support.
If you remember the password, sign in and the phone is ready to use. If you do not remember it, you have two paths: use the account recovery options Apple offers (answering security questions, using a recovery email, or using a trusted device), or contact Apple Support with proof that you own the device. Proof usually means a receipt, an order confirmation email, or the original box with the serial number.
If you cannot provide proof of ownership, Apple will not remove the lock. This is intentional — it prevents stolen phones from being erased and resold. If someone else owns the device, they must be the one to remove the lock or provide written permission for you to do so.
If you do not own the device or cannot prove ownership
If the iPhone belongs to someone else and you do not have their iCloud password or written permission, the device cannot be legitimately erased and reused. Apple's set up Lock is specifically designed to prevent this scenario. Attempting to work around it through unofficial methods violates Apple's terms and may involve illegal activity depending on how you obtained the phone.
The correct step is to contact the original owner and ask them to remove the device from their iCloud account, or to provide you with the iCloud password and proof of ownership. If the phone was given to you as a gift, ask the person who gave it to you to contact the original owner on your behalf.
If the phone was purchased second-hand and the seller will not cooperate, contact Apple Support with your receipt. Apple may be able to help if you can prove you purchased it legitimately, though the process takes time and requires documentation.
Frequently Asked Questions
Can I erase the iPhone if I do not know the device passcode?
Not through Settings. You would need access to another Apple device with Find My iPhone, or a computer with Finder or iTunes. If you have none of these, you cannot erase it without the device passcode or the iCloud password.
Will erasing the iPhone remove the iCloud lock?
No. Erasing clears your data and apps, but the set up Lock remains. The phone will still ask for the iCloud password when it restarts. You must sign in with the correct password or contact Apple Support to regain access.
What if I erased the phone and now I cannot remember the iCloud password?
Go to the set up Lock screen and tap Don't Have a Passcode or Forgot It? Apple will walk you through account recovery using security questions, a recovery email, or a trusted device. If none of those work, contact Apple Support with proof of purchase.
Can I use Find My iPhone if I do not remember the iCloud password?
You need to sign in to Find My iPhone with the iCloud account and password. If you forgot the password, reset it at iforgot.apple.com before you can access Find My iPhone.
What if the iPhone is off and I want to erase it remotely?
Find My iPhone can still erase a powered-off device. The erase command is stored, and when the phone turns on and connects to the internet, it will erase itself automatically.