iPhone (iOS) · Storage & Backup
Set how long Messages keeps conversation history
The Keep Messages setting controls whether Messages retains conversations forever or automatically deletes messages, photos, and attachments after 30 days or one year, directly affecting how much storage Messages consumes.
How to open Keep Messages Duration
- Open Settings and tap Messages.
- Scroll to Keep Messages.
- Choose 30 Days, 1 Year, or Forever.
- Confirm the deletion prompt if shortening the current duration.
What you should know
- Found in Settings > Messages > Keep Messages.
- Options are 30 Days, 1 Year, and Forever.
- Switching to a shorter duration prompts an immediate deletion of older messages matching the new limit.
- Attachments like photos and videos in long conversation threads are often the largest contributor to Messages storage.
Why it matters
Message threads, especially group chats with lots of photos and videos, can silently become one of the largest consumers of storage on an iPhone over months or years of use. Setting a shorter retention window automatically reclaims that space on an ongoing basis rather than requiring manual cleanup, which is particularly useful for people who don't need a permanent archive of every conversation. On the other hand, choosing Forever preserves sentimental or important message history indefinitely, so the setting is really a tradeoff between storage efficiency and long-term record-keeping.
Best practices
- Choose 30 Days if storage is consistently tight and older conversations aren't important to keep.
- Back up important conversations elsewhere before shortening the retention period, since deletion is immediate and permanent.
- Review individual large attachments in Settings > General > iPhone Storage > Messages before changing the global setting.
Common problems and fixes
- Old but important messages disappeared after changing this setting.
- Once deleted by the retention policy, messages generally cannot be recovered unless they exist in a separate backup.
- Messages storage is still large despite a short retention period.
- Attachments synced via iCloud Messages may still count elsewhere; check iCloud storage as well as local device storage.
Tips and tricks
- Use Settings > General > iPhone Storage > Messages to review which conversations are using the most space before changing retention.
Frequently asked questions
Does this affect messages already backed up to iCloud?
If iCloud Messages sync is on, the retention policy applies across all synced devices, not just the one it was changed on.
Can specific conversations be exempted from auto-deletion?
No, the Keep Messages setting applies globally, though individual messages can be manually pinned or saved elsewhere.
Related settings
- iPhone StorageiPhone Storage shows exactly what's using space on your device and offers one-tap recommendations — like offloading unused apps or reviewing large attachments — to free up room.
- Manage iCloud StorageThis screen breaks down exactly what's consuming your iCloud storage plan — Backups, Photos, individual apps, Mail — so you can free up space, buy more, or change your iCloud+ plan without guessing.
More Storage & Backup guides for iPhone (iOS)
- iCloud BackupiCloud Backup automatically saves a copy of your photos, app data, device settings, and more, so you can restore everything on a new or reset device.
- Offload Unused AppsOffload Unused Apps is a toggle in App Store settings that automatically removes an app's binary — not its documents or data — when the iPhone is low on storage, so you can reinstall and pick up right where you left off.
- Optimize iPhone Storage (Photos)When iCloud Photos is on, 'Optimize iPhone Storage' keeps smaller, space-saving versions of your photos and videos on the device while the full-resolution originals stay safely stored in iCloud, downloading full quality only when needed.
- Back Up via Finder or iTunesiPhone can be backed up to a computer's local storage using Finder on macOS or iTunes on Windows, as an alternative or supplement to iCloud Backup.
- Music & Podcast DownloadsSongs, albums, and podcast episodes downloaded for offline listening take up local storage separate from Photos and app data, and can be managed or automatically cleared to save space.
- iCloud+ Storage PlaniCloud+ is Apple's paid storage subscription, offering tiers beyond the free 5 GB along with extra features like Private Relay, Hide My Email, and HomeKit Secure Video support.