This wikiHow teaches you how to erase all data on your iPhone and reset it to the same state it was in when it left the factory.
Step
Method 1 of 2: Using iPhone
![Restore an iPhone Step 1 Restore an iPhone Step 1](https://i.how-what-advice.com/images/009/image-25910-1-j.webp)
Step 1. Open the settings menu (“Settings”)
This menu is indicated by the gray gear icon (⚙️) which is usually displayed on the home screen.
![Restore an iPhone Step 2 Restore an iPhone Step 2](https://i.how-what-advice.com/images/009/image-25910-2-j.webp)
Step 2. Touch your Apple ID
This ID is the segment at the top of the menu containing the name and image (if already uploaded).
- If you are not logged in to ID, touch the link “ Sign in to your iPhone ”, enter the Apple ID and password, then touch “ Sign In ”.
- If you are running a device with an older version of iOS, you may not need to follow this step.
![Restore an iPhone Step 3 Restore an iPhone Step 3](https://i.how-what-advice.com/images/009/image-25910-3-j.webp)
Step 3. Touch iCloud
This option is in the second menu segment.
![Restore an iPhone Step 4 Restore an iPhone Step 4](https://i.how-what-advice.com/images/009/image-25910-4-j.webp)
Step 4. Swipe the screen and tap iCloud Backup
It's at the bottom of the "APPS USING ICLOUD" section.
Slide switch" iCloud Backup ” to the on position or " On " (green color) if the switch has not been shifted.
![Restore an iPhone Step 5 Restore an iPhone Step 5](https://i.how-what-advice.com/images/009/image-25910-5-j.webp)
Step 5. Touch Back Up Now
It's at the bottom of the screen. Wait until the data backup process is complete.
You must be connected to a WiFi network in order to back up data from your iPhone
![Restore an iPhone Step 6 Restore an iPhone Step 6](https://i.how-what-advice.com/images/009/image-25910-6-j.webp)
Step 6. Touch iCloud
It's in the top-left corner of the screen. After that, you will be taken back to the iCloud settings page.
![Restore an iPhone Step 7 Restore an iPhone Step 7](https://i.how-what-advice.com/images/009/image-25910-7-j.webp)
Step 7. Touch Apple ID
It's in the top-left corner of the screen. Once touched, you'll be returned to the Apple ID settings page.
![Restore an iPhone Step 8 Restore an iPhone Step 8](https://i.how-what-advice.com/images/009/image-25910-8-j.webp)
Step 8. Touch Settings
It's in the top-left corner of the screen. Now, you will return to the main page of the settings menu.
![Restore an iPhone Step 9 Restore an iPhone Step 9](https://i.how-what-advice.com/images/009/image-25910-9-j.webp)
Step 9. Swipe the screen and touch General
It's at the top of the menu, next to the gear icon (⚙️).
![Restore an iPhone Step 10 Restore an iPhone Step 10](https://i.how-what-advice.com/images/009/image-25910-10-j.webp)
Step 10. Swipe the screen and touch Reset
It's at the bottom of the menu.
![Restore an iPhone Step 11 Restore an iPhone Step 11](https://i.how-what-advice.com/images/009/image-25910-11-j.webp)
Step 11. Tap Erase All Content and Settings
It's at the top of the menu.
![Restore an iPhone Step 12 Restore an iPhone Step 12](https://i.how-what-advice.com/images/009/image-25910-12-j.webp)
Step 12. Enter the passcode
Type in the code used to unlock the iPhone.
If prompted, enter the restriction passcode or " Restrictions"
![Restore an iPhone Step 13 Restore an iPhone Step 13](https://i.how-what-advice.com/images/009/image-25910-13-j.webp)
Step 13. Touch Erase iPhone
After that, all settings will be restored. Media and data on the iPhone will also be deleted.
![Restore an iPhone Step 14 Restore an iPhone Step 14](https://i.how-what-advice.com/images/009/image-25910-14-j.webp)
Step 14. Wait for the iPhone to finish resetting
![Restore an iPhone Step 15 Restore an iPhone Step 15](https://i.how-what-advice.com/images/009/image-25910-15-j.webp)
Step 15. Follow the instructions shown on the screen
The setup/reset assistant will guide you through this process.
![Restore an iPhone Step 16 Restore an iPhone Step 16](https://i.how-what-advice.com/images/009/image-25910-16-j.webp)
Step 16. Touch Restore from iCloud Backup
![Restore an iPhone Step 17 Restore an iPhone Step 17](https://i.how-what-advice.com/images/009/image-25910-17-j.webp)
Step 17. Sign in using your Apple ID
iPhone will download the backup data from iCloud. Once done, the settings and apps will be installed on the device again.
Method 2 of 2: Using iTunes
![Restore an iPhone Step 18 Restore an iPhone Step 18](https://i.how-what-advice.com/images/009/image-25910-18-j.webp)
Step 1. Make sure you are using the latest version of iTunes
- Windows – Click the button “ Help " and select " Check for Updates ”.
- Mac OS – Click the menu “ iTunes " and select " Check for Updates ”.
![Restore an iPhone Step 19 Restore an iPhone Step 19](https://i.how-what-advice.com/images/009/image-25910-19-j.webp)
Step 2. Connect iPhone to computer
Use the USB cable that came with the device purchase package.
![Restore an iPhone Step 20 Restore an iPhone Step 20](https://i.how-what-advice.com/images/009/image-25910-20-j.webp)
Step 3. Open iTunes
Run the program if it doesn't open automatically.
![Restore an iPhone Step 21 Restore an iPhone Step 21](https://i.how-what-advice.com/images/009/image-25910-21-j.webp)
Step 4. Click the iPhone icon
It's in the bar at the top of the iTunes window.
If your iPhone is not detected, you may need to put it in recovery mode. Disconnect iPhone from the computer, turn it off, on again, press and hold the “Home” button, then reconnect it to the computer. Keep holding down the “Home” button until the “Connect to iTunes” message is displayed. You will be asked to restore your iPhone afterwards
![Restore an iPhone Step 22 Restore an iPhone Step 22](https://i.how-what-advice.com/images/009/image-25910-22-j.webp)
Step 5. Click Back Up Now
With this option, the backup data from iPhone will be saved to the computer.
![Restore an iPhone Step 23 Restore an iPhone Step 23](https://i.how-what-advice.com/images/009/image-25910-23-j.webp)
Step 6. Click Restore iPhone
It's in the right pane.
![Restore an iPhone Step 24 Restore an iPhone Step 24](https://i.how-what-advice.com/images/009/image-25910-24-j.webp)
Step 7. Click Restore
With this option, you confirm iPhone recovery.
![Restore an iPhone Step 25 Restore an iPhone Step 25](https://i.how-what-advice.com/images/009/image-25910-25-j.webp)
Step 8. Wait for the recovery process to complete
This process may take several minutes.
![Restore an iPhone Step 26 Restore an iPhone Step 26](https://i.how-what-advice.com/images/009/image-25910-26-j.webp)
Step 9. Click Restore from this backup
After that, the backup data that was previously stored on the computer will be restored to the device. Apps will be reinstalled and settings will be restored.