How to Stop the iPhone From Automatically Deleting Text Messages

To stop your iPhone from deleting old texts, go to Settings > Apps > Messages > Keep Messages and choose Forever. The other two choices, 1 Year and 30 Days, delete conversations and their attachments once they reach that age.

These steps are for iOS 18 and later, including iOS 26 and iOS 27. On iOS 17 and earlier, Messages is in the main Settings list instead of under Apps. The same setting exists on iPad.

Why Your iPhone Deletes Old Texts

Messages keeps everything by default. Old conversations only disappear on their own when Keep Messages is set to 30 Days or 1 Year, and that usually happens in one of three ways:

  • Someone changed the setting. It’s often switched to save space and then forgotten.
  • A storage suggestion turned it on. The iPhone Storage screen can recommend automatically deleting old conversations to free space. Accepting that kind of suggestion shortens how long Messages keeps texts.
  • Another device deleted them. With Messages in iCloud on, a conversation deleted on your iPad or Mac is also deleted from your iPhone.

The setting only covers Apple’s Messages app, which includes iMessage, SMS and MMS texts. WhatsApp, Messenger and other chat apps have their own rules.

Change Keep Messages to Forever

  1. Open Settings on your iPhone.
  2. Scroll down and tap Apps, then tap Messages. On iOS 17 and earlier, tap Messages in the main Settings list.
  3. Scroll to the Message History section and tap Keep Messages. The current choice has a check mark.
  4. Tap Forever.
iPhone Keep Messages screen with Forever selected
Select Forever so Messages stops deleting old conversations.
  1. Tap Messages at the top left to go back. The Keep Messages row now reads Forever.

From now on, your iPhone won’t remove messages because of their age. Changing the setting can’t bring back messages that were already removed, so see the recovery sections below if you’re missing something. Keeping everything also uses more storage over time, especially for chats with lots of photos and videos.

Check Your iPad and Mac Too

If you use Messages in iCloud, a shorter setting on another device can still remove conversations from all of them. Set Keep Messages to Forever on each device you sign in to:

  • iPad: Go to Settings > Apps > Messages > Keep Messages and tap Forever. To see what the shorter choices do there, read about deleting messages after 30 days on iPad.
  • Mac: Open Messages, choose Messages > Settings, click General, and set Keep messages to Forever.

If you’d rather not have texts on the iPad at all, here’s how to stop text messages (and calls) from going to your iPad.

What 30 Days and 1 Year Do

With 30 Days or 1 Year selected, Messages keeps checking and removes each conversation and its attachments once they pass that age. It isn’t a one-time cleanup.

Warning: If you switch from Forever to a shorter period, your iPhone asks whether to delete older messages. Tapping Delete removes everything older than the new period right away. Save photos, videos and important texts first, or tap Cancel to leave the setting unchanged.

Deleting messages on your iPhone doesn’t delete them for the people you were texting. They keep their own copies. Android handles this differently, with its own way to stop the phone from deleting old messages.

Recover a Recently Deleted Conversation

Apple keeps deleted messages in a Recently Deleted list for 30 to 40 days on iOS 16 and later.

  1. Open Messages.
  2. Tap the Filters button at the top of the conversation list. On iOS 18, tap Edit instead. On iOS 16 and 17, tap Edit, then Show Recently Deleted.
  3. Tap Recently Deleted.
  4. Select the conversations you want back and tap Recover.
  5. Tap Recover Message, or Recover [number] Messages if you picked several, to confirm.

The conversations return to your main list. Apple’s recovery guide notes that messages deleted before you updated to iOS 16 can’t be recovered this way.

Restore Older Messages From a Backup

Messages that are no longer in Recently Deleted can only come back from a backup made before they were removed. Before you try:

  • Check whether the backup has them. Apple says that when Messages in iCloud is on, your messages sync to iCloud and aren’t included in your daily iCloud Backup. A backup made on a computer is your other option.
  • Understand the trade-off. Restoring a backup erases the iPhone and returns it to the backup’s date, so anything newer than the backup is lost unless it is synced elsewhere.

Keep Audio Messages Instead of Letting Them Expire

Audio messages have their own timer, separate from Keep Messages. By default, an audio message is removed from the conversation two minutes after you listen to it or send it.

  1. Go to Settings > Apps > Messages. On iOS 17 and earlier, Messages is directly in Settings.
  2. Scroll to Audio Messages and tap Expire.
  3. Tap Never.

To save one recording without changing the setting, tap Keep below that audio message. Keeping a recording can’t bring back one that already expired, and the person you sent it to has their own copy and their own setting.

Free Up Space Without Deleting Old Texts

If you shortened Keep Messages because your iPhone was full, you can get much of that space back while keeping the texts themselves. Photos, videos and other attachments usually take far more room than the words.

  1. Go to Settings > General > iPhone Storage.
  2. Tap Messages.
  3. Tap a category such as Photos or Videos, or tap Review Large Attachments.
  4. Tap Edit, select the items you don’t need, and tap the trash button.

Save any photos you want to keep to the Photos app first. The conversations stay in place without those attachments.

To remove only pictures and keep your texts, delete picture messages from your iPhone by hand instead.

If Old Messages Still Disappear

  • Confirm the setting stuck. Go back to Keep Messages and make sure Forever is still selected.
  • Check the filter and search. Tap Filters and make sure you aren’t viewing only one group, such as Unknown Senders or Spam. Then search for the contact or a word from the conversation.
  • Check the Apple Account. If you signed in with a different Apple Account, your Messages in iCloud history won’t appear. Look under Settings and tap your name to see which account is in use.
  • Look at your other devices. A conversation deleted on a synced iPad or Mac is deleted on your iPhone too.
  • Check the app. Texts in WhatsApp, Messenger or another app follow that app’s own settings, not Keep Messages.

Apple’s Messages deletion guide documents Keep Messages and its choices.

Message Deletion Questions

Is Forever the default setting?

Yes. A new iPhone keeps messages forever unless someone changes Keep Messages or accepts a storage suggestion that shortens it.

Can I still delete messages myself?

Yes. Forever only stops automatic deletion by age. You can still swipe left on any conversation and delete it, and it goes to Recently Deleted first.

Will choosing Forever fill up my iPhone?

It can over time, since nothing is removed automatically. Delete large attachments in Settings > General > iPhone Storage > Messages to free space without losing the conversations.

Can I keep messages for longer than a year but not forever?

No. The only choices are 30 Days, 1 Year and Forever.

Can I get back messages deleted more than 40 days ago?

Not from Recently Deleted. They can only come back from a backup made before they were deleted, and restoring that backup replaces newer data on the iPhone.