What gets deleted when you clear data on an iPhone
When you clear data from your iPhone, you are removing information stored directly on the device itself — not information stored in the cloud. This matters because deleting something locally does not automatically delete it from iCloud, Google Drive, OneDrive, or any other cloud service you use. If you want those copies gone too, you have to delete them separately in each service.
The most common things people clear are: photos and videos stored only on the phone, text messages and call logs, browsing history and cookies, app caches (temporary files apps create), and documents you have downloaded. Some of these can be recovered if you have not yet emptied the Recently Deleted folder, but once you empty that folder, recovery becomes much harder.
Before you start deleting anything, decide what you actually want gone. A common mistake is clearing everything because you think the phone is slow, when what you really needed was to delete one large video or clear out an app's cache.
Key Takeaways
- Deleting data from your iPhone does not delete it from iCloud or other cloud services — you must delete it in each place separately.
- Photos, messages, and downloads go to Recently Deleted first and stay recoverable for 30 days before permanent removal.
- Clearing an app's cache frees up space without deleting your account or settings within that app.
- A factory reset erases everything on the phone itself, but does not touch anything stored in iCloud or other cloud accounts.
- Before deleting anything, back up photos and documents you might need later, either to iCloud or to a computer.
How to delete photos and videos from your iPhone
Open the Photos app and tap the Albums tab at the bottom. Tap Recently Deleted. You will see all photos and videos you have deleted in the past 30 days. Tap Select in the top right, then tap the photos or videos you want to permanently remove, then tap Delete in the bottom right. Once you confirm, they are gone from the phone.
If you want to delete photos before they go to Recently Deleted, open Photos, tap the Albums tab, then tap All Photos. Tap Select in the top right, then tap each photo you want to remove (or tap one, then hold Shift and tap another to select a range). Tap Delete in the bottom right, then confirm. They go to Recently Deleted first, where you can still recover them for 30 days.
If you have been backing up to iCloud Photos, deleting from your iPhone also deletes the copy in iCloud. If you have been backing up to a computer or to a separate cloud service like Google Photos, those copies stay where they are — deleting from your phone does not touch them.
How to delete messages, call logs, and browsing history
To delete text messages, open the Messages app, tap Edit in the top left, then tap the conversations you want to remove. Tap Delete in the bottom right. The messages are gone when ready — there is no Recently Deleted folder for messages.
To delete your call log, open the Phone app, tap Recents at the bottom, tap Edit in the top left, then tap the calls you want to remove. Tap Delete in the bottom right. Like messages, call logs do not go to a recovery folder.
To delete browsing history, open Settings, scroll down and tap Safari, then tap Clear History and Website Data. Choose how far back you want to clear (the last hour, today, today and yesterday, or all time), then tap Clear History and Data. This removes your browsing history, cookies, and cached website data, but does not sign you out of websites you are logged into.
How to clear app caches and temporary files
Apps store temporary files called caches to load faster the next time you use them. Clearing a cache frees up space without deleting your account, passwords, or settings within the app. Open Settings, scroll down to find the app you want to clear, tap it, then look for an option like Clear Cache, Clear Data, or Offload App.
Tap Offload App if you see it — this removes the app but keeps your data and settings. When you reinstall it later, your account and preferences come back. This is gentler than deleting the app entirely, which removes everything.
If you want to clear caches for many apps at once, open Settings, tap General, tap iPhone Storage, and look at the list of apps. Apps with large caches show a size next to them. Tap an app, then tap Offload App or Delete App. Offload is safer if you think you might use the app again soon.
How to delete downloaded files and documents
Open the Files app (it looks like a folder). Tap Browse at the bottom, then tap On My iPhone. You will see folders for each app that stores files locally. Tap into each folder, tap Edit in the top right, then tap the files you want to delete. Tap Delete in the bottom right.
If you have been saving documents to iCloud Drive, OneDrive, Google Drive, or Dropbox, deleting them from the Files app on your phone does not delete them from the cloud service. You have to delete them in each service separately. Open the cloud service's app or website, find the file, and delete it there too.
Downloaded files (like PDFs or images you saved from email or the web) usually live in the Downloads folder inside the Files app. Tap Browse, tap On My iPhone, tap Downloads, then delete what you do not need.
How to do a factory reset and erase everything on your iPhone
A factory reset removes all data stored on the phone itself — photos, messages, apps, settings, everything. It does not touch anything in iCloud, Google accounts, or other cloud services. Before you reset, make sure you have backed up anything you want to keep.
Open Settings, tap General, scroll down and tap Transfer or Reset, then tap Erase All Content and Settings. You will be asked to enter your Apple ID password and confirm. The phone will restart and erase itself, which takes a few minutes. When it finishes, you will see the setup screen as if the phone were brand new.
If you plan to sell or give away the phone, a factory reset is the right step. It removes your personal data from the device itself. However, if someone has your Apple ID password, they can still sign into your account and access your iCloud data. To prevent this, change your Apple ID password before you hand over the phone, or remove the phone from your Apple ID account in Settings before erasing it.
Understanding the difference between local storage and cloud storage
Your iPhone stores data in two places: on the device itself (local storage) and in the cloud (iCloud, Google Drive, OneDrive, Dropbox, etc.). Deleting something from local storage does not delete it from the cloud, and deleting it from the cloud does not delete it from the phone. You have to delete it in both places if you want it completely gone.
To check what is backed up to iCloud, open Settings, tap your name at the top, tap iCloud, then tap Manage Storage. You will see what is using space in iCloud — usually photos, backups, or documents. Tap each category to see what is there and delete what you do not need.
If you use multiple cloud services (iCloud for photos, Google Drive for documents, Dropbox for work files), you will need to go into each service separately to delete files. There is no single place on your iPhone to delete across all of them at once.
Frequently Asked Questions
Can I recover photos or messages after I delete them?
Photos and videos stay in Recently Deleted for 30 days, so you can recover them during that time. Open Photos, tap Albums, tap Recently Deleted, tap Select, tap the items you want back, then tap Recover. Messages and call logs do not have a recovery folder — once you delete them, they are gone unless you have a backup.
Does clearing my iPhone storage speed it up?
Clearing old photos, videos, and app caches can free up space, but it usually does not make the phone noticeably faster unless you are completely out of storage. If your phone is slow, the problem is usually a full storage drive, too many apps running at once, or an old battery. Check Settings > General > iPhone Storage to see how much space you have left.
What happens to my passwords and accounts when I clear data?
Clearing app caches or deleting browsing history does not sign you out of accounts or remove saved passwords. A factory reset does remove everything, including saved passwords, but you can sign back into your accounts with your username and password. If you use iCloud Keychain, your passwords are backed up there and will return when you sign in.
If I delete something from my iPhone, is it deleted from my iCloud backup too?
No. Your iCloud backup is a snapshot of your phone from a specific date. Deleting something from your phone does not change the backup. If you restore from that backup later, the deleted item will come back. To remove something from iCloud, you must delete it in iCloud itself — either through Settings > [Your Name] > iCloud > Manage Storage, or through the iCloud website.
How do I know if something is stored locally or in the cloud?
Open Settings, tap your name, tap iCloud, then tap Manage Storage. Everything listed there is in iCloud. Anything not listed is stored only on your phone. For documents and files, open the Files app, tap Browse, and look at the folder name — if it says iCloud Drive or the name of a cloud service, it is in the cloud. If it says On My iPhone, it is local only.