Preview your backup free — counts, recent texts & search hits. Pay $249 once to unlock & export everything.

Can you see edited or unsent iMessages in an iPhone backup?

Since iOS 16, anyone can edit a sent iMessage up to five times or unsend it completely. Here is the exact technical truth of what Apple's sms.db database keeps on your iPhone — and how EvidencePal surfaces edited and unsent messages in your timeline and PDF.

How iOS 16–26 stores edited and unsent messages under the hood

In iOS 16, Apple introduced two changes to iMessage: Edit (allowing a sender to modify a message up to 5 times within 15 minutes of sending) and Undo Send (allowing a sender to retract a message within 2 minutes of sending).

In disputes — whether family court, employment matters, or contract disagreements — people frequently edit a hostile or incriminating message minutes after sending it, or unsend a message right after the other person replies to it.

If you only take a standard phone screenshot, the screenshot shows only the final edited bubble (unless you manually tap "Edited" on every single bubble before screenshotting), and unsent messages disappear completely.

Inside an iPhone backup’s SQLite database (HomeDomain — Library/SMS/sms.db), however, Apple records these events in three specific columns on the message table:

Column in sms.db Data Type What iOS Writes Into It
date_edited INTEGER 0 if never edited. When edited, stores the Apple-epoch nanosecond timestamp of the most recent edit.
date_retracted INTEGER 0 if never unsent. When unsent (“Undo Send”), stores the Apple-epoch nanosecond timestamp when the message was retracted.
message_summary_info BLOB (bplist00) A binary property list containing per-part dictionaries: otr (original part metadata), ec (array of chronological edit-history snapshots per part), and rp (array of retracted part indexes).

Edited iMessages: Why every prior version is preserved in your backup

When someone edits an iMessage on iOS 16 through iOS 26, Apple does not overwrite the original text in sms.db. Instead, inside the message_summary_info binary plist, iOS maintains an ec (edit collection) dictionary keyed by the zero-based message part index ("0", "1", etc.).

Each entry in that part’s array contains:

  1. d (Timestamp): The exact second since 2001-01-01 00:00:00 UTC when that specific version existed.
  2. t (Typedstream Payload): The full NSAttributedString binary blob containing the exact text and formatting of that version.

The array is stored in strict chronological order: Entry 0 is the original text as first sent, followed by Edit 1, Edit 2, and so on up to the final version.

How EvidencePal renders edited messages in your PDF

Whenever date_edited != 0, EvidencePal decodes every entry in the ec array and prints both the final message and its complete edit history directly beneath it in your PDF:

Dana Ruiz +1 (555) 201-4478 · 12:05 PM EDT · Edited
That damage under the sink was there before you moved in.
Earlier version (12:04 PM EDT): “I told the plumber to wait until next month.”

Even better, you do not have to hunt through thousands of pages to find edited messages. In the EvidencePal workspace, the Edited Smart Filter chip shows the total count of edited messages in your selection (14 edited) even during the free preview — and lets you filter to them or mark all of them as Key Moments in one click.


Unsent iMessages (“Undo Send”): What is kept vs. what is erased

When a sender taps Undo Send within two minutes of sending an iMessage, iOS behaves differently than it does for an edit:

  1. The text bytes are cleared on iOS 16+ devices: When your iPhone processes the retraction event, it removes the text from message.text and message.attributedBody and adds the part index to the rp (retracted parts) array inside message_summary_info.
  2. The message row and timestamps remain in sms.db: Apple does not delete the row from sms.db. The database retains:
    • Who sent the message (handle_id),
    • The exact time the message was originally sent (message.date), and
    • The exact time the sender retracted it (message.date_retracted).

Why printing unsent tombstones matters for your timeline

Many basic backup extractors see text = NULL on an unsent row and silently skip the message.

Skipping an unsent message breaks your timeline: if the other person sent a threatening message at 10:14 PM, you replied “Why would you say that to me?” at 10:15 PM, and they unsent their 10:14 PM message at 10:15:30 PM, a tool that drops unsent rows makes it look like you were talking to yourself!

EvidencePal never drops an unsent row. It renders an explicit Unsent Message marker at 10:14 PM showing the sender’s name, phone number/Apple ID, the original send time, and the exact retraction timestamp (Message unsent at 10:15 PM EDT), and surfaces all unsent rows under the Unsent Smart Filter chip.


Summary comparison: Edited vs. Unsent vs. Deleted messages

Action Taken by Sender Does the Other Person’s iPhone Keep the Original Text? What EvidencePal Prints in Your PDF Timeline
Edited an iMessage (within 15 mins) Yes — stored in message_summary_info (ec array) Final message plus every earlier version and its timestamp
Unsent an iMessage (within 2 mins) No (unless backed up before retraction or on iOS ≤15) Explicit chronological tombstone with sender, send time & unsend time
Deleted a message on their phone Yes — deleting on their phone never deletes it from your phone The complete message (deleting locally only affects their own device)
You deleted a message on your phone Kept in iOS Recently Deleted for 30–40 days, or in an older PC backup Full message if present in an earlier backup or the backup’s Recently Deleted bin

Frequently asked questions

Does the iPhone backup really keep the text from before someone edited their iMessage?

Yes. Because iOS 16+ allows either person in a conversation to tap the blue 'Edited' label in the Messages app to view previous versions, Apple's sms.db database stores all prior versions of each edited message part inside the message_summary_info column (under the 'ec' dictionary key). EvidencePal decodes each version's typedstream payload and prints the original wording alongside the final wording in your PDF.

Can I filter a 10,000-message conversation to see ONLY the messages my ex or landlord edited?

Yes. When you open a case in EvidencePal, the 'Edited messages' Smart Filter chip automatically scans the conversation and shows the exact count of edited messages (for example, '14 edited'). Clicking that chip filters your timeline to just those 14 messages and allows you to mark all of them as Key Moments in one click.

Why can't any tool recover the text of an 'Unsent' iMessage from a current backup?

When a sender taps 'Undo Send' within Apple's 2-minute window, iOS sends a retraction push command to the recipient's device. If your iPhone is running iOS 16 or newer, iOS clears the text/attributedBody payload for that message part and sets the date_retracted column in sms.db. The text only survives if (a) you have a computer backup made during the brief window before the retraction arrived, or (b) the message was received on a legacy device running iOS 15 or earlier.

How does an unsent message look in the exported PDF?

Instead of silently skipping the row — which would make your reply right below it look out of context — EvidencePal prints an explicit chronological tombstone at the exact time the message was sent, stating who sent it and the exact timestamp it was unsent.

What if the backup comes from an older iPhone running iOS 15?

Backups from iOS 15 and earlier do not have edit history tables. Instead of showing a misleading '0 edited messages' badge, EvidencePal detects the database schema capabilities at open time and hides the Edited smart-filter chip when the backup schema pre-dates iOS 16.