Deleting messages, clearing the cache, and even logging out of a Telegram account do not always mean that information is completely erased from a computer. While running, the messenger leaves digital traces in RAM, which may include fragments of conversations, information about contacts, attachments, and other confidential data. Digital forensics research shows that some of this information can be recovered even after it has been deleted through the application’s interface.
Random access memory (RAM) is used to temporarily store information required by the operating system and running applications. Unlike an SSD or hard drive, it primarily stores data that the computer is actively processing at any given moment.
When a user opens Telegram, the messenger loads account information, messages, contacts, attachments, and other interface elements into memory. In the case of Telegram Web, these processes take place directly in the browser, which also uses RAM to execute JavaScript, render web pages, and decode multimedia files.
To display an encrypted message on the screen, the application must first decrypt it. At this stage, information may exist in RAM in plaintext. This is why examining local digital traces does not necessarily require breaking the messenger’s cryptographic protocol.
In 2022, researchers published a scientific study focusing on the analysis of Telegram Desktop’s RAM on Windows. During their experiments, the researchers identified the following categories of digital artifacts:
Text messages and fragments of conversations.
Usernames and contact information.
Information about groups and channels.
Message timestamps.
Information about attached files.
Details of forwarded messages and replies.
Geographic coordinates shared by users in chats.
Some digital traces remained accessible even after logging out of the account. However, this does not mean that the entire conversation history can be recovered. The amount of available information depends on the application version, how long it has been running, previously opened conversations, and the state of the operating system.
The reason lies in how memory management works. When a user deletes a message or closes a conversation, the application may release the corresponding memory area, but its previous contents are not necessarily overwritten immediately. Residual information may remain until that memory area is reused for other tasks.
In a 2026 study, researchers examined how different computer states affect the persistence of Telegram Web’s digital artifacts. For the experiment, ten artifacts were created, including text messages, images, a document, and an audio file. After deleting them, the researchers examined how many digital traces remained accessible.
| Computer status | Discovered artifacts |
| Одразу після видалення | 100% |
| Sleep mode | 100% |
| Hibernation mode | 100% |
| After closing the browser | 40% |
| After closing the browser and using other programs | 10% |
| After turning off the computer | 0% |
The results demonstrate how significantly the state of the operating system affects data retention. However, these figures apply to a specific laboratory experiment, and identifying a digital artifact does not necessarily mean that the original message or file can be fully recovered.
Particular attention should be paid to power-saving modes. When a computer enters sleep mode, its RAM continues to receive power. This allows users to resume their work from exactly where they left off when the device wakes up.
During hibernation, the contents of RAM are written to the storage drive. In Windows, the system file hiberfil.sys is used for this purpose. Additionally, fragments of information may end up in the pagefile.sys paging file, which the operating system uses to manage virtual memory.
Therefore, under certain conditions, the messenger’s digital traces may remain not only in RAM but also on the computer’s storage drive.
Telegram uses its own cryptographic protocol, MTProto. However, encrypting network traffic and protecting information directly on a device are two different tasks.
Regular Telegram cloud chats use client-server encryption, while end-to-end encryption is used in Secret Chats. These chats are tied to specific devices and are not synchronized through the cloud. Meanwhile, Telegram Web and the standard Telegram Desktop application do not support Secret Chats.
Even end-to-end encryption cannot guarantee complete data protection on a compromised device. If a message has already been decrypted for display on the screen, its contents may be accessible in the application’s memory. Analyzing such data does not constitute breaking MTProto, as the information being examined has already been decrypted by the messenger itself.
A specialized branch of digital forensics known as Memory Forensics is used to identify such digital traces. It allows researchers to examine the state of an operating system at a specific point in time, including active processes, network connections, loaded libraries, and temporary application data.
Popular tools used in such investigations include:
Volatility 3 – a framework for analyzing RAM images and examining system artifacts.
MemProcFS – a tool for examining RAM through a virtual file system.
FTK Imager – software for acquiring and examining digital evidence.
These tools are used by cybersecurity, digital forensics, and incident investigation specialists. However, they do not guarantee the automatic recovery of deleted conversations. The results depend on the state of the system and the nature of the available digital artifacts.
Completely preventing temporary data from appearing in RAM is practically impossible, as it is an integral part of how modern applications operate. However, users can reduce the risk of unauthorized access to confidential information:
Use full-disk encryption. BitLocker on Windows, FileVault on macOS, and LUKS on Linux help protect information stored on the drive.
Do not leave your computer unlocked. Physical access to an active system creates additional privacy risks.
Avoid using Telegram Web on other people’s devices. Logging out of your account does not guarantee the removal of all local artifacts.
Regularly review active Telegram sessions. Unknown or unnecessary sessions should be terminated.
Keep your operating system, browser, and messenger up to date. This helps address known vulnerabilities.
Protect your device against malware. A compromised computer can undermine the benefits of encryption.
It is also important to remember that incognito mode in a browser does not guarantee that RAM will be completely cleared. Similarly, Telegram’s two-step verification protects your account against unauthorized logins but does not prevent local data analysis on an already compromised device.
Deleting messages in Telegram does not always mean that their digital traces are completely erased. Information may temporarily remain in RAM, system files, or other local storage locations. This is not unique to Telegram but is a common issue affecting many modern messengers, browsers, and other applications.
Even the most reliable encryption algorithms cannot guarantee data confidentiality if the device itself is inadequately protected. Therefore, the security of your conversations depends not only on the messenger’s settings but also on the protection of the computer on which it runs.