What restoring a backup means and when you need it
Restoring a backup from your computer to your iPhone means copying all your photos, messages, contacts, settings, and app data from a file your computer saved back onto your phone. You do this when you get a new iPhone, when you've wiped your current phone and want your old data back, or when your phone had a serious problem and you're starting fresh.
The backup file itself is a complete snapshot of your phone taken at a specific moment. When you restore it, your iPhone becomes a copy of how it was when that backup was made. Everything comes back — your home screen layout, your text message history, your saved passwords, your photos, your app settings. The process takes anywhere from a few minutes to an hour depending on how much data you have and how fast your internet connection is.
You can only restore from a backup you created yourself on your computer. If you never backed up before, this won't work — you'll need to set up your iPhone as new instead. If you have a backup, you're in the right place.
Key Takeaways
- You restore a backup by connecting your iPhone to the computer where the backup file is stored, opening iTunes or Finder, and selecting "Restore Backup" from the device menu.
- Your iPhone will erase completely during the restore process, so make sure you have the backup file before you start.
- The backup file must be on the same computer you're using to restore — you cannot restore from a backup stored on a different computer or on cloud storage like iCloud.
- After the restore finishes, your iPhone will restart and ask you to unlock it with your passcode, which should be the same passcode your old phone had.
- If the restore fails partway through, disconnect the cable, force-restart your iPhone, and try again from the beginning.
Finding your backup file on your computer
Before you can restore, you need to know where your backup is stored. On Windows, iTunes saves backups in a folder buried several levels deep. Open File Explorer, type %appdata%\Apple Computer\MobileSync\Backup into the address bar at the top, and press Enter. You'll see a folder or folders with long names made of random letters and numbers — each one is a backup. The folder with the most recent date modified is your newest backup.
On Mac, backups live in a different place. Open Finder, click "Go" in the menu bar at the top, hold down the Option key, and click "Library." Then navigate to Preferences > com.apple.dt.Xcode > IDESourceTreeDisplayNames. Actually, that's not right — on newer Macs with Finder instead of iTunes, backups are in Library > Group Containers > group.com.apple.configurator.ui > Library > Caches > com.apple.nsurlsessiond > com.apple.MobileDevice.default > Backup. The easiest way is to just open Finder, click "Go," type ~/Library/process Support/MobileSync/Backup, and press Enter.
If you're not sure which backup is yours, look at the date the folder was last modified. The most recent one is almost always the one you want. If you have multiple backups and can't remember which is which, you can right-click the folder, select Properties (Windows) or Get Info (Mac), and look at the date modified to figure out which backup is newest.
Connecting your iPhone and opening the restore menu
Plug your iPhone into your computer using the USB cable that came with it. If you're using a newer iPhone and a newer Mac, you may need a USB-C cable instead. Wait a few seconds for your computer to recognize the phone.
On Windows with iTunes, iTunes should open automatically. If it doesn't, open it yourself. You'll see your iPhone's name appear in the left sidebar under "Devices." Click on it. On the right side of the window, you'll see a button that says "Restore iPhone." On Mac with Finder, your iPhone appears in the Finder sidebar. Click on it, and you'll see a "Restore" button in the main window.
Before you click Restore, make absolutely sure your backup file exists and is on this computer. Once you click Restore, your iPhone will erase completely. If you don't have a backup, stop here and back up first — you can do this by right-clicking your iPhone in iTunes (Windows) or clicking "Back Up Now" in Finder (Mac).
Running the restore and what happens during it
Click the Restore button. A window will pop up asking you to confirm. It will say something like "Are you sure you want to restore the iPhone to its factory settings? All of your data will be erased." Click "Restore" again to confirm. Your computer will now read the current iPhone software and begin erasing your phone.
During the restore, your iPhone's screen will go black or show the Apple logo. Do not unplug the cable. Do not force-restart your phone. Do not close iTunes or Finder. This can take anywhere from 10 minutes to an hour depending on how much data is on your backup and how fast your internet is. Your computer will show a progress bar.
When the erase is done, your iPhone will restart. You'll see "Hello" on the screen and be asked to set up your phone. At this point, your computer will ask you whether you want to set up as new or restore from a backup. Choose "Restore from this backup" and select your backup file from the list. Your iPhone will now copy all your data back onto the phone. This is the longest part — it can take 30 minutes or more if you have a lot of photos or apps.
After the restore is complete
When the restore finishes, your iPhone will restart one more time. You'll be asked to unlock your phone with your passcode. Use the passcode your old phone had — the one that was saved in the backup. If you don't remember it, you'll need to set up as new instead and restore later.
After you unlock it, your home screen should look exactly like it did on your old phone. All your apps, photos, messages, and settings should be there. Some apps may take a few minutes to read their data from the internet — for example, your email app may take a moment to sync your messages, or a game may take a moment to load your saved progress.
Leave your iPhone plugged in and connected to Wi-Fi for at least an hour after the restore finishes. Your phone will use this time to read any app updates, sync photos to iCloud if you use it, and finish any background tasks. If you unplug it too early, some data may not finish copying.
What to do if the restore fails or gets stuck
If the restore stops partway through and shows an error message, disconnect the USB cable from your iPhone. Press and hold the top button and volume down button at the same time until you see "slide to power off," then slide to turn off your phone. Wait 10 seconds, then turn it back on by pressing the top button. Plug it back into your computer and try the restore again from the beginning.
If the same error happens again, try a different USB cable or a different port on your computer. Sometimes a loose cable connection causes the restore to fail. If you're using a USB hub, plug directly into your computer instead — hubs can cause power or connection problems.
If the error persists, your backup file may be corrupted. Try restoring from an older backup if you have one. If you don't have another backup, you'll need to set up your iPhone as new and manually restore what you can — photos from cloud storage, messages from backups in your email account, and so on. This is why backing up regularly is important.
Restoring from iCloud backup instead of a computer backup
If your backup is stored in iCloud instead of on your computer, the process is different. You don't need your computer at all. Turn on your iPhone, go through the setup screens, and when you reach "Apps & Data," tap "Restore from iCloud Backup." Sign in with your Apple ID and choose which backup you want to restore. Your iPhone will read and restore everything from the cloud.
iCloud backups are easier because you don't need a cable or a computer, but they're slower if you have a lot of data and a slow internet connection. Computer backups are faster and don't use your iCloud storage space, but they require you to have the backup file on the specific computer you're using.
Frequently Asked Questions
Can I restore a backup from a computer I don't have anymore?
No. The backup file has to be on the computer you're using to restore. If your old computer is gone, you can only restore from iCloud if you backed up to iCloud, or you'll need to set up your iPhone as new. This is why keeping backups in multiple places is a good idea.
Will restoring a backup remove viruses or malware from my iPhone?
No. If your iPhone had malware, restoring from a backup made while the malware was present will restore the malware too. If you think your phone is infected, contact Apple Support or a technician before restoring. In most cases, iPhones don't get viruses, but it's worth checking.
How long does a restore usually take?
The erase and software read takes 10 to 20 minutes. The data restore takes longer — anywhere from 15 minutes to an hour depending on how much data you have and your internet speed. Leave your phone plugged in and don't use it during this time.
What if I forgot the passcode to my old phone?
You'll be stuck during the restore setup when it asks you to unlock your phone. You can set up your iPhone as new instead, but then you won't be able to restore your backup. If you remember your Apple ID password, you can unlock your phone using that instead of the passcode — look for "Unlock with Apple ID" on the lock screen.
Can I restore a backup to a different iPhone model?
Yes. You can restore a backup from an iPhone 12 to an iPhone 15, or from an older model to a newer one. The data will transfer fine. However, some features may not work if the new phone doesn't support them — for example, if you restore from an iPhone with a feature the new model doesn't have, that feature just won't appear.