TGDesk
Language, current: English

Home › Blog

Telegram active sessions: check devices and log one out

Updated · TGDesk

Short answer: open Settings > Devices, also listed as Privacy & Security > Active Sessions. The stolen-phone answer says to terminate the session on the old device from that screen, which is how you log out the other device. account.getAuthorizations returns the logged-in sessions for the account you have open. The devices answer says you can log in on as many devices as you like at the same time, using your main mobile phone number, and cloud chats sync. Ending a session logs that device out. It does not delete the account, and it does not remove another phone number from the app's account switcher. Logging out keeps cloud messages.

Three steps: select the account, open Settings then Devices, and end an unfamiliar session.
Conceptual diagram, not a Telegram screenshot. Device names and menu labels can vary.

How to check an unfamiliar device

  1. Choose the account first. If you use several numbers, switch to the account whose login you want to review.
  2. Open Settings → Devices. Compare the app, last activity and location with devices you recognise. Telegram derives country and region from the IP address; a location alone is not proof of who logged in.
  3. End the session if it is unfamiliar. If a phone was lost, Telegram's stolen-phone guidance also recommends two-step verification and contacting the mobile provider to block the old SIM.

Cloud messages remain when a session logs out, but Secret Chats on that device are lost. If a newly signed-in device cannot terminate another session, Telegram's API documents a fresh-session restriction; use an existing trusted session if available and follow the message in the app.

What a session is

On core.telegram.org/api/auth, authorization is the client's encryption key id, auth_key_id. account.getAuthorizations returns that user's sessions: a time-to-live in days, and one authorization each. A record has a hash, device model, platform, system version, app name and version, created and last-active times, the last IP, and country and region from that IP. Flags mark the current session, an official app, a pending two-step password, whether encrypted chats and calls are accepted, and an unconfirmed session.

The 8 April 2015 post put Active Sessions under Privacy and Security: devices with IP info, and a way to close an outdated or suspicious session. The FAQ, checked 26 October 2026, calls that screen Settings > Devices, or Privacy & Security > Active Sessions.

Cloud chats open on any of your devices. Secret chats do not. The FAQ says a secret chat stays on the device where it started and is tied to that login. Logging out drops it there, not on the other person's device. Clear history first if you want the other copy gone.

End one session, or all the others

If a phone is gone and Telegram is still open elsewhere, the FAQ says to turn on two-step verification, then terminate the old session, at Settings > Privacy and Security > 2-Step Verification. Login then needs an SMS code and a password. A passkey, under Settings > Privacy and Security > Passkeys, can stand in for SMS; you can still request an SMS code, and an extra password, if set, is required every login. The 2015 post says forgetting the password blocks messages on other devices. Set a recovery email, or at least a hint. See two-step verification.

account.resetAuthorization logs out one session by its hash. auth.resetAuthorizations ends every session except the current one. That page says the current device must then be registered again with account.registerDevice for push. Both can return 406 FRESH_RESET_AUTHORISATION_FORBIDDEN if less than 24 hours have passed since you logged on the current session. A bad hash on account.resetAuthorization is 400 HASH_INVALID. The stolen-phone steps do not mention that wait. account.setAuthorizationTTL sets the current session's lifetime in days. Allowed counts are not printed. A bad value is TTL_DAYS_INVALID, and the same 24-hour error is listed. That timer is not terminating a session.

Logging out this app

The FAQ says most people need not log out: the same number can stay on many devices, cache clears under Settings > Data and Storage > Storage Usage > Clear cache, and phone numbers can be switched without logging out. A shared device gets a passcode under Settings > Privacy and Security instead.

To log out this app, iOS uses Settings > Edit > Log out. Android and Telegram Desktop use Settings > … at the top right > Log out. Cloud messages stay. Secret chats on this device do not. auth.logOut may return a future_auth_token. The auth page says a client should keep at most 20 and should send them with the next auth.sendCode. A match that has not expired skips a new code if two-step verification is off, and still requires the password if it is on. Deleting the account is separate. The FAQ's deactivation page removes messages and contacts permanently, cannot be undone, and confirms with a code inside Telegram, not by SMS.

Each account has its own list

The FAQ says each phone number is its own account. One app can hold several and switch without logging out. On 30 December 2017, Android 4.7 could add up to three accounts, switch them from the side menu, and notify for all of them unless you change that. The FAQ checked on 14 October 2026 does not print a current cap. See the account limit, desktop multi-account workflows, and managing several accounts.

Devices shows what account.getAuthorizations returns for the user you are signed in as. Open the other account, then Devices, to see the other number. Ending a session logs that client out of that account only. It does not delete the account and does not drop a different number from the switcher. Who sees your number and last seen is a different screen: phone number and last seen.

TGDesk is an independent, local-first desktop app, paid, with an unsigned Windows ZIP on the home page, and not an official client. It puts several accounts in one inbox, stores each session encrypted on the computer, and does not bypass Telegram's limits. Each account's device list stays in Telegram's own settings.

A new login, and what remains

Other sessions receive updateNewAuthorization. If the session is unconfirmed, the app should ask whether you recognize it. Yes confirms it with account.changeAuthorizationSettings. No logs it out with account.resetAuthorization. With no answer, the auth page says it is confirmed after authorization_autoconfirm_period seconds. The client configuration default for that key is 604800, used when the live config omits the key.

auth.sentCodeTypeApp sends the code as a service message to the other sessions. The FAQ says account login codes arrive in the service chat named Telegram and should not be shared. The auth page says the servers invalidate a code you forward or send into another chat. Cloud chats stay on devices that are still logged in. Secret chats that lived only on the ended session do not, and the other person's copy is not removed by the logout.

Sources

The menu path and the logout note were checked again on 26 October 2026. The API field notes on this page were checked on 14 October 2026.

FAQ

Does every account in the app share one device list?

No. The FAQ says each phone number is a separate account, and that you can switch accounts without logging out. account.getAuthorizations returns logged-in sessions for the user of the current authorization. Open the other account, then Settings > Devices, to see that number's sessions.

Does ending a session remove that account from the app?

No. Terminating a session logs that device out of the account you have open. It does not delete the account, and it does not take a different phone number out of the app's account switcher. Deleting an account is the deactivation page. The FAQ says that permanently removes your messages and contacts and cannot be undone.

Do cloud chats disappear if I terminate another device?

No. The FAQ says logging out keeps your cloud messages. Secret chats are not in the cloud: they exist only on the device where they were started, and logging out loses them on that device. Logging out does not delete them on the other person's device unless you clear history first.

Why can a new login refuse to end other sessions?

account.resetAuthorization and auth.resetAuthorizations can return error 406, FRESH_RESET_AUTHORISATION_FORBIDDEN, if less than 24 hours have passed since you logged on the current session. The same error is listed for account.setAuthorizationTTL. The FAQ steps for a stolen phone do not print a different wait.

Download for Windows (unsigned)

Free 3-day trial: open @tgdesk_app_bot and send /trial. Once per Telegram user, Personal-tier capability, 1 device.

Unsigned build. Windows SmartScreen can warn you: choose More info, then Run anyway. SHA256 · README. License: open t.me/tgdesk_app_bot and send /trial, /buy, or /mykey, then choose Activate in the app. The app checks the key at pay.tgdesk.app. Personal: 59.9 USDT or 3000 Stars, 90 days, 2 devices. Team: 143.76 USDT or 7200 Stars, 90 days, 5 devices. Team is a license for 5 devices, not shared agent seats, conversation assignment or a ticketing system.

Where to paste the key: Activate and bind this computer.

Optional waitlist

Join the waitlist

Optional. Only if we write to you about TGDesk.