Sign in
Telegram

How to Find and Safely Back Up Telegram Desktop’s tdata Folder

Find tdata for your installation, distinguish between viewing files, reading chats, and signing in, then close the client and verify an encrypted backup offline. If a copy is exposed, review and end affected sessions.

3 min read
How to Find and Safely Back Up Telegram Desktop’s tdata Folder

Identify the client and locate its data folder

tdata is Telegram Desktop’s local data folder. It may contain session data, settings, and cached files. It is not a chat export: seeing the files does not mean you can read messages directly from them. Only inspect folders under your own user account on your own device.

  1. Windows, standard installation: Press Win+R, enter %APPDATA%\Telegram Desktop, and press Enter. Look for tdata. For a portable installation, open the folder containing the executable you actually run, not the folder containing its shortcut.
  2. macOS, Telegram Desktop from the official website: In Finder, press Command+Shift+G and enter ~/Library/Application Support/Telegram Desktop. Check the app name first: the native macOS client and Telegram Desktop are different apps.
  3. Linux, standard installation: Check ~/.local/share/TelegramDesktop first. For a containerized installation, check the app’s user data directory. If the path does not exist, confirm how the app was installed and which OS user account you are using. Do not create a folder with the missing name.
A blue paper-plane mascot follows a branching stone path through an amethyst cave and finds a crystal-lined alcove with a hidden drawer.

Choose the right action for your goal

GoalWhat to doWhat to check
Confirm the locationOpen the parent folder in your file manager and inspect the folder properties.Check the path and size without renaming or deleting anything.
Read chatsOpen the original desktop client and select the conversation.If you need a readable copy, export the history from the chat menu.
Use Telegram on a new deviceInstall the official client and follow the sign-in prompts.Complete the required verification to access your cloud chats.

If the client unexpectedly asks you to sign in, check whether you launched a different portable copy or switched OS user accounts. Do not merge two data folders or send files to an online parser. A chat export is for reading; it cannot be used to sign in.

A blue mascot draws back the curtain of a pale green theater to watch a paper-puppet show. The prop box beside it stays closed.

Quit the client and make an encrypted backup

  1. Confirm the active Telegram account in the client. Record the installation source, data path, and backup date. Do not include login codes, your two-step verification password, or the passphrase for the encrypted drive.
  2. Quit the client from its menu, then check your system’s process list to confirm it is no longer running. Closing the window may leave it running in the background. If a file is reported as in use during copying, stop the copy, quit the client, and start the copy again.
  3. Unlock an encrypted external drive you control, create a separate dated folder, and copy the entire tdata folder into it. Do not move the original or overwrite an earlier backup. If space is insufficient, use another drive rather than deleting files from the backup.
  4. Keep the client closed while you compare the source and backup. Check that relative paths, file counts, and byte totals match. To verify the contents, compare hashes for each pair of files locally. If they differ, copy again. Do not upload the folder to a verification site. Safely eject the drive and store its passphrase separately.
In a pottery workshop, a blue mascot weighs two nested-jar sets on a balance scale. A padded case with a lock stands nearby.

Respond to an exposed backup and run a final check

If you send a copy to the wrong recipient or lose the drive, open Settings → Devices on a trusted device, review the sessions, and terminate any suspicious ones. If you cannot tell which session is affected, terminate all other sessions. Enable two-step verification and check your recovery email. Changing a password is not a substitute for terminating sessions. For sign-in problems, check the official Telegram FAQ. If the issue persists, contact Telegram Support.

  • Confirm the original is still in place and the backup is verified, encrypted, and stored offline—not on a shared drive or in an automatically synced folder.
  • Manage your local passcode, backup passphrase, and account’s two-step verification password separately. When reviewing verification settings, see the two-step verification tool.
  • Do not use a backup to hand over an account. Buying, selling, or transferring accounts may violate platform terms and lead to restrictions. For order-related coverage, see the warranty policy.