sodcalculator

10 Tech How-To

How Deleting Messages on WhatsApp Works

Guide 10-16516 · Updated · Step by step

When you delete a WhatsApp message, it is not instantly erased from every device; instead, WhatsApp sends a command that tells each recipient’s device to remove the message from the chat, and the underlying data is then purged from WhatsApp’s servers after a short retention period. This applies to both “Delete for Me” (removes it only from your device) and “Delete for Everyone” (removes it from all recipients’ devices). The exact behavior depends on the type of deletion, how long ago the message was sent, and whether recipients have already seen it.

Background: Why Deletion Is Not Instant Erasure

WhatsApp messages are end-to-end encrypted, meaning the content is only readable on the sender’s and recipients’ devices. When you send a message, it is uploaded to WhatsApp’s servers in encrypted form and then delivered to each recipient. The server acts like a post office—it holds the encrypted package until it can be delivered. Because of this architecture, deleting a message involves two separate actions: telling the recipients’ devices to remove the message from their local storage, and removing the encrypted copy from the server. The server copy is not deleted immediately; WhatsApp’s engineering team has stated that undelivered messages are kept for up to 30 days, and delivered messages are purged shortly after delivery, but the exact retention window is not publicly documented in detail.

How “Delete for Me” Works

When you choose “Delete for Me,” WhatsApp only removes the message from your own device. The recipients’ devices still have the message, and their copy remains fully intact. This is a purely local operation—your device deletes the message from its local database and sends a request to the server to remove it from your chat history. The server then updates your chat state so that if you later restore from a backup, the deleted message does not reappear. However, the recipients’ copies are untouched, and they can still see, forward, or screenshot the message. This option is useful for clearing your own chat history, but it does not retract anything from the conversation.

How “Delete for Everyone” Works

“Delete for Everyone” is the feature that actually attempts to remove the message from all recipients’ devices. When you select it, WhatsApp sends a special command to the server, which then relays that command to each recipient’s device. The recipient’s device, upon receiving the command, deletes the message from its local chat database and replaces it with a placeholder like “This message was deleted.” The command only works if the message has not been forwarded or if the recipient has not already saved it. The time window for this feature has changed over the years:

  • Originally (2017): 7 minutes
  • Extended (2018): 1 hour, 8 minutes, 16 seconds
  • Current (as of 2024): 2 days, 12 hours

After that window, the option is no longer available, and you can only delete for yourself. The recipient must have an active internet connection to receive the deletion command; if they are offline, the command is queued and delivered when they come online, but only if the deletion is still within the time limit at the moment of delivery. If the recipient has already seen the message, they will still see the placeholder, but they may have already read the content.

How to Choose Which Deletion Type

To delete a message on WhatsApp, you long-press the message (or select multiple messages) and tap the trash icon. A menu appears with two options: “Delete for Me” and “Delete for Everyone.” The choice depends on your intent:

  • If you only want to clear the message from your own device, choose “Delete for Me.”
  • If you want to retract the message from all recipients, choose “Delete for Everyone.”

For “Delete for Everyone,” you must act within the time limit (currently 2 days and 12 hours). After that, the option becomes grayed out. Also, you can only delete messages you sent; you cannot delete a message sent by someone else, even if you are the group admin.

Common Problems and Limitations

Several issues can prevent a message from being fully deleted:

  • Recipients have seen it: If the recipient has already read the message, they may have seen the content before the deletion command arrives. The placeholder appears, but the damage is done.
  • Forwarded messages: If the recipient forwarded your message to another chat, the forwarded copy is not deleted. The deletion command only affects the original chat where you sent it.
  • Saved media: If the message contained a photo or video and the recipient saved it to their device, that saved file is not deleted. The deletion only removes the message from the chat, not the downloaded file.
  • Offline recipients: If the recipient is offline when you delete, the command is queued. If they come online after the time limit has passed, the deletion may not work, and they will see the message.
  • Backups: If the recipient has an iCloud or Google Drive backup that was taken before the deletion, the message may still exist in that backup. Restoring from that backup can bring the message back.
  • Group chats: In group chats, deletion works the same way, but if any member has already seen the message, they can still recall it. Also, if a member leaves the group, the deletion command may not reach them.

Comparison with Other Messaging Apps

WhatsApp’s deletion mechanism is similar to that of other end-to-end encrypted apps, but with notable differences:

  • Signal: Signal allows deleting for everyone with no time limit, but only if the message has not been read. Once read, it cannot be deleted.
  • Telegram: Telegram allows deleting any message (yours or others’) at any time, but it is not end-to-end encrypted by default in cloud chats. The deletion removes the message from all devices, but the server may retain copies for a short period.
  • iMessage: iMessage allows unsending messages within 2 minutes, but only if the recipient is running iOS 16 or later. The message is replaced with “You unsent a message.”

WhatsApp’s 2-day window is much more generous than iMessage’s 2 minutes, but less flexible than Signal’s no-time-limit (until read) approach.

Safety and Privacy Considerations

Deleting a message does not guarantee that the content is gone forever. Recipients can take screenshots before the deletion, use third-party notification log apps, or simply read the message before you delete it. Additionally, if the recipient has a backup, the message may be recoverable. For sensitive information, the safest approach is to not send it in the first place. Also, note that WhatsApp does not notify the recipient when you delete a message for everyone—they just see the placeholder. However, if you delete a message for me, the recipient is not notified at all, but they will still have the message.

Frequently Asked Questions

Can I delete a message after the 2-day window?

No. Once the 2-day, 12-hour window has passed, the “Delete for Everyone” option is no longer available. You can only delete the message for yourself. The recipient will continue to see the message indefinitely.

Does deleting a message remove it from the recipient’s phone?

Yes, if you use “Delete for Everyone” and the recipient is online, the message is removed from their chat and replaced with a placeholder. However, if they have already seen it, they may have read it, and if they have saved media or taken a screenshot, those copies remain.

Can I delete a message in a group chat for everyone?

Yes, you can delete a message you sent in a group chat for everyone, as long as you do it within the time limit. The deletion applies to all group members. However, if a member has already seen the message, they may have read it, and if they have forwarded it, those copies remain.

What happens if the recipient is offline when I delete a message?

If the recipient is offline, the deletion command is queued on WhatsApp’s servers. When the recipient comes online, the command is delivered, and the message is deleted—provided that the deletion is still within the 2-day window at the time of delivery. If the recipient remains offline for more than 2 days, the deletion may fail, and they will see the message.

Does deleting a message affect backups?

No. If you or the recipient have a backup (iCloud or Google Drive) that was created before the deletion, the message may still exist in that backup. Restoring from that backup can bring the message back. WhatsApp does not retroactively delete messages from existing backups.

Can I delete a message sent by someone else?

No. You can only delete messages that you sent. If you are a group admin, you cannot delete messages sent by other members. The only exception is if you are using a business account with special admin controls, but that is not standard for regular users.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →