Back to Top A white circle with a black border surrounding a chevron pointing up. It indicates 'click here to go back to the top of the page.'

How to factory reset your iPhone with or without your password

hands holding phone and typing on laptop
It's easy to reset your iPhone to its factory defaults, but before you do, make sure to back up all your data. Moyo Studio/Getty Images

  • To reset your iPhone and wipe all data, tap "Erase All Content and Settings" in the Settings app.
  • Before resetting your iPhone, make sure you back it up to iCloud and sign out of your Apple ID.
  • After you reset your iPhone, you can restore it with your backup to retrieve data. 
Advertisement

If you're experiencing issues with your iPhone, like if it's freezing or glitching, resetting the device to its factory settings may solve the problem. Or, if you're selling or giving away your iPhone, you'll want to reset it so all your personal information is wiped from the device.

Resetting your iPhone to its factory settings will take it back to the basics it came with: no contacts, playlists, pictures, password memory, or anything else you've added since the day you bought it.

But before you begin the process of resetting your iPhone, it's important to back up all your data so you don't lose your important information. After your iPhone has been reset, you can then restore it with your backup.

Here's how to factory reset your iPhone with or without a password and make sure your data is backed up.

Advertisement

How to reset your iPhone 

When you factory reset an iPhone, it's important to back up your data and sign out of your Apple ID before wiping it.

Back up your iPhone to iCloud

First, back up your iPhone to iCloud so you don't lose any unsaved data.

1. Open the Settings app and tap your name and Apple ID at the top of the page.

The Settings app on iPhone, with the user’s name and Apple ID highlighted at the top of the page.
Go to your Apple ID page. Stefan Ionescu/Insider

2. On your Apple ID page, tap iCloud.

3. Tap iCloud Backup. 

The iCloud settings on iPhone, with the “iCloud Backup” option highlighted.
Tap “iCloud Backup.” Stefan Ionescu/Insider

4. Tap the toggle for Back Up This iPhone to turn it on – it will have a green background when it's on. 

The “Backup” screen in the iCloud settings on iPhone, with the “Back Up This iPhone” toggle highlighted.
Tap the toggle for “Back Up This iPhone” to turn on the feature. Stefan Ionescu/Insider

5. Tap Back Up Now to back up all your information to iCloud immediately.

he “Backup” screen in the iCloud settings on iPhone, with the “Back Up Now” option highlighted.
Tap “Back Up Now.” Stefan Ionescu/Insider
Advertisement

Sign out of your Apple ID

It's important to sign out of your Apple ID if you're getting rid of your phone, so no one else can access your account.

1. Open the Settings app on your iPhone, and tap your name and Apple ID at the top of the screen.

The Settings app on iPhone, with the user’s name and Apple ID highlighted at the top of the page.
Go to your Apple ID page. Stefan Ionescu/Insider

2. At the very bottom of this page, tap Sign Out.

The Apple ID screen on iPhone, with the “Sign Out” option highlighted.
Tap “Sign Out.” Stefan Ionescu/Insider

3. You may be asked to enter your password. If so, enter your password, and then tap Turn Off in the top right corner – this will turn off Find My.

The prompt to enter your Apple ID on iPhone, with the “Turn Off” option highlighted.
Tap “Turn Off.” Stefan Ionescu/Insider

4. Tap Sign Out in the top right corner.

5. Confirm your decision by tapping Sign Out again in the prompt.

Advertisement

Factory reset your iPhone

Before you factory reset your iPhone, make sure you back up your iPhone first so you can restore your data later.

1. Open the Settings app, scroll down and tap General.

2. At the bottom of the General page, tap Transfer and Reset iPhone.

The “General” settings on iPhone, with the "Transfer and Reset iPhone” option highlighted.
Tap "Transfer and Reset iPhone." Stefan Ionescu/Insider

3. To factory reset your iPhone, tap Erase All Content and Settings.

The "Transfer and Reset iPhone” screen in the Settings app on iPhone, with the "Erase All Content and Settings” option highlighted.
Tap "Erase All Content and Settings." Stefan Ionescu/Insider

4. Tap Continue to confirm you want to erase the iPhone.

5. On the next screen, enter your passcode.

6. Your iPhone will then create an iCloud backup. If you've already made a backup, tap Skip Backup at the bottom.

The screen that shows up after entering your passcode when erasing the iPhone.
Let the iCloud backup finish or tap “Skip Backup” if you’ve already made one. Stefan Ionescu/Insider

7. Enter your Apple ID password and then tap Turn Off in the top right corner – this will turn off Find My and Activation Lock.

8. Finally, tap Erase iPhone to delete all content and settings. This could take a few minutes, depending on how much you have stored on your iPhone, but once the deletion is completed, your device will restart as new.

Advertisement

How to reset your iPhone without your password using iTunes

As you can see from the previous instructions, you'll need to enter your password when factory resetting your iPhone. 

If you have forgotten it, however, you can bypass this problem using iTunes. Here's how. 

1. Connect your iPhone to a computer with iTunes.

2. Open iTunes, and then click the phone icon in the top left corner of the window.

The iTunes window, with the iPhone icon highlighted in the top left corner.
Click the phone icon in the top left corner of the iTunes window. Stefan Ionescu/Insider

3. Click Summary in the left side menu.

4. Click Restore iPhone.

The iTunes window, with the “Restore iPhone” button highlighted.
Click “Restore iPhone.” Stefan Ionescu/Insider

5. iTunes will ask if you want to back up your iPhone's settings before restoring the phone. Depending on what you want to do, click either Back Up or Don't Back Up.

6. Click Restore and Update to confirm your decision. 

iTunes will erase your iPhone and then install the latest version of iOS.

Advertisement

Jump to

  1. Main content
  2. Search
  3. Account