Where iPhone stores your text messages and how far back they go

Your iPhone keeps text messages in the Messages app, and how far back you can search depends on what you deleted and when. If you never deleted a conversation, you can scroll back through years of messages — some people have threads going back to 2010. If you deleted a conversation, it is gone unless you restore from a backup.

The Messages app stores texts on your phone itself, not in iCloud by default. This means if you factory reset your phone without backing up first, those messages disappear. But if you backed up to iCloud or your computer before deleting, you can restore that backup and get the messages back.

Text messages older than a year still appear in search results even if you have not looked at them in months. The search function in Messages is the fastest way to find something specific — a person's name, a date, or a phrase you remember from the text.

Key Takeaways

  • Use the search box at the top of the Messages app to find texts by person's name, keyword, or phrase rather than scrolling through years of conversations.
  • Deleted conversations are permanently gone unless you restore from an iCloud or computer backup made before you deleted them.
  • Scroll to the very bottom of a conversation thread to see older messages, though this takes time if the thread is years old.
  • If you need messages from before a factory reset, check whether you have an iCloud backup or computer backup from that time period.

Using search to find a specific text or conversation

Open the Messages app and tap the search box at the top of the screen — it shows a magnifying glass icon. Type the name of the person you are looking for, a word from the message, or a date if you remember roughly when it was sent. The app will show you every conversation and message that matches what you typed.

Search works across all your messages at once, so you do not have to remember which conversation the text was in. If you search for a person's name, you see every conversation with that person listed. If you search for a phrase like "address" or "password", you see every message containing that word, organized by conversation.

The search results show the most recent matches first. Tap any result to jump directly to that message in the conversation thread, rather than scrolling manually.

Scrolling back through a conversation to find older messages

Open the conversation you want to look through and tap the person's name at the top of the screen. This opens a panel showing the conversation details. Scroll all the way to the bottom of this panel — you will see an option that says "Load Earlier Messages" or a date showing when the conversation started. Tap that to load older messages.

Once you tap to load earlier messages, you can scroll up through the thread to see what was said years ago. This method is slow if the conversation is very long, so search is usually faster if you remember any details about what you are looking for.

If you reach the very beginning of the conversation and do not see the message you want, it may have been deleted. Deleted individual messages do not appear in the thread — only deleted entire conversations are gone.

Restoring deleted conversations from an iCloud backup

If you deleted an entire conversation and want it back, you need to restore from a backup. First, check whether you have an iCloud backup from before you deleted the conversation. Go to Settings, tap your name at the top, then tap iCloud. Scroll down and tap Manage Storage, then Backups. You will see a list of your backups with dates — if one is from before you deleted the messages, you can use it.

To restore from that backup, you must erase your phone and set it up again from the backup. This is a big step and will overwrite everything currently on your phone with what was on it at the time of the backup. Go to Settings, tap General, scroll down to Transfer or Reset, and tap Erase All Content and Settings. Follow the prompts to set up your phone again, and when you reach the "Apps & Data" screen, choose "Restore from iCloud Backup" and select the backup from the date you need.

This process takes 30 minutes to several hours depending on how much data you have. Do not unplug your phone or turn it off during the restore.

Restoring from a computer backup if you have one

If you backed up your iPhone to a Mac or Windows computer using iTunes or Finder, you can restore from that backup instead of iCloud. Connect your iPhone to the computer with a USB cable. On a Mac with macOS Catalina or newer, open Finder and click your phone in the sidebar. On Windows or older Mac, open iTunes and click the phone icon.

Look for a button that says "Restore Backup" or "Restore iPhone". You will see a list of available backups with dates — select the one from before you deleted the messages. Click Restore and wait for the process to finish. Like iCloud restore, this erases your phone and replaces everything with what was on it at backup time.

Computer backups are often faster to restore than iCloud backups because the data does not have to travel over the internet. If you have both an iCloud backup and a computer backup from around the same time, the computer backup usually restores more quickly.

What to do if you cannot find a message you are looking for

If you have searched and scrolled but still cannot find the message, it was likely deleted. Check whether the entire conversation is gone — if so, you need a backup to recover it. If the conversation still exists but individual messages are missing, those specific texts were deleted and cannot be recovered without a backup.

Before you restore from a backup, think about what else will change. A backup from six months ago will restore your messages from that time, but it will also overwrite any photos, apps, or settings you have added since then. If you only need the messages, a backup restore may not be worth losing six months of other data.

If you do not have a backup from before the deletion, the messages are permanently gone. This is why regular backups matter — set up automatic iCloud backups by going to Settings, tapping your name, then iCloud, then iCloud Backup, and turning it on.

Finding texts by date or time period

If you remember roughly when a message was sent but not the exact content, use the search box and type a date like "January 2023" or "last week". The Messages app will show you conversations and messages from that time period. This works better for recent messages — searching for "three months ago" is more reliable than searching for a specific date from years back.

Another way to narrow down by time is to open a conversation and look at the message timestamps. Swipe left on any message to see exactly when it was sent. This helps you figure out which part of a long conversation to focus on.

If you remember who the message was from but not when, open that person's conversation and scroll to the bottom to load earlier messages. You can then scroll through the thread looking at timestamps until you find the right time period.

Frequently Asked Questions

Can I search for texts by date range?

The search function does not have a date range filter, but you can search for a general time period like "January" or "last month" and see what comes up. For more precise date searching, open the conversation and scroll to the bottom to load earlier messages, then look at the timestamps as you scroll through.

What happens to text messages when I upgrade to a new iPhone?

When you set up a new iPhone from an iCloud or computer backup, all your text messages transfer over automatically. If you set up as a new phone without restoring a backup, your messages do not transfer. Always restore from a backup during setup to keep your messages.

Can I recover a text message I deleted from a conversation that still exists?

No, individual deleted messages cannot be recovered without restoring from a backup. If you deleted a single text but the conversation is still there, that message is gone for good unless you restore your entire phone from a backup made before the deletion.

Why does my search show results from conversations I have already deleted?

You are likely seeing results from an iCloud backup that still exists on Apple's servers. The search is finding the text in the backup, but the conversation itself is not on your phone anymore. To see the actual message, you would need to restore from that backup.

How long does iPhone keep text messages before deleting them automatically?

iPhone does not automatically delete text messages based on age. Messages stay on your phone until you manually delete them or until you erase your phone. The only limit is storage space — if your phone runs out of storage, older messages may be removed, but this is rare.