An acquaintance writes: "Please vote for my daughter in a drawing contest! You just need to scan a QR in Telegram." You open the scanner, point the camera, Telegram asks whether to confirm a sign-in — and you confirm: you are voting, after all.

There was no vote. There was a Telegram Web sign-in screen on someone else's computer. You have just let your own account in: chats, contacts, the right to message as you. And your acquaintance was most likely hijacked the same way five minutes earlier.

A login QR code is a key. It is handy when the screen is yours and dangerous when the code was sent to you.

1 scanner
Links devices: Settings → Devices → Link Desktop Device. For your own screen only.
24 hours
A new session cannot end other sessions. Remove an intruder from an older device.
0 votes
Require scanning a QR in Telegram. If asked to — it is a takeover.

In short

What you are allowing

Scanning a QR in Telegram links a new device to your account. Once confirmed, the browser:

  • sees your cloud chats — private chats, groups, channels, Saved Messages;
  • can message as you;
  • stays connected until you end the session.

Secret chats do not carry over to Web — they live only on the devices where they started.

Careful

The QR takeover scheme

Warning

If you are asked to scan a QR in Telegram

  • "Vote in a contest", "claim a gift", "confirm your entry", "verify your account" — all of these disguise a sign-in screen.
  • Telegram's scanner links devices; it does not open websites. Any QR you point it at is an attempt to sign in to your account.
  • Did the request come from someone you know? Their account may have been hijacked the same way. Ask them by phone.
  • Scan only a code shown on your own screen, where you yourself opened Telegram Web.

Step by step

How to sign in safely

You need a computer you trust and a phone where you are already signed in to the right account. The phone needs the camera, not the computer.

  1. On the computer, open telegram.org/apps yourself and choose the official Telegram Web — version A or K. Check the address bar. Do not open a link from an ad, and do not scan a QR picture someone sent you.
  2. Wait for the QR code screen. If the browser already shows someone else's account, use a different browser profile.
  3. On the phone, open Settings → Devices → Link Desktop Device. The label may vary slightly.
  4. Point the scanner at the code on your screen. Read the request and confirm only a sign-in you started yourself.
  5. If Web asks for your cloud password, enter it. It is Telegram's two-step verification password, not your phone's unlock code. QR sign-in does not remove it.

A private browser window does not protect you from malware on someone else's computer. If you need to open one document on an unfamiliar device, it is safer to pass the file itself than to open all your chats there.

Open the official web client yourself, approve login on your own device and inspect the new session.
Read the diagram from left to right. Open the official web client yourself, approve login on your own device and inspect the new session.

The result

Check you signed in to the right place

There will be no secret chats in Web — that is normal, not a sign-in failure.

Sorting it out

If it does not work

What you see

What to do

The QR expired or was already used

Wait for a new code or refresh the page. Scan a fresh code, not an old picture

The scanner cannot see the code

Allow Telegram camera access, wipe the lens, fit the whole code in the frame

The code was accepted, but chats did not open

Check whether Web is waiting for the cloud password. Check both devices are online

A blank screen instead of the page

Update the browser and check JavaScript is allowed for the official site. Do not turn off browser protection entirely

No phone with the account open

QR will not work. Sign in by number or with a passkey if you set one up

Signing out

How to end a temporary sign-in

Closing the tab is not signing out. The session stays active.

  1. On the phone, open Settings → Devices.
  2. Choose this specific web session and end it.
  3. Refresh the list and check the entry is gone. A refreshed Web page should ask you to sign in again.

Downloaded files stay on the computer after signing out. Check the downloads folder separately: ending the session stops access, but does not remove what was already copied.

Example

Worked example: a work document on your own laptop

You opened the official Telegram Web on your personal laptop, confirmed the sign-in with your phone and saw the test note in Saved Messages on both devices. You downloaded the document, finished working and ended the web session from your phone. After refreshing, Web asks you to sign in again. Job done: temporary access, the document saved, the session ended.

Emergency

If you confirmed someone else's code

  1. End the unknown session at once in Settings → Devices from your long-connected phone. A new session cannot end other sessions for its first 24 hours — so act from the older device and do not sign out of it.
  2. Turn on or change your cloud password — but only after you have removed the intruder's session. Changing the password alone does not end it.
  3. Warn your contacts through another channel if messages are already being sent as you.

The full procedure is in "Telegram account hacked".

Questions

Is it safe to scan a QR code in Telegram?

Only if the code is shown on your own screen, where you opened Telegram Web yourself. Any QR sent to you is an attempt to sign in to your account.

Do I need my cloud password when signing in by QR?

Yes, if it is turned on. QR sign-in does not skip two-step verification.

Will closing the tab sign me out?

No. The session ends only in Settings → Devices or with the log-out button in Web itself.

Why are there no secret chats in Telegram Web?

They are stored only on the devices where they started and do not carry over to a browser.

What if I scanned a QR "to vote"?

End the unknown session in Settings → Devices from your older phone straight away, and follow the article on hacked accounts.


QR sign-in is a fast and safe way to open Telegram on a computer — as long as the code is yours. Telegram's scanner links devices to your account, and that is all it does.

So the rule is simple: point the scanner only at your own screen. And when you finish on someone else's or a shared computer, end the session from your phone — the tab does not count.