Get your device ready
- Make sure that your Mac or PC is updated. If you're using iTunes, make sure that you have the latest version.
- If you want to save the information on your iPhone, iPad, or iPod, make a backup.
- Go to Settings > [your name] > Find My, tap Find My iPhone, then turn it off. Learn what to do for an unresponsive device or one that won't turn on. Get help if you forgot your passcode.
Restore your device to factory settings
- On a Mac with macOS Catalina or later, open the Finder. On a Mac with macOS Mojave or earlier, or on a PC, open iTunes. Find out which macOS your Mac is using.
- Connect your device to your computer.
- If a message asks for your device passcode or to Trust This Computer, follow the onscreen steps. Get help if you forgot your passcode.
- Select your device when it appears on your computer. Learn what to do if your iPhone, iPad, or iPod touch is unresponsive or won't turn on. Or get help if your device doesn't appear on your computer.
- Click Restore [device]. If you're signed into Find My, you need to sign out before you can click Restore.
- Click Restore again to confirm. Your computer erases your device and installs the latest iOS, iPadOS, or iPod software.
- After your device restores to factory settings, it restarts. Now you can set it up as new.
If you can't access a computer
If you can't access a computer and your device still works, you can erase and restore your device without a computer.