What gets stored when you use document apps on iPhone
When you create or edit a document on your iPhone — whether in Notes, Pages, Word, or Google Docs — the app stores a copy on your device. This happens automatically. The app also stores metadata: when you last opened it, how many times you edited it, sometimes even fragments of text from deleted versions. If you use cloud sync (iCloud, OneDrive, Google Drive), your iPhone keeps a local copy while the company's servers keep another.
This matters because deleting a document from the app itself does not always delete it from your phone. Some apps move documents to a trash folder that persists for 30 days. Others cache versions in the background. And if you signed into a cloud service, deleting locally may not touch the copy on the company's servers — or vice versa.
Key Takeaways
- Deleting a document from an app's interface often moves it to trash rather than erasing it permanently, and trash folders can persist for weeks.
- Cloud-synced documents require separate deletion steps on both your phone and the cloud service's website or app to remove them completely.
- Permanently erasing app data from Settings clears cached files, login information, and document fragments that the app stores behind the scenes.
- Restoring your iPhone from a backup will restore deleted documents unless you erase the backup file itself from iCloud or your computer.
Delete documents within the app itself
Start with the app where you created or stored the document. Open the app, find the document in your library or file list, and look for a delete option. In Notes, swipe left on the note and tap the trash icon. In Pages, long-press the document and select Delete. In Google Docs or Microsoft Word, tap the three-dot menu next to the document name and choose Delete or Move to Trash.
After you delete, check whether the app has a trash or recently deleted folder. Notes, Pages, and most cloud apps keep deleted documents in trash for 30 days before permanent removal. Open that folder and delete again if you want to erase when ready rather than wait. Google Docs shows a trash folder in the left sidebar. Microsoft OneDrive has a recycle bin accessible from the web or the app. If you do not see a trash option, the document may be gone from the app — but it is likely still on your phone's storage.
Remove documents from cloud services separately
If you synced the document to iCloud, Google Drive, OneDrive, or Dropbox, deleting it from the app on your phone may not delete it from the cloud. You need to delete it in two places. The safest approach is to delete from the cloud service first, then from your phone, because cloud services usually let you recover deleted files for 30 days.
Go to the cloud service's website on a computer or use the cloud app on your iPhone. Find the document, delete it, and then empty the trash or recycle bin on that service. Then return to your document app on your phone and delete it there as well. This prevents the phone from re-syncing the document back to the cloud the next time it connects.
Clear app data and cached files from Settings
Apps store fragments of documents, login credentials, and temporary files in a hidden cache. Deleting a document from the app does not touch this cache. To clear it, go to Settings, tap General, then iPhone Storage. Scroll down and find the app (Notes, Pages, Word, Google Drive, etc.). Tap it and select Offload App or Delete App.
Offload App removes the app but keeps your data, so synced documents stay on the cloud and will reappear if you reinstall. Delete App removes the app and all its cached data from your phone, but does not affect documents stored in the cloud. If you want to keep the app but clear only the cache, you cannot do this directly in Settings — you must delete and reinstall the app, or use the app's own settings menu if it has a "Clear Cache" option.
After you delete the app from Settings, your phone may still have fragments in temporary storage. These are overwritten as you use your phone normally, but if you are selling or giving away the device, this matters. See the section on erasing your entire phone below.
Handle documents in iCloud Drive and backups
iCloud Drive is separate from individual app storage. If you saved documents directly to iCloud Drive (not just synced them through an app), you can delete them from the iCloud Drive app on your iPhone or from iCloud.com on a computer. Open iCloud Drive, find the file, swipe left (on iPhone) or right-click (on computer), and delete. Empty the Recently Deleted folder to erase permanently.
Your iPhone backups also contain copies of documents. If you restore your phone from a backup, deleted documents come back. To prevent this, delete the backup itself. On your iPhone, go to Settings, tap your name, select iCloud, then Manage Storage, then Backups. Tap the backup for your device and select Delete Backup. On a computer with iTunes or Finder, connect your iPhone, select it, go to Settings or Preferences, find Backups, and delete the backup file there.
Permanently erase your entire iPhone
If you are selling, recycling, or giving away your phone and want to may support no document fragments remain, erase the entire device. This overwrites all storage, not just deletes files. Go to Settings, tap General, select Transfer or Reset, then Erase All Content and Settings. Your phone will ask for your Apple ID password and will take 10 to 30 minutes to complete.
Before you erase, back up anything you want to keep. After erasing, your phone is blank and ready for the next user. Note that erasing does not remove documents from cloud services — those remain on the company's servers unless you delete them separately through the cloud app or website.
What happens to documents you thought you deleted
If you deleted a document weeks ago and it reappeared, one of three things happened. The document synced back from the cloud because you deleted it only from your phone, not from the cloud service. You restored your phone from a backup that included the document. Or the app recovered it from its own trash folder automatically. Check your cloud service's trash first, then your app's trash, then your phone's recent backups.
If you deleted an app and the documents came back after you reinstalled it, the documents were stored in the cloud and re-synced when the app reconnected. This is by design — the app assumes you want your data back. To prevent this, delete the documents from the cloud service before you delete the app.
Frequently Asked Questions
Does deleting a note in the Notes app delete it from iCloud?
No. Deleting a note from Notes on your iPhone deletes it from iCloud too, but only if you are signed into the same iCloud account on your phone. If you use multiple accounts or turned off iCloud sync for Notes, the note may remain in iCloud. Check iCloud.com to confirm, and delete it there if needed.
Can I recover a document after I empty the trash?
Once you empty trash in an app or cloud service, recovery is very difficult. Some services keep backups for 30 to 90 days, but you would need to contact their support. If you deleted by accident, stop using your phone and contact the app's support team when ready — the sooner you act, the better your chances.
If I delete an app, do all my documents in that app disappear?
Documents stored only on your phone disappear. Documents synced to the cloud (Google Drive, OneDrive, iCloud Drive) remain on the cloud and will reappear if you reinstall the app. To delete cloud documents permanently, delete them from the cloud service before you delete the app.
What is the difference between Offload App and Delete App?
Offload App removes the app from your phone but keeps its data, so reinstalling it restores everything. Delete App removes both the app and its cached data. Cloud-synced documents survive both actions and will reappear when you reinstall. Use Offload if you might reinstall later; use Delete if you want to free up space and do not plan to use the app again.
Will erasing my iPhone remove documents from Google Drive or OneDrive?
No. Erasing your iPhone only erases what is on your phone. Documents in Google Drive, OneDrive, Dropbox, or other cloud services remain on those companies' servers. You must delete them separately through the cloud service's website or app.