What restoring your iPhone actually does

Restoring an iPhone erases everything on it — all photos, messages, apps, and settings — and installs a fresh copy of iOS. It is the nuclear option, and it wipes the device completely. You cannot restore an iPhone without either knowing the password, having access to the Apple ID associated with the device, or using a computer with specific tools.

The reason Apple built it this way is security. If anyone could erase an iPhone and use it freely, stolen phones would be worthless to recover. So the system is designed to lock you out unless you prove ownership. Understanding which path applies to your situation — whether you forgot your own password, inherited a device, or bought a used phone — determines what you can actually do.

Key Takeaways

  • Restoring an iPhone requires either the device password, the Apple ID password, or a computer running the latest macOS or Windows with iTunes or Finder.
  • If you know the Apple ID password but not the device password, you can restore through iCloud.com from any web browser without the phone itself.
  • If you know neither password and own the device, you will need a computer to connect the phone and use Finder (Mac) or iTunes (Windows) to restore it.
  • If you cannot prove ownership of the Apple ID, Apple will not remove the account lock, and the phone cannot be restored to a usable state.
  • Restoring erases everything on the phone permanently — there is no recovery of data after the process completes.

Restoring through iCloud if you know the Apple ID password

This is the fastest path if you remember the Apple ID and password but forgot the device password. You do not need the phone itself — you can do this from any computer or tablet with a web browser.

Go to iCloud.com and sign in with the Apple ID and password. Click the account menu (your name or initials in the top right) and select Account Settings. Look for the Devices section and find the iPhone you want to restore. Click it, then select Remove from Account. This step removes the phone from your Apple ID account.

Now go to iCloud.com again and click Find My. Sign in again if needed. Select All Devices at the top, then find your iPhone in the list. Click it and choose Erase iPhone. Confirm the action. The phone will be wiped remotely if it is connected to the internet. After this completes, the device will restart and show the setup screen, and you can set it up as new.

Restoring with a computer when you know neither password

If you do not know the device password or the Apple ID password, you will need a Mac or Windows computer. The phone must be connected to the computer with a USB cable, and the computer must have either Finder (Mac running macOS 10.15 or later) or iTunes (Windows, or older Mac).

On a Mac, plug in the iPhone and open Finder. Click the phone name in the left sidebar under Locations. Click the General tab. You will see a Restore button. Click it and follow the prompts. The computer will read the latest iOS version and install it on the phone. This process takes 10 to 20 minutes depending on your internet speed.

On Windows, plug in the iPhone and open iTunes. The phone should appear in the top left. Click it, then click the Summary tab. Click Restore iPhone and confirm. iTunes will read and install iOS. Do not unplug the phone during this process.

After the restore finishes, the phone will restart and show the setup screen. At this point, you will be asked for the Apple ID password associated with the device. If you do not know it, you cannot proceed past this screen — Apple's security system will not let you use the phone without proving you own the account.

What happens if you do not know the Apple ID password

If the phone is locked to an Apple ID you do not have the password for, the restore will complete, but the phone will be stuck on the set up Lock screen. This screen asks for the Apple ID password and will not let you past it. This is by design — it prevents anyone who steals or finds a phone from using it.

To move forward, you have two options. If this is your own device, you can reset the Apple ID password at iforgot.apple.com. You will need access to the email address or phone number associated with the account. Apple will send a reset link or code, and you can create a new password. Once you have the new password, enter it on the set up Lock screen and the phone will unlock.

If you do not have access to the original email or phone number, or if this is a device you inherited or bought used, contact Apple Support. You will need to provide proof of purchase or ownership. Apple can remove the set up Lock, but the process takes time and requires documentation. Without proof of ownership, Apple will not remove the lock.

Preparing your computer before you start

Before you connect the phone, make sure your computer is ready. On Mac, update to the latest macOS by going to System Settings (or System Preferences on older versions), clicking General, and selecting Software Update. Finder comes built in, so you do not need to read anything.

On Windows, read iTunes from the Microsoft Store or from apple.com. Install it and restart your computer. Make sure Windows itself is up to date by going to Settings, clicking Update & Security, and selecting Check for updates.

Use a USB cable that came with the iPhone or a certified Apple USB cable. Third-party cables sometimes do not work reliably for this process. If your computer does not recognize the phone when you plug it in, try a different USB port on the computer, or restart both the computer and phone and try again.

Why the restore process takes time and what to expect

The restore downloads a file that can be 3 to 5 gigabytes in size, depending on the iPhone model and iOS version. On a fast internet connection, this takes 5 to 10 minutes. On slower connections, it can take 30 minutes or more. The actual installation on the phone takes another 5 to 10 minutes.

During the process, you will see a progress bar on the phone screen and on the computer. Do not unplug the phone, close the computer, or interrupt the connection. If something goes wrong halfway through, the phone may get stuck in recovery mode. If this happens, try connecting to the computer again and repeating the restore process — the computer will usually detect the problem and fix it automatically.

After the restore finishes, the phone will restart and show the setup screen. This is normal. You can set it up as a new phone, or if you have a backup from iCloud or a previous computer, you can restore from that backup during setup. The entire process from start to finish usually takes 30 to 60 minutes.

Frequently Asked Questions

Can I restore an iPhone without a computer?

Yes, if you know the Apple ID password. Go to iCloud.com from any web browser, sign in, go to Find My, select the phone, and choose Erase iPhone. The phone must be connected to the internet for this to work. If you do not know the Apple ID password, you need a computer.

Will restoring the iPhone delete my photos and messages?

Yes. Restoring erases everything on the phone permanently. If your photos and messages are backed up to iCloud, you can restore them after setup by signing into iCloud during the setup process. If they are not backed up, they will be gone.

What if the computer does not recognize the phone when I plug it in?

Try a different USB port on the computer, or restart both devices and try again. Make sure you are using an Apple USB cable or a certified third-party cable. If the phone still is not recognized, the USB port on the phone or computer may be damaged.

Can I restore an iPhone if I do not own the Apple ID account?

No. After the restore, the phone will be locked to the original Apple ID. You will need the password for that account to use the phone. If you cannot access it, you will need to contact Apple with proof of ownership or purchase to have the lock removed.

How long does the entire restore process take?

Usually 30 to 60 minutes from start to finish, depending on your internet speed and the size of the iOS file being downloaded. The read itself can take 5 to 30 minutes, and the installation takes another 5 to 10 minutes.