September 7, 2026 · 14 min read
How Long Does an iPhone Keep Text Messages? (Forever, Unless One Setting Was Changed)
By default, an iPhone never deletes a text message on its own. The exceptions are one setting most people have never opened and the messages you deleted yourself — and even those have places they can still be found.
The Short Answer: Forever, by Default
An iPhone keeps text messages and iMessages indefinitely. Out of the box, Settings > Messages > Keep Messages is set to Forever, and the phone treats a conversation from five years ago exactly like one from this morning. There is no age limit, no rolling cutoff, and no cleanup running in the background. If nobody has touched that setting, the message you're looking for is still on the phone unless someone deleted it.
Two things change that answer. The first is the setting itself: if Keep Messages was ever switched to 30 Days or 1 Year, iOS has been quietly removing everything older than that and will keep doing so until it's switched back. The second is deletion — by you, by someone else holding the phone, or by a swipe on a conversation in a bad moment. On iOS 16 and later, deleted messages get roughly a 30-day grace period in a Recently Deleted folder, and after that they're gone from the phone; on older versions of iOS there is no such folder. What follows covers both cases, then the places copies survive independently of the phone: iCloud, iPhone backups on a PC or Mac, and a Mac that has been receiving the same messages.
One scope note: this post is about the messages. Call history is a separate matter — Apple documents that call history is included only in an encrypted iPhone backup, so if you want the call log as well, tick "Encrypt local backup" and the browser version of Exhibit A will ask for that password when it opens the backup. For where the call log lives and how to reach it — a synced Mac, the Mac app, or your carrier — see how long an iPhone keeps call history.
The 30-Day and 1-Year Settings — and the Warning That Matters
Open Settings > Messages, scroll to Message History, and tap Keep Messages. The three choices are 30 Days, 1 Year, and Forever. The shorter options exist for people who want their storage back or don't like carrying years of conversations around. They're also the most common reason someone discovers a text they needed has disappeared.
Two things about them are easy to miss. First, the deletion is immediate, not scheduled. The moment you choose 30 Days or 1 Year, iOS warns that it will permanently delete all messages and attachments older than that — and it does so as soon as you confirm, looking backward through the entire history. Second, it keeps going: every day, whatever crosses the threshold is removed. Don't assume the Recently Deleted folder will catch what this setting prunes; treat the change as permanent.
There's also a back door to the same setting. When the phone runs low on space, Settings > General > iPhone Storage offers a recommendation called Auto Delete Old Conversations. Accepting it flips Keep Messages to 1 Year. Plenty of people have enabled a one-year purge this way without ever opening the Messages settings.
If you're reading this because a message is missing, check this setting first. If it says anything other than Forever, set it to Forever now. That won't bring anything back, but it stops further loss while you go looking for copies.
Deleted Messages: Recently Deleted Holds Them for About 30 Days
Since iOS 16, deleting a message or an entire conversation doesn't erase it right away. It moves to Recently Deleted. From the conversation list in Messages, tap Edit (or the Filters button, depending on your iOS version) and choose Show Recently Deleted. Each item shows how many days it has left; select it and tap Recover, and it returns to its original conversation in its original place.
The window is up to about 30 days. After that, the phone removes the message for good, and nothing on the phone itself will bring it back. Software that advertises "recover deleted iPhone texts" mostly works by searching backups and iCloud for an older copy — worth doing, and it is exactly the list of places in the next section. Some tools also scan the message database for rows that were deleted but not yet overwritten, with mixed results. What none of them can do is find a copy that was never made.
One more thing about deletion: if Messages in iCloudis on, deleting on one device deletes everywhere. Remove a thread on your phone and it typically disappears from your Mac and iPad within minutes, once those devices are online. That cuts both ways when messages are evidence, and it's why "I'll just check my Mac" doesn't always work.
Where Copies Survive: iCloud, Backups, and a Synced Mac
Three places hold copies of your messages that don't depend on what the phone is currently showing. Each has different rules, and the differences are what decide whether a two-year-old text can still be produced.
Messages in iCloud. Turned on under Settings > [your name] > iCloud > Messages (you may need to tap Show Allfirst), this stores your messages in your iCloud account and syncs them to every device signed in with the same Apple ID. It follows the same rules as the phone — whatever Keep Messages says, and whatever you delete. It's a mirror, not an archive: it protects you from a lost or broken phone, not from deletion. It also has a side effect that matters later: when the phone is short on space, iOS can keep older messages in iCloud only and fetch them when you scroll back, so a long thread may pause for a moment while it loads.
A local iPhone backup. A backup made with iTunes or the Apple Devices app on Windows, or Finder on a Mac, includes the phone's message database — every SMS and iMessage the phone held at that moment, with the date and time of each. The key word is moment: a backup is a snapshot. A backup made two years ago contains the messages of two years ago, whatever has been deleted since. Old backups on a previous laptop, an external drive, or a Mac you stopped using are often the best copy that exists, which is why the first question to ask is not "is it on my phone?" but "did I ever back this phone up to a computer?" (iCloud Backup — the overnight one to Apple's servers — can also hold messages, but not when Messages in iCloud is turned on: Apple excludes messages from the backup in that case and keeps them in iCloud sync instead. Either way, the only way to read an iCloud backup is to restore an entire phone from it, which is not a practical route to one thread.)
A Mac signed into the same Apple ID. If you use Messages on a Mac, macOS keeps its own message database at ~/Library/Messages/chat.db. With Messages in iCloud on, it mirrors the phone, deletions included. With it off, the Mac holds whatever arrived while it was signed in and awake — iMessages directly, and green-bubble SMS only if Text Message Forwarding was enabled for that Mac — and deleting on the phone doesn't touch it. A Mac that has been in daily use for years can therefore hold a longer, or at least different, record than the phone does. Our guide to saving iMessages as evidence on a Mac covers reading that database.
Why Messages Can Be Missing From a Backup — and How to Check
The most common complaint from people who do everything right: "I backed up the phone, opened the backup, and the thread stops months before the date I need." Four causes account for nearly every case.
- The phone didn't have it either. A backup can only contain what the phone held when it was made. If Keep Messages had already pruned the message, or it was deleted more than 30 days earlier, no fresh backup will include it. Only an older backup can.
- Messages in iCloud. Apple states that a backup made from a computer does not include data already synced to iCloud, and lists iMessage and SMS/MMS among that data when the feature is on (Apple Support, checked September 2026). What we see on real backups is that the phone's local message database is still written into the backup and contains whatever the phone is holding locally — which, with iCloud parking older messages, can be less than the full history. Because Apple's wording and that observation don't line up, treat this as a check rather than a guarantee: open the thread on the phone, scroll back to the date you need, let it finish loading, then make the backup. Export the free watermarked exhibit first and confirm the messages you need are actually in it before paying for anything — and if they are not, the 30-day money-back guarantee covers you.
- The wrong backup. Windows has two possible backup folders —
%userprofile%\Apple\MobileSync\Backupfor the Apple Devices app and the Microsoft Store version of iTunes, and%appdata%\Apple Computer\MobileSync\Backupfor iTunes downloaded from apple.com — and an old backup in one is easy to mistake for a new one. On a Mac, backups live in~/Library/Application Support/MobileSync/Backup. Check the date. And confirm the backup was made to This Computer, not iCloud; if iCloud was selected, there is no local backup at all. - Encryption. If Encrypt local backup was checked, the databases inside are scrambled until the backup password unlocks them — the browser version of Exhibit A asks for that password and does the unlocking on your own computer. If the password is lost, uncheck the box and back up again (it will ask for the old one), or reset it on the phone under Settings > General > Transfer or Reset iPhone > Reset > Reset All Settings. Which box to tick is worth a thought: Apple documents that an encrypted backup includes saved passwords, Wi-Fi settings, website history, Health data and call history, and an unencrypted backup does not. Your messages are in either kind, so encrypt the backup when you want the call log as well.
Why Your Carrier Can't Give You the Content
A common instinct is to skip all of this and ask the carrier. It's worth understanding what that gets you. Carriers keep records of SMS traffic — the numbers involved and the date and time of each message — much as they keep call detail records, and recent activity is often visible in your online account. What they generally don't keep, in any form they'll release to a customer, is the text itself. Ask yours if you like, but don't plan around it.
The bigger gap is iMessage. Blue-bubble messages travel over the internet through Apple's servers rather than the carrier's messaging system, so they do not appear in a carrier's message records at all — even when they were sent over cellular data — and a carrier log for a household that mostly uses iMessage can look nearly empty. Carrier records can still help establish that a text was sent at a particular time, and requests for older records generally run through the account holder or a subpoena — your attorney's department. For the words themselves, it comes back to the phone, a backup, or a Mac.
Getting Old Messages Out in a Readable, Timestamped Form
Once you know where the messages are, the next problem is that Messages has no export button. Screenshots are fine for a handful of texts; for a thread of hundreds, you want every message in order with its date and time, in a document you can print or send. That is the part Exhibit A is built for, and it runs in two places:
- On a Mac: the Mac app (macOS 12 or later, free to download) reads the Messages database already on your Mac — no backup needed — along with the call history macOS keeps, which is a rolling window rather than the phone's full lifetime.
- On Windows or any computer: the browser version at getexhibita.com/app reads the messages out of an iPhone backup you've made with iTunes or the Apple Devices app, encrypted or not — an encrypted one prompts for its backup password, and it's also the kind that carries the call log. Open it in Chrome or Edge, choose the backup folder, and the backup is parsed on your own computer — nothing is uploaded, and there's no account. The step-by-step Windows guide walks through the backup and the folder paths above. It works the same way with a Finder backup on a Mac.
Either way, you pick the person and a date range and get a court-formatted PDF: a color-coded calendar of how often you communicated, then a per-day log of each message with its timestamp. The free tier exports the full exhibit with a watermark, so you can confirm the messages you need are actually there before paying anything. To remove the watermark, a $39 Case Pass covers 90 days; there's also a $14/month plan and a $149 lifetimelicense, all with a 30-day money-back guarantee. If your only backup is encrypted, that's no obstacle — enter its backup password when the app asks, and the unlocking happens on your own computer.
If the Messages Are for Court
Most people asking how long an iPhone keeps texts have an ordinary reason — a receipt, an address, a promise someone made. But if the messages are headed for a custody hearing or another dispute, retention stops being trivia and becomes strategy. A few practical habits — not legal advice, and your attorney's instructions come first:
- Don't prune. Deleting messages — including your own unflattering ones — is a common way to undermine an otherwise good record: the other side usually has their copy, and a thread with gaps invites the question of what was removed. If a matter is pending, ask your attorney before deleting anything.
- Set Keep Messages to Forever and leave it there. And think twice before toggling Messages in iCloud on or off while a matter is pending.
- Export early. Phones get lost, replaced, and reset. Make a local backup now, copy it to a drive, note the date, and produce the exhibit while everything is still in place — not the week the hearing is set.
- Keep the device. A printout is a copy, and you may be asked where it came from.
- Ask your attorney what your court expects. How a message printout is introduced — a signed declaration, the native files, the phone in the courtroom — varies by state and by judge.
As always: this is a guide to where the data lives, not legal advice. Whether a particular record is accepted, and how it should be presented, is your attorney's call.
FAQ
Does the iPhone automatically delete old text messages?
Not by default. With Keep Messages set to Forever — the factory setting — nothing is removed by age. Messages are deleted automatically only if that setting was changed to 30 Days or 1 Year, or if the Auto Delete Old Conversations recommendation in iPhone Storage was accepted, which sets it to 1 Year. Check Settings > Messages > Keep Messages.
How long do deleted text messages stay on an iPhone?
Up to about 30 days in the Recently Deleted folder (iOS 16 and later), where they can be recovered back into their original conversation. After that the phone removes them permanently. Copies may still exist in an older iPhone backup, or on a Mac that received the same messages and isn't syncing deletions through Messages in iCloud.
Can I recover text messages from a year ago?
If Keep Messages has always been set to Forever and the conversation wasn't deleted, the messages are still on the phone — scroll back or use search. If they're gone from the phone, look for a backup made while they existed, or a Mac that received the same messages. Failing those, the other party's copy — informally or through discovery, via your attorney — is usually the last option. Carriers generally cannot supply the content of messages — only the numbers, dates and times.
Does an iPhone backup include text messages?
Yes. A local backup made with iTunes, the Apple Devices app, or Finder contains the phone's message database — SMS and iMessage, with timestamps — as it stood at the moment of backup. An encrypted backup needs its backup password, which the browser version of Exhibit A asks for and uses on your own computer; with Messages in iCloud turned on, older messages that live only in iCloud may be absent. The practical check is the phone: if it can display the message when you scroll back, a backup made right afterward should contain it.
If Messages in iCloud is on, are my texts anywhere on my PC?
Not until you make a backup. iCloud for Windows syncs photos and files, not Messages. Plug the phone into iTunes or the Apple Devices app and back up to This Computer; that backup holds the messages the phone has locally. (Apple includes call history only in encrypted backups, so turn on Encrypt local backup if you want the call log too — the browser app asks for that password and unlocks the backup on your PC.) Scroll the thread back to the date you need beforehand so the phone has fetched it, then read the backup in the browser at getexhibita.com/app — it is parsed on your PC and nothing is uploaded.
Can my carrier send me copies of my texts?
Generally no. Carriers keep the numbers, dates, and times of SMS messages, not the words, and iMessages do not appear in a carrier's message records at all — they travel over the internet through Apple's servers rather than the carrier's messaging system. Carrier records can help show that a text was sent at a certain time; for the content, you need the phone, a backup, or a Mac that received the same messages.
Need the messages from months — or years — ago?
Exhibit A reads the message history already on your Mac, or an iPhone backup on any computer, and formats it as a timestamped exhibit. The free tier shows everything.
Download Exhibit AOn Windows? Exhibit A now runs in your browser — no install, nothing uploaded. getexhibita.com/app →
For the call log, make the backup with “Encrypt local backup” ticked — Apple puts call history only in encrypted backups, and the app unlocks it with your password on your own PC.