This page is not translated into all languages.
Sign in

Telegram Proxy Setup Guide: How to Use Proxies with Telegram

  • Yinhao Lee
  • 19 minutes

Working Telegram proxy settings route the app through an intermediary proxy server. This guide explains how to use proxies with Telegram on every official client.

Telegram then sees the proxy’s IP address instead of yours. If an ISP blocks the service, the client may hang on “Connecting…”. A working proxy can restore chat access. It adds another data route around problematic network segments, bypassing local restrictions and outages. That makes it possible to send and receive messages despite a blocked or unstable connection.

How a Proxy Works Inside the Telegram App

Telegram sends its network traffic to the proxy first. That intermediary server forwards the request to the platform's infrastructure and returns the response to your app. Your account, chats, and login state stay the same. A shield icon marks the active proxy.

MTProto encryption protects messages, so the relay cannot read them. The proxy still sees your IP, destination, and connection timing. For privacy, use only an operator you trust. If you send a note from a café laptop, Telegram records the proxy's address, not the café network's.

When a Proxy Makes Sense (and When It Doesn't)

A Telegram proxy helps when the route is blocked, restricted, slow, or exposes your IP.

A student on school Wi-Fi may need one, while a home user on fiber may not.

Use one when:

  • Telegram is blocked or restricted, and a proxy can bypass a country, campus Wi-Fi, office, or ISP limit.
  • The network is unstable, and a nearer proxy can make Telegram chats load faster and more reliably in many cases.
  • You want your real IP away from Telegram, or users run several accounts that need separate proxy addresses.

Skip a proxy when:

  • The app connects cleanly, and users with no privacy need only add delay. Proxy routing can slow messages. Your ISP can see it, but not content.
  • The only choice is an unknown free server. Disable that proxy instead of trusting its operator with metadata.
  • You need every app protected, because this proxy setting covers one app. A VPN is the broader tool.

Telegram Proxy Types: SOCKS5, MTProto and HTTP

Telegram’s proxy menu differs by platform. Phones show two proxy types: SOCKS5 and MTProto, also called MTProxy. Telegram Desktop also lists HTTP, and each option opens a different form. The first needs an address, port, and sometimes credentials, while the second needs a secret string.

SOCKS5 Proxy: Server, Port, Username and Password

SOCKS5 is a general-purpose proxy protocol that Telegram supports natively. It routes app traffic through an intermediary and hides your IP from the service. The form asks for server address and port, plus optional username and password. This SOCKS5 proxy type carries Telegram chats, files, and calls, so one entry can cover the messenger.

  • Server: host name, such as proxy.example.com.
  • Port: numeric endpoint, often 1080 by convention.
  • Username: login name supplied by the provider.
  • Password: secret credential, stored with the access data in the app under the saved proxy entry.

Some SOCKS5 options need no login, while private endpoints require authentication. Copy the server details exactly, without extra spaces. If a restrictive network blocks the proxy port 1080, use the alternate port your provider gives instead.

MTProto Proxy (MTProxy): Telegram's Own Proxy Type

MTProxy is Telegram’s own proxy format. It runs the MTProto protocol with built-in encryption and obfuscation, helping users bypass censorship where Telegram is blocked or restricted. Because it carries only Telegram traffic, it is usually quicker for chats than a general-purpose proxy. SOCKS5 can carry many kinds of traffic and use a normal login. This format depends on a secret. A public link often includes that long secret string, shared in a channel for people in censored regions.

  • Server: host address of the proxy.
  • Port: listening port.
  • Secret: replaces username and password. Verify the source before saving.

Operators can also attach sponsored channels, which may appear at the top of the chat list. If you do not want promoted posts, use a private SOCKS5 endpoint instead.

Which Proxy Type Should You Choose?

Pick by the failure you expect, not by the easiest proxy link. The trade-off is control versus convenience.

  • SOCKS5: choose it when you have a private proxy with login and need a stable IP. It suits users managing separate accounts, but setup takes longer and reliability varies.
  • MTProto: choose it when Telegram is blocked and a trusted proxy link exists. It is easy to share, but sources differ on how well it resists filters.
  • HTTP: choose it only in Telegram Desktop. It is simple, but gives less privacy than an authenticated route.

Example: a freelancer with two accounts picks private SOCKS5. A traveler facing restrictions picks an MTProto proxy link.

Before You Start: What You Need for Telegram Proxy Setup

Before Telegram proxy setup, save a checklist note. Include host, port, and login for the proxy server. Update your Telegram app. Open Settings and find the proxy menu under Data and Storage, confirming the proxy protocol matches the app.

Proxy Details to Collect

Before opening Telegram, collect these server details. Keep them in a note nearby. A provider dashboard usually shows the address and port, plus login credentials. Copy each value exactly, with no leading or trailing spaces.

  • SOCKS5: host, port, and username and password if the proxy is private. Common ports include 1080, 1085, or 1090.
  • MTProto: host, port, and secret supplied by the proxy service. The secret is not your account password.
  • Link: a tg://proxy or t.me/proxy URL can fill these fields for you.

Update the App and Find the Proxy Menu

Update Telegram before changing proxy options. Recent builds patch security flaws, and an outdated app can hide the Add proxy button.

  • Android: install updates from Google Play Store, then open Settings > Data and Storage.
  • iOS: update from the App Store, then use the same proxy menu path.
  • Telegram Desktop: get the latest build from the official site, then open Settings > Advanced > Connection type.

Labels can differ slightly between versions. If the entry is missing, install pending updates, restart the client, and check the menu once more before setup.

How to Set Up a Proxy in Telegram on Android

On Android, open Telegram, then tap Settings > Data and Storage > Proxy Settings > Add Proxy. Enter the server details, save, and the app tests the connection. A Samsung user can usually finish this Telegram proxy setup in under a minute.

Add a SOCKS5 Proxy on Android Step by Step

This setup uses the built-in Android menu. Keep the proxy details nearby.

  1. Open Telegram and tap the menu.
  2. Go to Settings > Data and Storage.
  3. Scroll to Proxy Settings and turn on Use Proxy or tap Add Proxy.
  4. Choose SOCKS5 for Telegram.
  5. Enter the host and port. Type the username and password if your provider requires them.
  6. Tap the checkmark or Save in settings.
  7. Select the saved proxy to activate it.

Example: host socks.example.com, port 1080, plus login credentials. The app tests the proxy and shows a status. The first connection may take a few seconds. Connected means the app reached Telegram through this SOCKS5 proxy. Connecting means the connection is still being checked. If it remains there, the credentials, port, or network may be wrong. The Use proxy for calls toggle sends calls through the same SOCKS5 proxy. Leave it off first if voice breaks.

The list keeps every saved proxy. Select the active one whenever you return. A fresh entry may show Checking before it becomes Connected. If the banner stays in the chat list, Telegram has not been reached. That usually points to a blocked network, dead server, or wrong port.

Add an MTProto Proxy on Android

On Android, use the same Telegram menu, but select MTProto. This type uses a server, a port, and a secret instead of a username and password.

This key is usually a long string supplied by the operator.

  1. Open Telegram Settings, then Data and Storage.
  2. Turn on the proxy toggle or tap Add Proxy.
  3. Choose MTProto.
  4. Enter the host, port, and unique secret. For example, paste the copied code from a channel post. Manual MTProto entries often use port 443.
  5. Save it and check the connection status.

You can also tap a proxy link in a chat or browser. Telegram then opens the add-proxy dialog with fields already filled. Menu names may vary slightly by app version. If the status remains unavailable, recheck each character and remove stray spaces. Copy each value exactly, including dashes, before saving.

Telegram Proxy Settings on iPhone (iOS)

On iPhone, open Settings > Data and Storage > Proxy > Add Server. Telegram for iOS supports SOCKS5 and MTProto proxies, not HTTP. An iPhone user can set this Telegram proxy before logging in under restrictions.

Add a SOCKS5 Proxy on iPhone

  1. Open the Telegram app on your iPhone.
  2. Tap Settings, then open Data and Storage.
  3. Scroll to the Proxy screen and tap Add Server.
  4. Select SOCKS5 as the proxy type.
  5. Enter the host, port, username and password without extra spaces.
  6. Tap Done so the app saves this server.
  7. Turn on Use Proxy and watch the connection status beside the saved entry.

If the entry is marked Connected, the route works. If it stays on Checking or shows unavailable, reopen the SOCKS5 fields and verify each value. The connection line appears next to the saved server. This status is the fastest way to confirm that Telegram accepts the new settings after saving it. Avoid changing the proxy while the status is checking.

Add an MTProto Proxy on iPhone

On iPhone, choose MTProto on the same Add Server screen. The iOS app needs three values: server, port, and secret. Copy the secret exactly.

  1. Open Telegram, then Settings → Data and Storage → Proxy → Add Server.
  2. Select MTProto.
  3. Enter the server, port, and secret, then tap Done.
  4. Turn on Use Proxy and wait for the connected status.

If you tap a shared proxy link in Safari, Telegram can open with these fields filled. Confirm the server before saving. If the source is unknown, do not save it.

Telegram Proxy Settings on Desktop and Web

Telegram Desktop on Windows and macOS keeps proxy settings inside the app. Telegram Web instead uses the browser proxy, which suits a remote worker’s company laptop when proxy changes are restricted.

Telegram Desktop on Windows

The default Use system proxy settings option follows Windows. That route handles only HTTP. For SOCKS5, configure Telegram directly. This keeps it separate from other programs. Restart the client if the proxy change does not apply.

  1. Open Telegram Desktop.
  2. Select Settings, then open Advanced.
  3. Open Connection type, then choose Use custom proxy.
  4. Choose Add.
  5. Pick SOCKS5, HTTP, or MTProto.
  6. Enter host, port, login or secret, then save.

For example, choose the custom option and add a private proxy for the desktop client. If the connection status stays on checking, reopen the app. Remove unknown proxy servers. Also copy each value without spaces. The saved proxy remains in the list. You can switch it off later without deleting it.

Telegram for macOS

  1. In the native macOS Telegram app, open Settings → Data and Storage.
  2. Select Use Proxy, then pick the proxy type supported by that version.
  3. Enter the SOCKS5 address, port, and login details, or paste the ready link.
  4. Save the entry, turn it on, and confirm the status changes to connected.

Telegram Desktop on Mac follows Advanced → Connection type instead. macOS also has a separate system SOCKS proxy field under System Settings → Network → [connection] → Details → Proxies. Changes there apply with OK. Desktop menu labels can differ slightly between versions. Use the system option only when the whole Mac should share one route. If the client was already running, restart it after changing the route.

Telegram Web in a Browser

Telegram Web has no built-in proxy menu. It uses the browser or system settings. Every tab in that session follows the same route. For example, open web.telegram.org in a Chrome profile behind an HTTP proxy. The sign-in prompt appears for the username and password. It does not fill proxy fields inside Telegram apps.

  • HTTP option: the simplest protected choice in Chrome.
  • SOCKS5 through a local tool: use software that handles authentication before passing browser traffic.
  • Anti-detect browser: useful for users who need separate authenticated profiles.

If the login prompt never appears, the proxy may be dead or that Chrome setup may ignore it. Test one browser configuration at a time.

One-tap proxy setup is the fastest option. Paste a tg://proxy or t.me/proxy link into Saved Messages, tap it, and Telegram opens the proxy form for MTProxy or SOCKS5 already filled. Confirm, and Telegram tests the proxy server connection before saving it.

Telegram supports proxy links such as tg://proxy?server=...&port=...&secret=... and https://t.me/proxy?.... For SOCKS5, use https://t.me/socks?server=...&port=...&user=...&pass=.... It can include login and password. An MTProto link carries the server, port and secret.

  • Format: a shareable proxy link.
  • What it fills: Telegram opens the proxy form with the details ready.
  • Confirm: check the server before trusting it, then enable the proxy.

A proxy link hands your Telegram traffic to someone else’s server. Telegram advises connecting only to sources you trust. The operator cannot read encrypted messages, but can see your IP and connection timing.

  • Do not accept random links. A stranger’s “free fast proxy” in a group chat or DM may route traffic through an unknown server.
  • Check before saving a proxy. Review the server and port, then remove proxy entries you do not recognize. This protects privacy and users from metadata logging.

Set a Proxy Before You Log In to Telegram

If Telegram is blocked on the current network, the login screen can stall before the code arrives. Open Telegram and use the proxy option shown there. This keeps your real IP address out of the first login request. Telegram then sees the proxy IP, not yours. It also helps privacy when the connection is restricted.

  1. Tap Proxy Settings on the start screen.
  2. Choose Add Proxy.
  3. Select SOCKS5 or MTProto.
  4. Enter the server details exactly.
  5. Save the proxy, return to the login screen, and log in through the proxy.

For example, with a new SIM in a country where Telegram is blocked, this lets the app receive the SMS code. The same proxy menu later stays available in Settings.

How to Check That Your Telegram Proxy Is Working

Check the Telegram proxy status line for Connected before trusting the proxy connection. Then send a Telegram message and confirm that proxy replaced your normal network IP address.

Read the Connection Status and Ping

In proxy settings, the status line shows whether the current connection reaches Telegram.

  • Connected: the route is active. A green circle and a ping such as “120 ms” normally appear. Lower ping usually means faster response.
  • Checking: the app is still testing the saved server.
  • Unavailable: the server did not respond. The connection failed.

A “Connecting…” banner at the top of the chat list means the app has not connected yet.

Send a Test Message

Send a short note to Saved Messages. Then attach a small photo. If the message leaves with one check, the proxy route works. The image should load normally. If messages stay stuck on “Sending”, repeat the same test once more on active mobile data. That separates a restricted Wi-Fi network from a likely failing proxy before you blame Telegram itself.

Confirm the IP Change

Before enabling the proxy, note your normal address on IPInfo. Telegram does not display your IP. Confirm the proxy route through your provider dashboard or Active Sessions after login. Web users can open an IP geolocation checker in the same browser profile.

  • In Active Sessions, compare the shown IP address and location with your home network.
  • This check covers browser traffic only, not the mobile app.

How to Switch, Disable or Remove a Telegram Proxy

Telegram saves each proxy, so you can switch by tapping another entry. Disable the proxy toggle at home, enable it when travelling, or remove saved Telegram entries.

Disable the Proxy Without Deleting It

To disable a proxy without deleting it, disable the entry instead of removing it. With the switch off, Telegram stops routing through it. This keeps the configuration ready for later.

  • Android or iOS: Turn the Settings toggle for Use Proxy off
  • Telegram Desktop: Set Connection type to Don't use proxy
  • Saved entry: Remains available to enable again

For example, disable it on home Wi-Fi if video calls slow down. Re-enable the same proxy when you leave.

Delete a Saved Proxy

Remove entries you no longer trust. Deleting also prevents accidental reconnection. If you only want to stop routing, disable the active toggle instead.

  • Android: tap the three dots beside the proxy, then choose Delete.
  • iOS: swipe left on the row, then tap Delete.
  • Telegram Desktop: open proxy settings, select the item, and remove it.

To switch, tap another saved server. This keeps the app list clean. For example, after switching to a private server, delete the old free public proxy so you do not reuse it later.

Troubleshooting: Telegram Proxy Stuck on "Connecting..."

A stuck Telegram connection usually means the app cannot reach the proxy server. Telegram can mark a proxy Unavailable after network changes. Check the proxy route and credentials first.

Wrong Address, Port or Credentials

Authentication failures often come from tiny proxy details. Fix the connection by re-entering each value. For example, a copied password with a trailing space breaks authentication even when every visible character looks right.

  • Check the proxy server address for missing dots, swapped letters, or stray characters.
  • Confirm the port matches your proxy type, especially SOCKS5 versus MTProto.
  • Retype the username and password and delete hidden spaces before or after them.
  • In Telegram settings, verify the saved entry uses the correct proxy connection mode.

The Proxy Itself Is Dead or Blocked

A public MTProto link can work one week and become blocked the next. A proxy is only an extra route. That route can still be shut down. Free endpoints get blocked, overloaded, or removed. Filters in restricted networks also find popular routes quickly. Telegram may stay stuck even when the app settings are correct.

  • Test SOCKS5 or HTTP details with a free online proxy checker before blaming the app.
  • Switch to another saved server or ask the provider for current access.
  • Replace expired MTProto links from a trusted source. Obfuscation and sponsored channels vary by operator.

Works on Wi-Fi but Not on Mobile Data (or the Reverse)

If a SOCKS5 proxy works on mobile data but fails on office Wi-Fi, the network may block the port or protocol. This usually means the local route filters traffic, not the saved credentials. Your IP is still visible to the operator, so use only trusted endpoints.

  • Change the port, or test another proxy type to see whether the connection survives.
  • Try a different network, because an ISP can restrict specific routes while mobile data stays open.
  • Disable a VPN or system forwarding rule that can conflict with the Telegram connection.

Slow Messages or Dropped Calls Through a Proxy

Slow delivery usually comes from the connection path, not your Telegram account. A shared server can become congested when many users occupy it at once. A distant location also raises ping. For example, voice messages may stall while 40 people share one free proxy.

  • Move closer: pick a server in a nearby region.
  • Toggle call routing: turn “Use proxy for calls” off if voice drops.
  • Compare: disable that route briefly and send the same messages again.

Is It Safe? Free Public Proxies vs Private SOCKS5

Safety depends on the proxy server operator. An unknown public proxy can hide your Telegram IP while logging users. Free proxy list entries often die within hours, so Telegram privacy requires trusted, stable proxy sources for account safety.

The Risks of Free Public Proxies

Free public proxies look convenient, but the operator controls the route. If you connect a sensitive Telegram account, the privacy cost can be immediate.

  • Your real IP address is visible to the proxy owner.
  • Metadata and connection timing can be logged, weakening privacy for users.
  • Sponsored channels may be forced into your chat list.
  • Many users share them, so they become slow, blocked, or vanish.

For example, a public proxy can drop mid-conversation. Telegram keeps showing failed messages, and you may lose access until another server appears. Use unknown proxies only for casual chats. For work, payments, or private data, choose a trusted proxy source.

What to Look for in a Private SOCKS5 Proxy

  • General-purpose proxy protocol: works in mobile apps.
  • Protected login: the proxy requires credentials, not open access.
  • Stable IP: helps logged-in accounts stay consistent.
  • Carrier-style exit: looks like ordinary phone traffic, with responsive support.

For example, a freelancer managing a client’s Telegram account needs a private proxy with the same mobile exit address daily. A changing public proxy can cause extra checks and hurt privacy. mobile SOCKS5 proxies for Telegram from OnlineProxy use real 4G/5G carrier connections through modems and SIM routers. They authenticate with username and password and support HTTP and SOCKS5. The protocol does not encrypt traffic, so operator trust matters. For such accounts, a sticky proxy session with IP change by link or timer helps.

Proxy vs VPN for Telegram

A Telegram proxy routes only this app through a proxy server, leaving other apps on the normal connection. A VPN encrypts the entire device, giving broader privacy than a proxy.

Key Differences for Telegram Users

  • Scope: the proxy works only for Telegram. A VPN covers all apps on the network.
  • Split traffic: chats can use the proxy while video streaming stays on the normal network connection.
  • Privacy: a VPN gives broader protection, but users may find it heavier for simple messaging needs.

Can You Combine Them?

You can run a VPN and a Telegram proxy together, but they may conflict over the active route. Test each one alone first, since overlapping rules can break the connection or hide which layer causes the privacy issue. If chats fail only while both are on, disable the VPN and keep the proxy, then add the tunnel back to confirm.

Telegram Proxy FAQ

Common Telegram questions cover activation, disabling, safety, and proxy type choice. The answers explain what each setting changes. Review them before you connect, switch servers, or troubleshoot a failed proxy session.

Is it safe to use a proxy with Telegram?

Yes, but only as much as the proxy operator. Telegram messages stay encrypted, yet the proxy sees your IP and timing. Privacy depends on choosing a known provider with login over a random free link that may log or vanish before you trust it fully.

How do I activate a proxy in Telegram?

On Android, open Settings, tap Data and Storage, then choose the proxy screen. Add the server details, switch Use Proxy on, and wait for the status to show connected. The saved entry remains available for later use. On Telegram Desktop, use Advanced, then Connection type, and save your choice.

How do I disable the proxy in Telegram?

To disable it in Telegram, open Settings > Data and Storage and switch off Use Proxy. On Desktop, choose Don't use proxy under Connection type. If you returned to an unrestricted network, this stops routing through the extra server. The saved entry remains, so delete it only if unneeded.

Which is better for Telegram: SOCKS5 or MTProto?

MTProto is built for Telegram and resists blocking, so it suits a trip to a restricted country. SOCKS5 is general-purpose, supports login credentials, and fits users who need a stable private proxy for multiple accounts. Use the first for censorship. Use the second for controlled, long-term account use.

Conclusion: Your Telegram Proxy Setup Checklist

  • Pick the proxy type: SOCKS5 for private access, MTProto for blocked networks.
  • Add the proxy under Data and Storage in Telegram, or Connection type on desktop.
  • Confirm the proxy with Connected status and a test message, then disable or delete it.

Use this Telegram setup guide as a final check before you rely on the connection. A proxy only helps if the operator is trustworthy. Keep only trusted servers saved in the account.