sodcalculator

10 Tech How-To

How to Delete iPhone Messages Documents & Data

Guide 10-37340 · Updated · Step by step

This guide shows you how to clear the “Documents & Data” storage that accumulates inside the Messages app on an iPhone. Over time, attachments, photos, and videos sent in conversations can consume several gigabytes of storage. You’ll learn the exact steps to remove that data, either by deleting individual conversations or by wiping all message history, and what to do if storage doesn’t free up immediately.

What You’ll Need

  • Your iPhone with the latest iOS version installed (the steps are the same on iOS 16 through the current release).
  • Your passcode or Face ID/Touch ID to confirm deletions.
  • Optional: an iCloud or computer backup if you want to keep any messages before deleting them.

Step-by-Step

  1. Open Settings. Tap the gray gear icon on your home screen.
  2. Go to General. Scroll down and tap “General.”
  3. Tap iPhone Storage. This screen shows a colored bar of what’s using space. Wait a few seconds for it to load.
  4. Find Messages. Scroll through the list of apps until you see “Messages.” Tap it. You’ll see a breakdown: “Total,” “Documents & Data,” and sometimes “Top Conversations.”
  5. Check the size. The number next to “Documents & Data” is what you want to reduce. This includes all attachments, photos, videos, and message history stored on the device.
  6. Delete a single conversation: Go back to the Messages app. Swipe left on any conversation thread, tap the red “Delete” button, then confirm. This removes that thread’s attachments and text from your iPhone.
  7. Delete multiple conversations: In the Messages list, tap “Edit” in the top-left corner, tap the circles next to the threads you want to remove, then tap “Delete” at the bottom and confirm.
  8. Clear all messages: To remove everything, go to Settings > Messages > Keep Messages and change it from “Forever” to “30 Days” or “1 Year.” iOS will automatically purge messages older than that setting. Then, in the Messages app, tap “Edit” > “Select All” (if available) or manually select all threads and delete them.
  9. Verify storage freed: Return to Settings > General > iPhone Storage > Messages. The “Documents & Data” number should drop, though it may take a minute to refresh.
  10. Force a refresh: If the number doesn’t change, restart your iPhone by holding the side button and either volume button until “slide to power off” appears, then slide it off, wait 10 seconds, and turn it back on. Recheck the storage screen.

Common Mistakes

  • Deleting the Messages app itself. Long-pressing the Messages icon and tapping “Remove App” does not delete your message data; it just hides the app. Your messages and their storage remain on the phone. You must delete conversations from inside the app or change the “Keep Messages” setting.
  • Expecting iCloud to free local space. If you have Messages in iCloud enabled, deleting a message on your iPhone deletes it from all your devices. That’s the intended behavior, but it also means you can’t selectively free local storage while keeping the cloud copy.
  • Only deleting text. Deleting a conversation removes the whole thread, including attachments. But if you only delete individual texts inside a thread, the photos and videos attached to that thread may still be stored. Use “Delete Conversation” instead of deleting message by message.
  • Ignoring “Top Conversations.” The storage screen lists the largest conversations. Deleting those specific threads is the fastest way to reclaim space, not deleting many small ones.
  • Not checking “Recently Deleted.” iOS keeps deleted messages in a “Recently Deleted” folder for 30 days. They still take up space until permanently removed. Go to Messages > Edit > Show Recently Deleted, then delete them permanently.

Tips

  • Set auto-delete. In Settings > Messages > Keep Messages, choose “30 Days” to prevent old attachments from piling up. This is the single best long-term fix.
  • Use “Low Quality Image Mode.” In Settings > Messages, toggle on “Low Quality Image Mode.” This compresses photos sent and received, reducing future storage growth.
  • Offload the app. In Settings > General > iPhone Storage > Messages, tap “Offload App.” This removes the app but keeps documents and data. It won’t free message storage, but it can help if the app itself is large. To actually free space, you must delete conversations.
  • Back up first. Before mass deletion, back up to iCloud or a computer so you don’t lose important texts. Once deleted, they’re gone unless restored from a backup made before the deletion.
  • Check other apps. The “Documents & Data” category also appears in other apps like WhatsApp and Safari. The same general principle applies: delete content inside the app, not just the app itself.

Troubleshooting

Storage number doesn’t go down after deleting conversations. First, restart the iPhone and recheck. If it still shows the same number, go to Settings > General > iPhone Storage > Messages and look for “Recently Deleted.” Tap it and delete everything there. If the number remains, wait a few hours; iOS sometimes recalculates storage asynchronously. If it’s still stuck, sign out of iCloud (Settings > your name > Sign Out) and sign back in. This forces a refresh of storage accounting, but be aware it may remove some cached data.

You deleted a conversation but the attachment still appears in Photos. That’s normal. If you saved a photo from Messages to your Photos library, deleting the message doesn’t delete the photo. You must delete it from the Photos app separately.

You can’t find the “Edit” button in Messages. On older iOS versions, the Edit button is in the top-left of the conversation list. If you don’t see it, make sure you’re on the main list of conversations, not inside a single thread. If you’re running iOS 15 or earlier, swipe left on a conversation to reveal delete.

“Keep Messages” is grayed out. This happens when “Messages in iCloud” is enabled. Turn that off in Settings > your name > iCloud > Messages, then go back to Settings > Messages > Keep Messages and change it. Note that turning off iCloud sync removes messages from iCloud but keeps them on your phone.

Deleting a conversation frees space but then it comes back. If you have Messages in iCloud enabled, new messages from other devices will sync down. If you want to permanently keep storage low, disable iCloud sync or set auto-delete to 30 days.

Frequently Asked Questions

Does deleting a message free up storage immediately? Usually yes, but iOS may take a few minutes to update the storage bar. If it doesn’t, restart the phone or check “Recently Deleted.”

Will deleting messages delete them on my Mac or iPad? Only if you have “Messages in iCloud” enabled. If you do, deletion syncs across all devices. If not, deletion only affects the iPhone.

Can I delete just the photos and videos without deleting the text? No, iOS doesn’t offer a per-attachment delete inside Messages. You must delete the entire conversation or use the “Keep Messages” auto-delete setting.

What is the difference between “Offload App” and deleting conversations? Offloading removes the app itself but keeps all its data. Deleting conversations removes the data. To free message storage, you need to delete conversations, not offload the app.

Why does “Documents & Data” show a huge number even after I deleted everything? Sometimes iOS hasn’t finished cleaning up. Restart the phone, wait a day, or toggle iCloud Messages off and on. If it persists, check “Recently Deleted” and clear it.

Is there a way to see which conversation is using the most space? Yes. Go to Settings > General > iPhone Storage > Messages. Under “Top Conversations,” you’ll see the largest threads listed. Delete those first for the biggest impact.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →