You can erase an iPhone without the iCloud password, but the method depends on whether you own the device and what access you have

If you own the iPhone, you have several paths forward. If you have the device in hand and it is unlocked, you can erase it through Settings without needing the iCloud password at all. If the device is locked, you can use your computer to erase it through Finder (on Mac) or iTunes (on Windows), or you can use Find My iPhone from another device. If you do not own the device or cannot prove ownership, the process is much more limited — Apple's security is designed to prevent unauthorized erasure.

The key distinction is whether you can access the device itself, whether you have another Apple device signed into the same account, and whether you can verify ownership to Apple. Each path has different requirements and takes different amounts of time.

Key Takeaways

  • If the iPhone is unlocked and in your hands, you can erase it directly through Settings without any password.
  • If the iPhone is locked, you can erase it using a Mac or Windows computer connected via USB, or through Find My iPhone on another device.
  • Erasing through Find My iPhone requires you to sign into iCloud.com with your Apple ID, not the iCloud password on the device itself.
  • If you cannot access the device and do not have another Apple device, you will need to contact Apple Support with proof of ownership.
  • Erasing the iPhone does not remove set up Lock — the device will still require an Apple ID and password to set up after erasure.

Erasing an unlocked iPhone directly through Settings

This is the fastest method if you have physical access to the device and it is not locked. Open Settings, tap General, scroll down and tap Transfer or Reset, then tap Erase All Content and Settings. The iPhone will ask you to confirm and may ask for your Apple ID password (not iCloud password — these are the same thing, but the system calls it an Apple ID password at this step). If you do not know this password, you can skip it by tapping "Don't Have Apple ID or Forgot It?" and then "Erase iPhone" again.

The erasure takes 5 to 15 minutes depending on how much data is on the device. The iPhone will restart several times. When it finishes, you will see the setup screen as if the device is brand new.

Erasing a locked iPhone using a computer

If the iPhone is locked and you have a Mac or Windows computer, you can erase it without the iCloud password. Connect the iPhone to the computer with a USB cable. On a Mac running macOS Monterey or newer, open Finder and click the iPhone in the sidebar. On Windows or older Mac, open iTunes instead.

In Finder or iTunes, you will see a Restore button. Click it. The computer will read the current iOS version and erase the iPhone, then install a fresh copy of iOS. This process takes 10 to 30 minutes depending on your internet speed and the iPhone model. You do not need any password for this step.

When the restore finishes, the iPhone will show the setup screen. At this point, set up Lock will still be active — the device will ask for an Apple ID and password before you can proceed. If you do not have the Apple ID credentials, you will need to contact Apple Support.

Erasing a locked iPhone through Find My iPhone

If you have another Apple device (iPhone, iPad, Mac) or access to iCloud.com, you can erase a locked iPhone remotely. Go to iCloud.com in a web browser, sign in with your Apple ID, and click Find My. Select the iPhone you want to erase from the list of devices. Click the device name, then click Erase This Device. Confirm the action.

The iPhone does not need to be in your hands for this method, but it does need to be powered on and connected to the internet. The erasure will start within a few minutes. Like the computer method, this removes the data but leaves set up Lock in place.

If you are using another iPhone or iPad, open the Find My app instead of going to iCloud.com. The steps are the same: select the device, tap it, and choose Erase This Device.

What set up Lock means after you erase

Erasing the iPhone removes all your personal data, photos, messages, and apps. It does not remove set up Lock, which is a security feature that requires an Apple ID and password to set up the device after erasure. This is intentional — it prevents someone who steals your iPhone from erasing it and selling it as new.

After you erase, the iPhone will ask for an Apple ID and password during setup. If you do not have these credentials, you cannot proceed past this screen. You will need to contact Apple Support with proof of ownership (receipt, serial number, or account information) to remove set up Lock.

When you do not own the device or cannot prove access

If the iPhone belongs to someone else and you do not have their permission, you cannot erase it without their Apple ID password. Apple's system is designed this way to prevent theft and unauthorized access. If someone tells you they forgot their password and you are trying to help them, they need to contact Apple Support directly with proof of ownership.

If you are a parent trying to erase a child's device that is linked to your Family Sharing account, you can erase it through Find My or through the Screen Time settings on your own device. You do not need the child's password for this.

If you forgot your own Apple ID password

Your Apple ID password and your iCloud password are the same thing — Apple uses "Apple ID password" in most places now. If you forgot it, go to iforgot.apple.com, enter your Apple ID (usually your email address), and follow the recovery steps. Apple will send a verification code to your email or phone number. After you verify, you can reset the password.

Once you have reset your password, you can use it to erase the iPhone through any of the methods above. If you do not have access to the email address or phone number associated with your Apple ID, contact Apple Support — they can verify your identity and help you regain access.

Frequently Asked Questions

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

Yes, if you have the device in your hands and it is unlocked, or if you have a computer to connect it to. You can also erase it remotely through Find My iPhone if you have another Apple device or access to iCloud.com. The only time you cannot erase without the password is if the device is locked and you have no other access method.

Will erasing the iPhone remove the Apple ID from it?

Erasing removes all data and apps, but set up Lock remains. The device will still require an Apple ID and password to set up after erasure. If you want to remove the Apple ID completely, you need the password or you need to contact Apple Support with proof of ownership.

What is the difference between erasing through Settings and erasing through a computer?

Erasing through Settings is faster if the device is unlocked. Erasing through a computer works on locked devices and also reinstalls iOS, which can fix some software problems. Both methods leave set up Lock in place.

How long does it take to erase an iPhone?

Through Settings, 5 to 15 minutes. Through a computer, 10 to 30 minutes depending on your internet speed. Through Find My iPhone, the process starts within a few minutes but the device needs to be powered on and connected to the internet.

Can I erase someone else's iPhone without their permission?

No. If the device is locked or has set up Lock enabled, you will need the Apple ID password. This is a security feature designed to prevent theft. If you are trying to help someone who forgot their password, they need to contact Apple Support directly.