Proxy for Telegram: How to Set Up SOCKS5 on Desktop and Mobile

Telegram has proxy support built in, so you do not need a VPN for the whole phone. Here is how to add a SOCKS5 proxy on every device, how it compares with MTProto, and how to fix the endless 'Connecting…'.

By Sofia HartmannUpdated: 3 min read
Proxy for Telegram — SOCKS5 proxy with server, port, username and password in Telegram settings

A proxy for Telegram routes only Telegram's traffic through another server, instead of sending your whole device through a VPN. Telegram has proxy support built in: you add a SOCKS5 server with its port, username and password under Settings › Data and Storage › Proxy, switch it on, and the app connects through it.

People use a Telegram proxy to keep the app reachable on networks that block or slow it, to give a work account its own IP and location, or to keep Telegram's connection separate from the rest of their traffic. This guide shows the setup on every platform and how to fix the most common problems.

SOCKS5 or MTProto?

SOCKS5MTProto proxy
What it isA general-purpose proxy protocolTelegram's own proxy protocol
Works withTelegram and any other app or browserTelegram only
LoginUsername and passwordA secret key
Location choicePick the exact country and type you needDepends on who runs the server

A SOCKS5 proxy you buy is private to you, works in Telegram on every platform and can also be used in your browser or other tools. If you want to know more about the protocol, read SOCKS5 vs HTTP proxy.

Key takeaway: Telegram supports SOCKS5 with username and password on Android, iPhone, Windows, macOS and Linux. One proxy works on all of them.

Which proxy type to choose

  • Static ISP — one fixed IP that looks residential. Best when the same Telegram account should always appear from the same place.
  • Datacenter IPv4 — fast and inexpensive. Fine if you only need a reliable route for Telegram.
  • Mobile 4G/5G — carrier IPs, natural for a phone app.
  • Avoid per-request rotation — Telegram keeps a long connection open; a changing IP causes reconnects.

Not sure which to buy? Our comparison of residential vs datacenter proxies explains the trade-offs.

Set up a SOCKS5 proxy in Telegram on Android

  1. Copy your proxy details — host, port, username and password from the mistPROXY dashboard.
  2. Open settings — Telegram › Settings › Data and Storage › Proxy (sometimes called Proxy Settings).
  3. Add a proxy — choose SOCKS5 and fill in server, port, username and password.
  4. Save and enable — turn on "Use proxy". The status at the top should change from "Connecting…" to normal.

On iPhone

  1. Open Settings › Data and Storage › Proxy in Telegram.
  2. Tap Add Proxy, choose SOCKS5 and enter server, port, username and password.
  3. Save and switch it on. A shield icon next to the chat list shows the proxy is active.

On Telegram Desktop (Windows, macOS, Linux)

  1. Open Settings › Advanced › Connection type (on some versions: Settings › Data and Storage › Proxy).
  2. Choose "Use custom proxy" and add a SOCKS5 proxy with hostname, port, username and password.
  3. Save. The proxy list shows "online" and a ping time when it works.
Tip: you can add several proxies and Telegram will show which ones are online. Keep a second proxy in another country as a backup, and switch with one tap if the first is unavailable.

"Connecting…" forever? Fixes

  • Wrong type — make sure SOCKS5 is selected, not HTTP or MTProto.
  • Typo in the login — paste the username and password again; they are case-sensitive.
  • Wrong port — use the exact port shown in your dashboard.
  • Proxy offline — test it in a browser first; see proxy server not responding. A proxy that is dead on arrival is replaced by support.
  • Network blocks the proxy port — try a proxy in another country or of another type.

What a proxy does not do

The proxy changes the IP and location that Telegram's servers see; it does not change your phone number or make your account anonymous. Telegram's own privacy settings — who can see your number, last seen, profile photo — still matter. Use a proxy within Telegram's terms of service and the law where you live.

Important: do not use free public proxies from random channels for Telegram. Whoever runs them can see connection metadata and may disappear at any time. A proxy with your own login is private to you.

Get a proxy for Telegram

Check proxy types and prices in the pricing section and the steps in how it works. Then create a free account, top up with crypto and add your proxy to Telegram in a minute. Need help? We are on Telegram at @mistnetwork.

Frequently asked questions

Does Telegram support proxies?
Yes. Telegram has built-in support for SOCKS5 and MTProto proxies on Android, iPhone and desktop, under Settings › Data and Storage › Proxy.
Is SOCKS5 or MTProto better for Telegram?
Both work. A SOCKS5 proxy with your own username and password is private to you, lets you choose the country and also works in other apps.
Which proxy type is best for Telegram?
A static ISP or datacenter proxy that keeps the same IP. Avoid proxies that rotate the IP on every request, because Telegram keeps a long-lived connection.
Why does Telegram keep showing Connecting with a proxy?
Usually the type is not SOCKS5, the port is wrong or the username and password were mistyped. Re-enter the details or test another proxy.
Does a proxy hide my Telegram phone number?
No. It only changes the IP address Telegram sees. Use Telegram's privacy settings to control who can see your number.

Related articles

Latest articles

All articles