TG Stock

Telegram account logged out or asks for a password: what to do

What to do when a Telegram account logs out, asks for a 2FA password or gets no code: common causes, how to prevent it and how to open a ticket.

By TG Stock team · Updated · Ler em português

If your Telegram account logged out, asks for a password you never set, or does not receive the login code, the cause is almost always one of these: the same session was used in two places at once, the delivered session was terminated before another one existed, someone who was still signed in turned on two-step verification (2FA), or the account got a spam limitation. Each case has its own path, and some have a simple fix.

This guide shows how to recognize each situation, what to do next and, above all, how to prevent it. If you bought the account at TG Stock and it had a problem, you can also open a ticket on the order page within 24 hours of delivery. One important point up front: the store does not hold anyone's 2FA password and does not promise to recover a lost account, so prevention is what matters most.

First of all: do not terminate anything else

When something goes wrong, the usual reaction is to start terminating sessions and trying again. Hold off. You do not have the SIM card for the number, and the login code arrives inside Telegram, in the official "Telegram" chat (777000), on an open session. If any session is still working, on your phone, your computer or in a script, that is your way back in. Keep it active while you sort out the problem.

Common causes and how to spot them

1. The same session was used in two places

Each Telegram session is meant to be used in one place. If you open the same StringSession, the same .session file or the same Telegram Desktop folder on two devices or programs at the same time, especially from different connections, Telegram may drop that session. Sometimes both copies go down.

How to spot it: the account was working, you opened the session somewhere else (a script, a second computer, a tool) and shortly after one copy, or both, stopped connecting.

What to do: if you still have another session of your own working, such as the app on your phone, use it. For each new place, do a separate login with the number and code instead of copying the same session.

2. The delivered session was terminated with no other one

If you terminated the delivered session, or used "Terminate all other sessions" on a device that later logged out as well, there may be no open session left. With no open session, the login code has nowhere to arrive.

How to spot it: you try to sign in with the number, Telegram says it sent the code to the app, but there is no logged-in app to read it.

What to do: check whether any device, program or file still has the account open. If you have the .session file or the Telegram Desktop folder from your order and that session is still active, it can be used to receive the code. If no session is active, there is unfortunately no other way to receive the code. See also where the login code arrives.

3. The account now asks for a 2FA password you did not create

The store checks each account before releasing it, and an account with a 2FA password turned on is never sold. If after delivery the account started asking for a password you did not set, someone who still had an open session turned on two-step verification. This happens when the old sessions were not terminated and 2FA was not turned on right after receiving the account.

How to spot it: when signing in on a new device, after the code, a screen asks for a password, with a hint you do not recognize.

What to do: if you still have one of your own sessions open, go to Settings > Devices and look at which sessions are active. Without the password and without access to the recovery email on file, there is no way past that screen on a new device, and the store does not have that password either.

4. The 2FA password is yours, but you forgot it

If you turned on 2FA yourself and forgot the password, use the forgot password option on the login screen. Telegram sends a code to the recovery email you registered. That is why adding your own email when you turn on 2FA is so important.

5. The account is still signed in but cannot send messages

This is usually a spam limitation, not a logout. The account stays signed in but cannot message people who are not in its contacts. To check, open a chat with @SpamBot and send /start: it tells you whether the account is limited. Sending lots of messages to strangers, adding many people to groups and getting reported lead to this. The guide on Telegram spam limits explains how to avoid it.

6. The login code does not show up

If you have an open session but the code does not appear, check the "Telegram" chat (777000) there. The store's order page also has a button that shows the login code that arrived in that chat in the last few minutes, as long as the delivered session is active.

How to keep the account from logging out

Almost every case above is prevented by the same routine, done right after you receive the account:

  1. Sign in on your own device and confirm it works. The steps are in how to log in to a purchased Telegram account.
  2. Turn on two-step verification in Settings > Privacy and Security > Two-Step Verification, with a strong password, a hint and your own recovery email.
  3. Terminate the old sessions in Settings > Devices, keeping yours and, if you use it, the delivered session in your script.
  4. Keep the order files somewhere safe.
  5. Use each session in one place only. For a second device, do a new login instead of copying the session.

A rule from Telegram itself can get in the way of step 3: a new session can only terminate other sessions after 24 hours. That is why the store tries to terminate the old sessions at delivery and tries again about 25 hours later, ending only the sessions from before delivery (yours stay). Until then, 2FA is your main protection, so turn it on first. The details are in how to secure your Telegram account.

In accounts marked "Protegida pela TG Stock" ("Protected by TG Stock"), the store already turns on 2FA at delivery and shows the password in your order; the routine applies just the same.

How to open a ticket with the store

If an account you bought at TG Stock had a problem, open a ticket on the order page itself (the store is in Portuguese, so the labels there are in Portuguese):

  1. Sign in to your store account and open the order from your orders list.
  2. In the card about a problem with the account, choose what happened.
  3. Write a clear description: what you did, when, and what appeared on screen.
  4. Attach photos or videos that show the problem, such as the error screen or the password prompt.

The deadline is 24 hours after delivery. After that, the button is disabled. On the same page you can follow the ticket status and the store's reply.

Remember the guarantee rule: the store only guarantees and refunds an account if, right after receiving it, you terminate the old sessions and turn on 2FA. If the store confirmed at delivery that the account had no 2FA and a password was turned on later, while the account was already with you, that is not a defect of the delivered account.

What the store can and cannot do

  • It can: show the login code that arrived in the last few minutes, terminate the sessions from before delivery, review the ticket and, when it applies, return the amount to your balance.
  • It cannot: give you a 2FA password (the store does not turn on 2FA on customer accounts and holds no one's password), receive SMS for the number, or promise to recover an account that was left with no open session.

Summary

When the account logs out, do not terminate anything else and look for a session that still works. Find the cause: a session used in two places, the delivered session terminated too early, 2FA turned on by someone still signed in, or a spam limitation. To avoid all of this, turn on 2FA and terminate the old sessions right after receiving the account, use each session in one place only and keep the files. If it happened with an account from the store, open a ticket on the order page within 24 hours. And if you are choosing a new one, see the Telegram accounts by country.

Read next