What clearing and resetting your iPhone actually does

Clearing your iPhone means removing specific data — photos, messages, browsing history, cached files — while keeping the device itself working. Resetting means wiping everything and returning the phone to factory settings, as if it just came out of the box. The two are different operations that solve different problems. Clearing is what you do before selling the phone or handing it to someone else. Resetting is what you do when the phone is sluggish, crashing repeatedly, or you want a completely fresh start.

Before you do either one, back up anything you want to keep. Once data is gone from your iPhone and you have not backed it up, it is very difficult to recover. Apple's backup options are iCloud (automatic, cloud-based) and your computer (using Finder on Mac or iTunes on Windows). Choose one, run it, and wait for it to finish before you proceed.

Key Takeaways

  • Back up your iPhone to iCloud or your computer before clearing or resetting anything, because deleted data is hard to recover once it is gone.
  • Clearing individual apps or caches removes only that app's data, while clearing Safari history removes only your browsing record — the phone keeps working normally.
  • A factory reset erases everything on the phone and returns it to original settings, which takes 15 to 30 minutes and requires your Apple ID password.
  • After a factory reset, you can restore from your backup to get your data back, or set up as a new phone if you want a completely clean start.
  • If your iPhone is frozen or will not turn on, force restart it before attempting a reset, because a restart often fixes the problem without data loss.

How to clear individual app data and caches

Clearing an app's data removes only what that app stored — messages within the app, cached images, login information — without touching anything else on your phone. This is useful when an app is misbehaving or you want to remove your activity from it before handing the phone to someone else.

On your iPhone, open Settings, then tap General. Scroll down and tap iPhone Storage. You will see a list of apps sorted by size. Tap the app you want to clear. You will see an option to Offload App or Delete App. Offload App removes the app but keeps its data; Delete App removes both. If you want to keep the app but clear only its data, tap Delete App, then reinstall it from the App Store. Reinstalling clears all stored data but keeps your settings and login information if you sign back in.

To clear Safari browsing history, open Settings, tap Safari, scroll down, and tap Clear History and Website Data. Choose a time range — the last hour, today, today and yesterday, or all time — then tap Clear History and Data. This removes your browsing history, cookies, and cached files from Safari only, not from other browsers or apps.

How to perform a factory reset from Settings

A factory reset erases everything on your iPhone — all photos, messages, apps, settings, and personal data — and returns it to the state it was in when it left the factory. This is the most thorough way to clear your phone and is often the fix when your iPhone is running slowly or crashing frequently. The process takes 15 to 30 minutes depending on how much data is on the phone.

Open Settings and tap General. Scroll to the bottom and tap Transfer or Reset. Tap Erase All Content and Settings. Your iPhone will ask you to enter your Apple ID password and, if you have one set up, your Screen Time passcode. Enter both. The phone will then erase everything and restart. When it finishes, you will see the setup screen, as if the phone is brand new.

If you have a backup, you can restore from it during setup by choosing Restore from iCloud Backup or Restore from Mac/PC Backup. If you want a completely clean phone, choose Set Up as New iPhone instead. Either way, the reset itself is the same — the difference is what you do after it finishes.

How to reset a frozen or unresponsive iPhone

If your iPhone will not respond to taps, is stuck on a screen, or seems completely frozen, try a force restart before attempting a factory reset. A force restart reboots the phone without erasing anything and often fixes the problem in seconds.

The steps depend on your iPhone model. On iPhone 8 and newer, quickly press and release the Volume Up button, then quickly press and release the Volume Down button, then press and hold the Side button until you see the power-off slider. Keep holding the Side button (do not slide) until the screen goes black and you see the Apple logo. This takes about 10 seconds. On iPhone 7 and 7 Plus, press and hold the Volume Down button and the Side button together until the power-off slider appears, then keep holding until the screen goes black. On iPhone 6s and earlier, press and hold the Home button and the Top (or Side) button together until the power-off slider appears, then keep holding until the screen goes black.

After the Apple logo appears, let go and wait for the phone to restart. This usually takes one to two minutes. If the phone responds normally after the restart, you do not need to do a factory reset. If it is still frozen or unresponsive, then a factory reset is your next step.

What happens after a factory reset

Once your iPhone finishes resetting, it will boot into the setup screen. You will be asked to choose a language, connect to Wi-Fi, and sign in with your Apple ID. If you have a backup, you can restore it at this point by selecting Restore from iCloud Backup or Restore from Mac/PC Backup and entering your Apple ID password. The restore process can take 30 minutes to several hours depending on how much data is in the backup and your internet speed.

If you restore from a backup, your apps, photos, messages, and settings will return to the state they were in when the backup was made. If you set up as a new iPhone, you will have a blank phone and can download apps fresh from the App Store. Some people choose the fresh start option because it removes any corrupted files or settings that may have been causing problems.

Clearing your iPhone before selling or giving it away

Before you hand your iPhone to someone else or sell it, perform a factory reset to remove all your personal data. A factory reset is more thorough than simply deleting files or signing out of accounts, because it removes data that is not visible in the normal file system.

After the reset is complete and the phone is on the setup screen, do not sign in with your Apple ID or restore from a backup. Instead, power off the phone by pressing and holding the Side button and the Volume Down button together, then sliding to power off. The next owner can then turn it on and set it up with their own Apple ID. If you do sign in with your Apple ID before handing it over, the phone will be locked to your account and the new owner will not be able to use it without your password.

Clearing storage space without erasing everything

If your iPhone is running out of storage but you do not want to do a full factory reset, you can clear space by removing apps, photos, and files you no longer need. Open Settings, tap General, then tap iPhone Storage. You will see how much space each app is using. Tap any app and choose Delete App to remove it. You can also delete photos by opening the Photos app, tapping Edit in the Albums tab, selecting photos, and tapping Delete.

Another option is to enable iCloud Photos, which moves your photo library to the cloud and removes full-resolution copies from your phone, keeping only smaller versions. Open Settings, tap your name at the top, tap iCloud, tap Photos, and toggle on iCloud Photos. Then tap Optimize iPhone Storage. This frees up gigabytes of space without losing your photos.

Frequently Asked Questions

Will a factory reset remove my Apple ID lock?

No. A factory reset requires your Apple ID password to complete, and the phone will still be locked to your Apple ID after the reset. This is a security feature called Activation Lock. If you forget your Apple ID password, you will need to reset it at iforgot.apple.com before you can finish the reset process.

Can I undo a factory reset?

Only if you have a backup. Once you reset the phone and set it up as a new device without restoring a backup, the old data is gone. If you have an iCloud or computer backup from before the reset, you can restore from it during setup or later by going to Settings, tapping General, tapping Transfer or Reset, and choosing Restore Backup.

How long does a factory reset take?

The reset itself usually takes 5 to 15 minutes. If you restore from a backup afterward, add another 30 minutes to several hours depending on the backup size and your internet speed. If you set up as a new phone, you are done once the reset finishes.

What is the difference between Offload App and Delete App?

Offload App removes the app from your phone but keeps its data and documents in iCloud, so you can reinstall it later and pick up where you left off. Delete App removes both the app and its data. Use Offload if you want to free up space temporarily; use Delete if you want to completely remove the app and its data.

Do I need to clear my iPhone before updating to a new iOS version?

No. iOS updates install on top of your existing system and do not require a reset. However, if an update is causing problems, a factory reset followed by a restore from backup often fixes them.