Digital forensic examiner · Expert witness · San Diego · Remote nationwideSpeak with the examiner: 858-692-3306
Octo Digital Forensics Call 858-692-3306
Article

Can Deleted WhatsApp Messages Be Recovered?

When deleted WhatsApp messages can be recovered from a phone, iCloud or Google Drive backup, or the other party's device, and where forensic recovery stops.

Sometimes, but not always, and the honest answer depends on where copies of the messages still exist. WhatsApp says it does not store messages on its servers once they are delivered, so recovery almost never comes from WhatsApp itself. It comes from the phones in the conversation, from local and cloud backups, and from records that survive inside the app's database after deletion. Whether any of those still hold the messages depends on the device, how much time has passed, how the phone has been used since, and whether backups were encrypted.

Where WhatsApp messages actually live

WhatsApp keeps chat history in a database on each device in the conversation. On Android the main message database is commonly called msgstore.db, and on iPhone it is ChatStorage.sqlite. Both are SQLite databases, and that matters for recovery: when a record is deleted from a SQLite database, the data is not always wiped right away. Fragments can remain in unused pages or in the database's write ahead log until they are overwritten or the database is cleaned up.

Copies can also exist in backups:

  • Cloud backups. WhatsApp backs up chats to iCloud on iPhone and Google Drive on Android. A backup made before a message was deleted may still contain it.
  • Local backups on Android. Android devices can hold local backup files in WhatsApp's storage folder. These are encrypted and need the matching key to read.
  • Computer backups. An iPhone backed up to a computer can include WhatsApp data, depending on the backup settings.

End-to-end encrypted backups

WhatsApp offers optional end-to-end encryption for cloud backups. The user protects the backup with either a password or a 64-digit encryption key, and WhatsApp states that neither WhatsApp nor the backup provider can read the backup or access the key. In practice, if a backup is end-to-end encrypted and nobody can supply the password or key, the content of that backup is not available. A forensic examiner cannot work around that, and anyone who claims otherwise should be asked to explain exactly how.

What a forensic extraction can and cannot get

The extraction method largely determines what is reachable. A logical extraction or a standard backup typically captures active chats. A full file system extraction, where the device supports it, gives access to the app's database files themselves, which is where deleted records may be found. Even then, results vary.

What an extraction can often show:

  • Active chats, attachments, call records and group membership.
  • Deleted message records that remain in the database, sometimes complete and sometimes partial.
  • Placeholders where a sender used delete for everyone, which can show that a message existed and when, even when the content is gone.
  • Media files that were saved to the phone's photo library or file storage, which can outlast the chat they came from.

What it usually cannot do:

  • Recover content that has been overwritten, or data from a device that was factory reset.
  • Read an end-to-end encrypted backup without the password or key.
  • Promise a result before the device is examined. Recovery of deleted records is opportunistic, and the device model, operating system version and lock state all affect what is possible.

Disappearing messages

WhatsApp's disappearing messages feature deletes new messages 24 hours, 7 days or 90 days after they are sent, unless a participant chooses to keep a message. According to WhatsApp, a message that later disappears is still included in a backup made before it disappeared, but disappearing messages are deleted when that backup is restored. WhatsApp also notes that a quoted reply may keep showing the original text after the timer runs out, and that a disappearing message forwarded into a chat with the feature off does not disappear. Media sent in a disappearing chat is not saved to the photo library by default.

For evidence purposes, that means the window is short. If disappearing messages are on, the best chance of preserving content is a forensic collection or a backup made before the timer runs, not after.

The other party's device

A message deleted from one phone is often still on the other phone in the conversation. Delete for me removes a message only from the device where it was deleted. If the sender uses delete for everyone within WhatsApp's time limit, the message is replaced with a deletion notice on the other devices, but the recipient may already have read it, screenshotted it or backed it up.

That makes the other party's phone and backups an important source. Access needs to come through stipulation, discovery or a court order, not self-help. Logging in to someone else's device or account can create legal problems and taint the evidence.

What to do now

  • Stop using the affected phone for anything nonessential. New activity can overwrite deleted records.
  • Do not install recovery apps or restore from a backup. A restore can replace the current database.
  • Do not turn off or change backup settings, and record which accounts the phone backs up to.
  • If disappearing messages are on, preserve now rather than waiting.
  • Send a preservation letter to the other side for their devices and backups.

We help attorneys preserve and collect phones and cloud accounts, analyze WhatsApp data for deleted records and gaps, review the other side's extractions, and explain the results in declarations and testimony. We will tell you plainly what the data supports and what it does not.

A deadline, a device, a question.

Talk directly with the examiner. The first case review is free and confidential, and every examination is quoted in writing before work begins.

Need the examiner's advice now? Book a paid consultation, $175 / 30 min.

Call nowSend details