Where iPhone stores your documents and why deletion matters
Documents on your iPhone live in several places depending on how you created them. Files you make in Notes, Pages, Numbers, or Keynote sit in those apps' own storage. PDFs, Word documents, and spreadsheets often land in the Files app. Photos and videos go to the Photos app. Email attachments stay in Mail unless you save them elsewhere. When you delete something, it doesn't vanish immediately — it moves to a trash or recently deleted folder first, where it can still be recovered for a set period.
Understanding where your data lives matters because deleting from one place doesn't delete it from another. A document you created in Pages might also be backed up to iCloud, synced to your Mac, or stored in an email draft. Truly removing something means finding it in each location and deleting it there. This is especially important if you're selling your phone, giving it to someone else, or simply want to free up storage space.
Key Takeaways
- Documents deleted from most iPhone apps move to a Recently Deleted or Trash folder first, where they stay for 30 days before permanent removal.
- Deleting a document from your iPhone does not delete it from iCloud, email, or other synced services unless you delete it there too.
- The Files app, Notes, Mail, and Photos each have their own deletion process and recovery windows.
- To completely erase your iPhone before selling or giving it away, use Settings > General > Transfer or Reset > Erase All Content and Settings.
How to delete documents from the Files app
The Files app is where most documents end up if you download them or save them manually. Open Files and navigate to the folder containing the document you want to remove. Press and hold the file name until a menu appears. Tap Delete or Move to Trash — the exact wording depends on your iOS version. The document moves to the Recently Deleted folder, which you can access by opening Files, tapping the three dots at the bottom right, and selecting Recently Deleted.
Documents in Recently Deleted stay there for 30 days. After 30 days, they are permanently removed from your iPhone. If you want to delete something permanently before that window closes, open Recently Deleted, press and hold the file, and tap Delete Permanently. Be aware that deleting from Files does not delete the document from iCloud Drive if it was synced there — you will need to delete it from iCloud separately through a web browser or another device.
Removing documents from Notes, Pages, Numbers, and Keynote
Each Apple app handles deletion slightly differently. In Notes, swipe left on the note you want to delete, then tap the trash icon. The note moves to a Recently Deleted folder within Notes itself. Open the Recently Deleted folder, and you can either permanently delete the note or recover it by swiping left and tapping Recover.
In Pages, Numbers, and Keynote, tap Edit in the top left corner of the document list. Select the documents you want to remove by tapping the circle next to each one, then tap Delete at the bottom right. These documents also move to a Recently Deleted section within each app. To access it, tap the three dots or menu icon, look for Recently Deleted, and choose to permanently delete or recover from there. All three apps keep deleted documents for 30 days before they are gone for good.
Deleting photos, videos, and attachments
The Photos app works the same way as other Apple apps. Open Photos, select the images or videos you want to remove, tap Delete, and confirm. They move to the Recently Deleted album, visible at the bottom of the Photos tab. You have 30 days to recover them. To permanently delete them sooner, open Recently Deleted, select the items, and tap Delete again.
Email attachments are trickier because they are part of the email itself. Deleting an email removes its attachments too. If you saved an attachment to Files or another location, deleting the email does not remove the saved copy — you have to delete that separately. To remove an attachment from an email before sending, open the draft, press and hold the attachment, and tap Remove.
Removing documents synced to iCloud
If you have iCloud Drive turned on in Settings > [Your Name] > iCloud, documents you create or save are automatically backed up to iCloud. Deleting them from your iPhone does not delete them from iCloud. To remove them from iCloud, go to iCloud.com on a computer or another device, sign in with your Apple ID, open iCloud Drive, find the document, and delete it there. It will then disappear from your iPhone as well.
The same applies to documents in iCloud-synced apps like Notes and Reminders. If you delete a note on your iPhone, it disappears from your Mac, iPad, and iCloud.com too — but only if those devices are signed into the same Apple ID. If you use multiple Apple IDs or share a device, check which ID owns the document before deleting it, because you may not be able to recover it from another account.
Clearing storage by deleting old documents and files
If your iPhone is running low on storage, deleting old documents is one way to free up space. Go to Settings > General > iPhone Storage to see which apps are using the most space. Tap an app to see what's inside it. For example, tapping Mail shows you how much space emails and attachments are taking up. Delete large attachments, old emails, and documents you no longer need.
Photos and videos take up the most space on most iPhones. If you have thousands of photos, deleting duplicates, blurry shots, and old screenshots can reclaim gigabytes. Use the Photos app's search feature to find photos by date or type. You can also enable iCloud Photos in Settings > [Your Name] > iCloud > Photos, which moves full-resolution originals to iCloud and keeps lower-resolution versions on your phone, freeing up local storage.
Completely erasing your iPhone before selling or giving it away
If you are selling your iPhone or giving it to someone else, deleting individual documents is not enough. You need to erase the entire device so that no one can recover your data. Go to Settings > General > Transfer or Reset > Erase All Content and Settings. You will be asked to sign out of your Apple ID and remove the device from Find My iPhone. Confirm that you want to erase, and the phone will restart and delete everything on it.
This process takes 15 to 30 minutes depending on how much data is on your phone. Do not turn off the phone or disconnect it during the erase. When it finishes, the iPhone will restart and show the setup screen, as if it were brand new. All your documents, photos, messages, and settings are permanently gone and cannot be recovered. If you backed up to iCloud before erasing, you can restore from that backup on a new device, but the erased phone itself contains nothing.
Frequently Asked Questions
Can I recover a document after I permanently delete it?
No. Once you tap Delete Permanently or the 30-day Recently Deleted window closes, the document is gone. If you backed it up to iCloud or another cloud service before deleting it, you may be able to restore it from there, but not from your iPhone itself.
Does deleting an email delete the attachment too?
Deleting the email removes the attachment from Mail. However, if you previously saved the attachment to Files or another app, that saved copy remains. You have to delete the saved copy separately.
What happens to documents if I turn off iCloud sync?
Documents already on your iPhone stay there. Documents only in iCloud will no longer appear on your phone. If you turn iCloud back on later, they will reappear. Turning off iCloud does not delete anything — it just stops syncing.
How do I know if a document is stored locally or in iCloud?
Open the Files app and look at the sidebar. Documents under On My iPhone are stored locally. Documents under iCloud Drive are synced to iCloud. Some documents appear in both places if they were synced and then downloaded locally.
Will erasing my iPhone remove it from my Apple ID account?
Erasing removes the device from Find My iPhone, but you remain signed into your Apple ID on that phone until you sign out during the erase process. After erasing, the phone is no longer linked to your account and can be set up as new by the next owner.