Mobile application Telegram has long ceased to be just a messenger for correspondence. Today it is a powerful media center that stores gigabytes of photos, videos, voice messages and documents, caching them for quick loading. For many users of smartphones based Android the issue of lack of built-in memory becomes relevant, and often it is Telegram that takes up the lion's share of free space. Understanding where these temporary files are physically located allows you to effectively manage the device's storage.
The standard cleaning system through the phone settings does not always see the full amount of data accumulated by the messenger, since some of the information is hidden in protected system directories. Knowing the exact folder paths cache and media gives you complete control over the device. In this material, we will analyze the file structure in detail, look at manual methods for deleting unnecessary data, and explain how to set up automatic cleaning so that the problem of full memory no longer arises.
Before you start manually deleting files through the file manager, you need to clearly understand the difference between the cache and important data. Cache - these are temporary copies of files that the application saves so that you do not I had to download them again every time I opened the chat. Deleting them is safe and will not lead to the loss of correspondence or deletion of files from the cloud, since the originals remain on the messenger servers.
Data storage structure in Telegram on Android
Operating system file system Android has a clear hierarchy in which applications specific directories are allocated. Telegram is no exception and uses standard paths to store its working files. In older versions of the operating system, access to these folders was open to any user, but with the release Android 11 and higher, Google's security policy has become more stringent. Now the bulk of the messenger data is located in the system folder Android/data, access to which is limited without special rights or permissions.
Inside the main application directory, the data is divided into several logical blocks. Media is the folder where all received and sent files are saved: photos, videos, music and documents. It is this section that most often grows to enormous proportions. The second important part is Cachewhere image thumbnails, temporary video preview files and other service information necessary for the speed of the interface are stored. The third block is the message databases, which are small but critical for the operation of the application.
It is important to understand that manual intervention in the file structure requires caution. Deleting a database file may result in the need to completely re-register your account or the loss of local draft messages. Therefore, when working with the file system, you should always be guided by the principle of โmeasure seven times.โ
โ ๏ธ Attention: When deleting files from a folder
Android/dataon new versions of Android, the system may require confirmation or may not show the contents of the folder at all. This is normal security behavior and not an application bug.
To navigate the file system, you will need a quality file manager. Standard system tools may hide some system folders, so it is recommended to use specialized utilities, such as Total Commander, FX File ExplorerGoogle Files with display of hidden files enabled. This will allow you to see a complete picture of what exactly is taking up space on your drive.
The exact paths to the cache and media folders
The search for messenger files depends on the version of the operating system installed on your smartphone. Google has made significant changes to app file access starting with Android 11, dividing paths into โoldโ and โnewโ. If you are the owner of a modern device released in the last couple of years, you are most likely interested in the path through the system directory data.
For devices with Android 11 and newer, the main path looks like this: /storage/emulated/0/Android/data/org.telegram.messenger/files. It is inside this folder that the subdirectories cache and Telegramare located. Inside the folder Telegram you will find attachments, and inside the folder cache you will find temporary files. On some devices, the path may start at /sdcard/ instead of /storage/emulated/0/, but these are equivalent links to the same place.
On older devices running Android 10 and lower, the structure was simpler and more accessible. The path looked like this: /storage/emulated/0/Telegram. At the root of the internal memory, a separate folder was created with the name of the messenger, inside of which were all the media files and cache. This was convenient for quick access, but less secure in terms of isolating application data.
Below is a table organizing data paths for different OS versions so you can quickly find your way:
| Android version | Main path | Media location | Cache location |
|---|---|---|---|
| Android 11+ | /Android/data/org.telegram.../files | .../Telegram/Media | .../cache |
| Android 10 and below | /Telegram | /Telegram/Telegram Images | /Telegram/Telegram Cache |
| Internal memory | Storage root | Depends on the OS version | Depends on the OS version |
It is worth noting that the package name org.telegram.messenger may differ if you use unofficial clients such as Telegram Plus or Nicegram. In this case, instead of the standard package name, the name of the developer of the modified version will be indicated. Always pay attention to the application icon when searching for the desired directory if the file manager displays icon previews.
How to clear the cache through the app settings
The safest and developer-recommended way to free up space is to use built-in cleaning tools. This method ensures that you don't delete unnecessary things or compromise the integrity of the application files. Settings Messengers contain a powerful memory management module that allows you to flexibly manage what and when to delete.
To access this tool, open the application and go to the settings menu. The path usually looks like this: Settings โ Data and memory โ Memory usage. Here you will see detailed statistics: how much space the cache takes up, how much downloaded files take up and how much total data is used by the application. Pressing the button Clear cache will instantly delete all temporary files without affecting your correspondence.
โ๏ธ Check before cleaning
One of the most useful functions in this section is setting up auto-delete. You can set a time interval after which files will be deleted automatically if they have not been saved to the gallery. Options available: 3 days, 1 week, 1 month or never. This allows you to maintain a balance between file download speed and free disk space.
โ ๏ธ Attention: The "Clear cache" function deletes only temporary copies. If you delete a photo from the cache and then open the chat again, the photo will be downloaded again from the Internet, wasting bandwidth.
You can also choose from this menu which types of media files you want to clear first. For example, you can leave a cache of photos, but automatically delete video files older than a week. Videos usually take up the most space, so this setting is the most effective for saving space without losing text chat history.
Manual deletion of files through the file manager
Manual deletion is necessary in cases where standard methods do not work, or you want to selectively delete specific heavy files that the application does not want to delete through its interface. To do this, you will need a file manager with access rights to system folders. The built-in explorers on some smartphones (such as Xiaomi or Samsung) may hide the folder, so you may need to install a third-party application such as Android/data, so you may need to install a third party application such as Files by Google or CX File Explorer.
After accessing the folder, you will see several subfolders. We are interested in org.telegram.messenger/files you will see several subfolders. We are interested cache and Telegram. Inside the folder cache there are files with strange names consisting of a set of numbers and letters. These are temporary files. They can be safely deleted. Inside the folder Telegram there are folders Telegram Audio, Telegram Documents, Telegram Images and Telegram Video. By deleting the contents of these folders, you delete the files themselves from the phone's memory.
What to do if the Android/data folder is empty?
If you don't see files in the data folder, your file manager may not have permission to access it. Try using the built-in My Files (Samsung) or File Explorer (Xiaomi) app, which asks for access the first time you go to that folder. You can also connect your phone to your PC and delete files via your computer.
When manually deleting, you should be careful with database files. Usually they are located in the folder databases and have the extension .db. Never delete files with names like cache.db or messages.db manually if you do not want to reset the application to its original installation state. This will result in the loss of all local settings and drafts.
To mass delete files, it is convenient to use the sort by size function. Most file managers allow you to sort the contents of a folder in descending order of size. This will allow you to immediately find and delete the โheaviestโ video files, which often weigh 50-100 MB each, freeing up a significant amount of memory in a couple of seconds.
Automation and startup settings
To prevent the problem of memory overflow from returning, you need to correctly configure process automation. Telegram allows for flexibility manage media autoloading. By default, auto-downloading of media via Wi-Fi and mobile networks is enabled, which leads to rapid cache accumulation. It is recommended to disable auto-downloading of videos and large files, leaving only for photos.
In the section Settings โ Data and memory โ Autoload media you can set separate rules for private chats, groups and channels. For example, news channels often contain a lot of videos that are not interesting to you. By disabling autoloading for them, you will save space. Files will be downloaded only when you click on them, and not proactively.
Use the โSave to Galleryโ function selectively. If you disable autosave to the gallery and then manually save only the photos you need, your phone's memory will be cleaner, since there will be no duplicates in the system DCIM folder.
You should also pay attention to the "Saved Messages" folder. Many users use it as cloud storage, forgetting that when viewing files, they are cached on the device. Regularly reviewing this chat and deleting old unnecessary files will help keep the cache size within reasonable limits. Remember that Saved Messages are synced across all devices, and clearing the cache on your phone will not delete files from the cloud.
For advanced users, it is possible to use scripts or tasks in automation applications (for example, MacroDroid or Tasker). You can create a script that will clear the cache folder Telegram every night at 3 am when the phone is not in use. However, this requires caution so as not to delete files that you are currently downloading or viewing.
Common problems and their solutions
Users often encounter a situation where, after clearing the cache, the amount of occupied memory does not decrease, or the application begins to work incorrectly. One of the common problems is a โbloatedโ cache that is not cleared by standard tools. In this case, forcing the application to stop before cleaning helps. Go to Phone settings โ Applications โ Telegram โ Memory and click "Clear cache" through the Android system menu.
Another problem is the inability to delete files from the folder Android/data due to restrictions systems. Starting from Android 13 and especially in Android 14, access to this folder for third-party applications is completely closed. The only way to clear it manually is to use the system's built-in file manager or connect the phone to a computer in file transfer mode (MTP) and delete the contents through Windows Explorer or macOS.
โ ๏ธ Attention: Android shell interfaces (MIUI, OneUI, ColorOS) may differ. The location of the "Memory" or "Storage" menu items may vary, but the logic of operation remains the same for the entire platform.
If after all the manipulations Telegram continues to take up an abnormally large amount of space (for example, 10-20 GB with a small amount of correspondence), errors or โgarbageโ may have accumulated in the database. In this case, a radical but effective solution is to completely reset the application. Before doing this, be sure to make sure that you have access to the phone number for re-authorization, since all local data will be destroyed.
System cleaning through the Android settings is often more effective than the built-in application cleaning, since it forcibly deletes all temporary files, including those locked by messenger processes.
Questions and answers (FAQ)
Will the correspondence be deleted if I clear the Telegram cache?
No, the correspondence will not be deleted. The cache contains only temporary copies of media files (photos, videos) for quick loading. All messages are stored on Telegram servers and will be downloaded again if necessary.
Why is the Android/data folder empty or inaccessible?
This is a security limitation introduced in Android 11 and strengthened in newer versions. Standard file managers do not have the right to show the contents of this folder. Use system explorer or connect your phone to your PC.
Is it possible to transfer the Telegram cache to an SD card?
Officially, this function is not available in the application. However, on some smartphones, you can change the default storage location for all application data in the system settings if a memory card is installed in the phone, but this does not work on all models.
What is the tdata folder and where is it on Android?
The folder tdata is typical for the desktop version of Telegram (on a PC). On Android, the analogue is the files in the folder databases i files. There is no separate folder named tdata in the mobile version.
Is it safe to use third-party applications to clear the cache?
Using popular applications from well-known developers (Clean Master, CCleaner, etc.) is generally safe, but often there is no point in doing so. The built-in tools of Android and Telegram itself cope with this task better and safer, without the risk of deleting the necessary system files.