Set Keep Messages to Forever in Settings > Apps > Messages if you want the iPhone to retain older conversations automatically. The other available choices, 1 Year and 30 Days, remove messages and attachments once they exceed the selected age.
Change the retention setting
- Open Settings on your iPhone.
- Tap Apps, then Messages. On some older iOS versions, Messages appears directly in Settings.
- Tap Keep Messages.
- Select Forever.

Check that Forever has the selection mark before leaving Settings. Changing to Forever stops the time-based cleanup going forward. It cannot bring back conversations that were already permanently removed. Keeping everything can use more iPhone and iCloud storage, especially when chats contain photos or videos.
What the shorter choices do
If you choose 30 Days or 1 Year, iPhone can automatically delete conversations and attachments older than that period. Read any confirmation carefully: changing from Forever to a shorter period can remove old items. If you are freeing space, first review large attachments and make a copy of anything you need. The retention setting covers Messages, not the expiration rules inside every other chat app. On an Android phone, the equivalent steps are in our guide on how to stop an Android phone from deleting old messages.
Recover a recently deleted conversation
In Messages, look for Recently Deleted from the conversation list's filter or edit controls. Apple says deleted messages can remain recoverable there for up to 30 days. Restore the conversation if it is present. If Messages in iCloud is enabled, deletions can sync across devices signed in to the same account, so check before deleting from a second device. A backup may offer a separate recovery path, but restoring an entire backup can replace newer device data.
Before you change a shorter retention period
The Keep Messages control determines how long the iPhone retains conversations and their attachments. Choosing Forever prevents the time-based cleanup. Choosing 30 Days or 1 Year allows automatic removal after that age. Apple warns that selecting an option other than Forever removes conversations and attachments when the period elapses. Read the confirmation before applying a shorter period; an old photo in a chat can be affected along with the text.
If you are changing from Forever to a shorter choice to free storage, save any message or attachment you must keep first. A screenshot may preserve the visible text but not the full conversation context or original attachment quality. For an important record, use an appropriate backup or export method and verify that the copy opens. Conversely, if you are changing from a shorter period to Forever, do it now to prevent future automatic removal, but do not expect it to restore items already gone.
Confirm the iPhone will keep messages
Return to Settings > Apps > Messages > Keep Messages and check that Forever is selected. The setting remains in effect until you change it. You do not have to open each conversation to keep it. The storage cost can rise over time, so review large videos and photos if iPhone storage becomes tight. Removing one attachment deliberately is different from switching automatic retention back on for every conversation.
Recently Deleted is time limited
If a conversation disappeared because you manually deleted it, open Messages, tap the filter control from the conversation list, and choose Recently Deleted. Select the conversation and recover it if it is still there. Apple says deleted messages and attachments remain recoverable for up to 30 days. If the item is absent, it may be outside that window, permanently deleted, or missing for another reason. Do not assume that the Forever setting will repopulate Recently Deleted.
If you use Messages in iCloud, deletion can propagate to other devices using the same Apple Account. Check the iPhone and other devices before deciding that a single device malfunctioned. A device backup is a different recovery path and may be older than your current messages. Restoring an entire backup can replace newer device content, so understand its date and effects before using it merely to recover one thread.
If old messages still seem to disappear
First verify that you are viewing the correct Messages filter and Apple Account. Search for the contact or phrase rather than relying on the visible conversation order. Check whether the conversation was deleted manually or on another synced device. Then confirm the Keep Messages setting. The control affects Apple's Messages app; WhatsApp, Messenger, and other services have their own retention and deletion rules.
Does Forever prevent me from deleting a message manually? No. It only stops age-based automatic removal. You can still delete a conversation or attachment yourself.
Does changing to Forever save storage? No. It generally retains more content. If storage is the problem, review large attachments and make deliberate choices rather than selecting a shorter automatic period without checking what it will remove.
For a reminder that does not affect retention, see how to mark a text conversation unread.
Apple's Messages deletion and recovery guide documents Keep Messages and Recently Deleted.
Messages in iCloud also copies your conversations to other devices. If you don’t want them on your iPad, here’s how to stop text messages (and calls) from going to your iPad.

Matthew Burleigh is the founder, head writer, and editor of Solve Your Tech, which he launched in 2012. He has written technology tutorials since 2008 and worked in IT since 2003, including small-business support, IT management, and consulting. He holds Bachelor’s and Master’s degrees in Computer Science from Arizona State University.
Matthew writes practical guides for Windows, iPhone and iPad, Microsoft Office, Outlook, Google apps, and Android. Solve Your Tech’s guides are tested on current devices or checked against official product documentation, with clear steps, sources, and update dates.
Read more about Matthew and how Solve Your Tech writes and updates its guides, or report a correction.