5 Proven Methods to Factory Reset iPhone X, XR, and XS (Max) in 2026

Selena Lee
Selena Lee Originally published May 13, 2026, updated May 13, 2026
clock :
robot TL;DR:

You can factory reset an iPhone X, XR, or XS using the device's Settings app, a computer (iTunes or Finder), or specialized third-party software. The best method depends on your specific situation.

  • For a quick wipe: Use the built-in option in Settings > General > Transfer or Reset iPhone. This is the simplest way if your phone is working normally.
  • If you forgot the passcode: You must use Recovery Mode with a computer or a tool like Dr.Fone - Screen Unlock to erase the device and remove the lock.
  • Before you start: Always back up your important data to iCloud or a computer, as a factory reset is irreversible and deletes everything on the device.

Ask AI for a summary

Whether you're preparing to sell your device, troubleshooting persistent software glitches, or simply want a fresh start, knowing how to factory reset your iPhone X, XR, or XS is an essential skill. A factory reset, also known as a hard reset, erases all the content and settings on your device, returning it to the state it was in when it first came out of the box.

This process can resolve many performance issues, from sluggishness to app crashes, by clearing out corrupted files and clutter. However, with several different methods available, it can be confusing to know which one is right for your situation. This guide provides a comprehensive walkthrough of five distinct methods to factory reset your iPhone X series, ensuring you can confidently handle the process, even if you've forgotten your passcode or can't access iTunes.

An iPhone X ready to be factory reset
In this article
  1. Part 1. Factory Reset iPhone X/XR/XS Securely Without iTunes
  2. Part 2. How to Factory Reset iPhone X/XR/XS with iTunes or Finder
  3. Part 3. The Easiest Method: Factory Reset iPhone X/XR/XS via the Settings App
  4. Part 4. Using Recovery Mode to Factory Reset a Malfunctioning iPhone X
  5. Part 5. How to Factory Reset iPhone X/XR/XS Without a Passcode

Part 1. Factory Reset iPhone X/XR/XS Securely Without iTunes

For users who find iTunes cumbersome or need a more secure way to wipe their data, a third-party application offers a streamlined and powerful alternative. Dr.Fone - Data Eraser is a professional tool designed to permanently delete all data from your iPhone, making it completely unrecoverable. This is the ideal method if you plan to sell or give away your device, as a standard factory reset doesn't guarantee your personal information can't be retrieved with advanced software.

This tool provides a simple, click-through process that minimizes the risk of user error. Unlike iTunes, which can sometimes be slow or encounter unexpected errors, Dr.Fone offers a reliable and efficient solution for wiping your device clean.

Dr.Fone - Data Eraser

Erase iOS & Android Data Permanently
  • gouPermanently erase all data on iOS & Android — completely unrecoverable.
  • gouMilitary-grade wiping to fully protect your privacy.
  • gouGenerate verified erasure reports to boost device resale value.
  • gouSelectively erase private data and remove junk & large files.
Try It Free Try It Free Try It Free Try It Free
Dr.Fone Data Eraser

A Step-by-Step Guide to Factory Reset an iPhone with Dr.Fone - Data Eraser

Using Dr.Fone is incredibly straightforward. Follow these detailed steps to securely erase your iPhone X, XR, or XS.

  1. Step 1 Download and Launch Dr.Fone

    First, navigate to the official Dr.Fone website to download the toolkit for your Windows or Mac computer. Run the installer and follow the setup instructions. Once installed, launch the application to access the main dashboard.

    Dr.Fone main menu
  2. Step 2 Select Data Eraser and Connect Your iPhone

    From the main menu, click on the "Data Eraser" module. Connect your iPhone X, XR, or XS to the computer using a genuine Lightning to USB cable. Once the device is recognized, select "Erase All Data" from the options on the left and click the "Start" button to proceed.

    Select Erase All Data in Dr.Fone
  3. Step 3 Choose a Security Level

    You will be prompted to select an erasure security level. For most users, the "Medium" level is sufficient, as it overwrites your data to ensure it's unrecoverable. Choose the level that best fits your security needs based on the on-screen descriptions.

    Choose security level for erasure
  4. Step 4 Confirm the Erasure Process

    To prevent accidental deletion, the software requires confirmation. Type "000000" into the confirmation box as instructed, and then click the "Erase Now" button to initiate the factory reset.

    Confirm erasure code
  5. Step 5 Wait for the Process to Complete

    Dr.Fone will now begin securely erasing all data from your iPhone. The time this takes can vary depending on the amount of data stored on your device. It is crucial to keep your iPhone connected and your computer powered on throughout the entire process to avoid any issues.

    iPhone X factory reset in progress
  6. Step 6 Erasure Complete

    Once the factory reset is finished, a confirmation message will appear in the software window. You can now safely disconnect your iPhone, which will restart as a brand-new device, ready for setup.

    Factory reset of iPhone X is complete

Part 2. How to Factory Reset iPhone X/XR/XS with iTunes or Finder

The traditional method for resetting an iPhone involves using Apple's own software: iTunes (for Windows and older macOS versions) or Finder (for macOS Catalina and newer). This is a reliable way to restore your device to its factory settings, especially if you're already accustomed to using this software for backups and updates.

  1. Step 1 Connect and Open iTunes/Finder

    Launch iTunes or open a Finder window on your computer. Ensure you are running the latest version of the software. Connect your iPhone X, XR, or XS to the computer with its USB-C to Lightning cable. If prompted, trust the computer on your iPhone.

  2. Step 2 Locate Your Device and Restore

    In iTunes, click the small iPhone icon near the top-left. In Finder, select your iPhone from the sidebar under "Locations." You will see a summary of your device. Before proceeding, it is highly recommended to click "Back Up Now" to save your data. Once the backup is complete, click the "Restore iPhone" button.

    Restore iPhone using iTunes or Finder
  3. Step 3 Confirm the Action

    A pop-up window will appear asking for confirmation. Click "Restore" again to begin the factory reset. Your computer will download the latest iOS software and install it on your device. Do not disconnect your iPhone until the process is complete. Your phone will restart with the "Hello" screen, indicating the reset was successful.

    Confirm restore action in iTunes

Part 3. The Easiest Method: Factory Reset iPhone X/XR/XS via the Settings App

If your iPhone is fully functional and you simply want to wipe it without using a computer, the most direct method is through the Settings app. This process is quick and easy, but make sure your device has at least 50% battery or is connected to a charger to prevent it from shutting down mid-reset.

  1. Step 1 Navigate to the Reset Menu

    On your iPhone, open the Settings app. Scroll down and tap on General. Then, scroll to the bottom and select Transfer or Reset iPhone.

  2. Step 2 Erase All Content and Settings

    Tap on Erase All Content and Settings. A confirmation screen will appear detailing what will be removed. Tap "Continue," and you may be prompted to enter your device passcode and Apple ID password to disable Find My and Activation Lock. After confirming, the erasure process will begin. Your iPhone will display the Apple logo and a progress bar, and it may restart multiple times before completion.

    Erase all content and settings on iPhone X

Part 4. Using Recovery Mode to Factory Reset a Malfunctioning iPhone X

If your iPhone X, XR, or XS is unresponsive, stuck in a boot loop (continuously showing the Apple logo), or not recognized by iTunes/Finder, Recovery Mode is your go-to solution. This advanced troubleshooting state forces the device to connect to a computer, allowing you to reinstall the operating system and perform a factory reset.

  1. Step 1 Connect to Computer and Enter Recovery Mode

    Connect your iPhone to your computer and open iTunes or Finder. Now, put your device into Recovery Mode by performing the following quick sequence: Press and quickly release the Volume Up button. Then, press and quickly release the Volume Down button. Finally, press and hold the Side (power) button. Continue holding the Side button even after the Apple logo appears. Release it only when you see the recovery mode screen (a computer icon and a cable).

  2. Step 2 Restore the iPhone

    On your computer, a dialog box will appear stating, "There is a problem with the iPhone that requires it to be updated or restored." Choose Restore. This will erase all data on your device and install the latest version of iOS. Keep the phone connected until the entire process is finished.

Part 5. How to Factory Reset iPhone X/XR/XS Without a Passcode

Forgetting your iPhone's passcode can feel like a disaster, as it completely locks you out of your device. If you find yourself in this situation, a factory reset is necessary to regain access. While Recovery Mode (Part 4) can work, a more user-friendly option is Dr.Fone - Screen Unlock (iOS). This tool is specifically designed to remove any type of lock screen—including 4/6-digit passcodes, Face ID, and Touch ID—by resetting your device.

The software guides you through every step, making it a simple and effective solution for those who are not technically inclined. It factory resets your phone in the process, deleting all data along with the forgotten passcode.

Dr.Fone - Screen Unlock (iOS)

Unlock iPhone/iPad Without Passcode
  • gouUnlock iPhone/iPad passcode in minutes.
  • gouRemove Face ID, Touch ID, and screen lock.
  • gouBypass iCloud Activation Lock easily.
  • gouSupport all iOS versions and devices.
  • gouSimple steps, no technical skills needed.
Try It Free Try It Free Try It Free Try It Free
ios unlock
  1. Step 1 Launch Dr.Fone and Select Screen Unlock

    Download and install the Dr.Fone toolkit on your Mac or Windows PC. Open the software and select the "Screen Unlock" module from the main interface. Connect your locked iPhone using its USB cable.

    Select Screen Unlock in Dr.Fone
  2. Step 2 Choose Unlock iOS Screen and Enter DFU/Recovery Mode

    Select the "Unlock iOS Screen" option. You will then need to follow the on-screen instructions to put your iPhone into DFU or Recovery mode, which is necessary for the software to access your device.

    Put iPhone into DFU mode for unlocking
  3. Step 3 Confirm Device Information

    The software will automatically detect your iPhone model. Verify that the device model and system version are correct, then click "Start" to download the appropriate firmware for your device.

    Confirm iPhone details before unlocking
  4. Step 4 Unlock and Reset Your iPhone

    Once the firmware download is complete, click the "Unlock Now" button. Dr.Fone will begin removing the passcode and factory resetting your iPhone. Keep the device connected throughout the process. When it's finished, your iPhone will restart without a lock screen, allowing you to set it up as new.

Conclusion

Factory resetting your iPhone X, XR, or XS is a powerful tool for resolving issues and protecting your privacy. As we've covered, you have multiple options to choose from. For routine resets on a working device, the Settings app is the fastest method. For a more controlled process or when dealing with a disabled phone, using a computer with iTunes/Finder or Recovery Mode is effective. However, if you've forgotten your passcode or want to ensure your data is permanently erased before selling, specialized tools like Dr.Fone - Screen Unlock and Dr.Fone - Data Eraser provide the most reliable and user-friendly solutions.

FAQ

  • 1. Will a factory reset remove my Apple ID or iCloud lock?
    No, a standard factory reset does not remove the Apple ID or the iCloud Activation Lock. After resetting, you will still need to enter the original Apple ID password to set up the device. This is a security feature to prevent theft.
  • 2. What is the difference between a hard reset (factory reset) and a soft reset?
    A soft reset is simply restarting your iPhone (turning it off and on again). It doesn't delete any data and is used to fix minor glitches. A hard reset or factory reset, on the other hand, completely erases all your personal data, apps, and settings, returning the phone to its original software state.
  • 3. Do I absolutely need to back up my iPhone before a factory reset?
    Yes, it is strongly recommended. A factory reset is irreversible and will permanently delete everything on your phone, including photos, contacts, messages, and apps. If you want to keep your data, you must create a backup to iCloud or a computer before you begin the reset process.
  • 4. How long does a factory reset take on an iPhone X/XR/XS?
    The time can vary. Resetting from the Settings app is usually the fastest, often taking between 5 to 15 minutes. Resetting via a computer can take longer, typically 20 to 40 minutes, because it involves downloading and installing the latest version of iOS.
OUR EXPERT
Selena Lee

Selena Lee

chief editor

Chief Editor of the Dr.Fone team since 2012, Selena is a veteran technology editor known for turning complex iOS and Android topics into clear, user-focused guidance.

Get Dr.Fone Get Dr.Fone