Use Caution

Telegram Desktop tdata & Media Cache Folder

Quick Answer: Telegram tdata contains login session keys and local media cache. Deleting media cache inside Telegram is safe, but deleting tdata logs you out.

Bottom Line: Use caution. Deleting the entire tdata folder will log you out of Telegram Desktop. To safely free up space without losing your login session, clear Telegram’s Media Cache from inside the Telegram app settings.


What is the Telegram tdata Folder?

Located at %AppData%\Telegram Desktop\tdata on Windows (or ~/Library/Application Support/Telegram Desktop/tdata on macOS), tdata is the working directory for Telegram Desktop.

This folder contains two main types of data:

  1. Encrypted Session Keys: Your active login credentials so you don’t have to scan an auth QR code every time you open Telegram.
  2. Local Media Cache: Downloaded photos, voice notes, stickers, videos, and documents from chats and public channels.

Because Telegram channels often share large video files, the media cache inside tdata can quickly balloon to 10 GB to 30 GB+.


Can You Delete Telegram tdata?

  • Deleting the whole tdata folder: ⚠️ Logs you out of Telegram. You will need your phone to re-authenticate via SMS/QR code.
  • Clearing Media Cache inside Telegram Settings:100% safe. Keeps your login active while deleting gigabytes of cached media.

How to Safely Clean Up Telegram Media Cache

  1. Open Telegram Desktop.
  2. Go to Settings > Advanced > Data and Storage > Manage local storage.
  3. Under Storage Usage, click Clear all (or clear specific media types like Videos or Files).
  4. Set the Keep media slider to 1 week or 3 days so Telegram automatically deletes old cached media in the future.

Discussion

Loading authentication...

Related in messengers

Skype Media & Image Cache (%AppData%\Microsoft\Skype for Desktop\Media cache)

Skype for Desktop caches sent and received photos, voice messages, and media. Clearing the media cache is safe.

Safe to Delete

Android Telegram Cache Folder (org.telegram.messenger)

The Telegram cache folder stores downloaded photos, videos, voice notes, and document files. Clearing Telegram cache is safe and frees phone storage.

Safe to Delete

Android WhatsApp Databases Folder (msgstore.db.crypt14)

The WhatsApp Databases folder stores daily local chat backup archives (msgstore.db.crypt14). Deleting old database backups is safe.

Safe to Delete
Back to all files