Telegram has a proxy setting built into every version of the app. It takes a SOCKS5 proxy with a username and password, so you can send Telegram through a residential proxy and have it connect from a home connection in the country or city you choose, instead of from your own network.
This guide shows where the setting is on desktop, iPhone and Android, what to type into each field, and how SOCKS5 differs from the MTProto proxies you see shared online. It also covers the one detail that decides whether the setup feels smooth: keeping the same IP for the whole session.
SOCKS5, HTTP or MTProto: which one Telegram takes
Telegram lists up to three proxy types. They are not the same thing.
| Type | Where it works | Sign-in | Who offers it |
|---|---|---|---|
| SOCKS5 | Desktop, iPhone, Android | Username and password | Proxy providers, including Shifter |
| HTTP | Desktop only | Username and password | Proxy providers, including Shifter |
| MTProto | Desktop, iPhone, Android | A secret key | Servers built only for Telegram |
SOCKS5 is a general protocol. It passes Telegram’s own encrypted traffic through unchanged, works in every Telegram app and is what a proxy service gives you. If you want to know how it compares with HTTP for other tools, our guide to HTTP vs SOCKS5 proxies explains the trade-offs.
MTProto proxies exist only for Telegram. Someone runs an MTProto server and shares a link with a secret key. Most of the free “Telegram proxy” links online are of this kind. You do not know who runs them, how long they last or what they log, and a proxy provider does not sell them. This guide uses SOCKS5.
What you need before you start
Have four details ready. With Shifter’s Residential Proxies you find them in the dashboard.
| Field | Value |
|---|---|
| Server | p.shifter.io |
| Port | 443 |
| Username | your proxy username, with targeting and a session added |
| Password | your proxy password |
The server and port are the same for every location, and the location lives in the username. customer-USERNAME-country-de connects through Germany, and customer-USERNAME-country-us-city-new_york through New York.
Add a sticky session as well. Telegram keeps a few connections open all the time and reconnects when they drop. Without a session, each new connection can leave from a different IP, so the app jumps between addresses. A username such as customer-USERNAME-country-de-sid-tg1-ttl-3600 keeps the same IP for an hour.
How to add a SOCKS5 proxy in Telegram Desktop
These steps are for Telegram Desktop on Windows, macOS and Linux. Menu names can shift a little between app versions.
- Open Settings and go to Advanced.
- Under Network and proxy, click Connection type.
- Choose Use custom proxy and click Add proxy.
- Select SOCKS5.
- Enter
p.shifter.ioas the Hostname and443as the Port. - Enter your full proxy Username, targeting and session included, and your Password.
- Click Save.
The proxy appears in the list with a status. When it says online with a ping time, Telegram is connected through it. The native Telegram app for macOS keeps the same option under Settings > Data and Storage > Proxy.
How to add a SOCKS5 proxy in Telegram on iPhone and Android
- Open Settings and tap Data and Storage.
- Scroll down and tap Proxy (on Android, Proxy Settings).
- Tap Add Proxy and choose SOCKS5.
- Enter
p.shifter.ioas the Server and443as the Port. - Enter your Username and Password.
- Tap Done (iPhone) or the check mark (Android), then turn on Use Proxy.
The phone apps do not offer HTTP, so SOCKS5 is the type to pick. Unlike the phone’s own Wi-Fi proxy setting, the Telegram proxy applies on Wi-Fi and on mobile data, because it lives inside the app. Our guide to setting up a proxy on iPhone and Android covers the system setting if you need the browser on the same IP too.
The calls switch
The mobile apps have a separate Use proxy for calls switch. Voice and video calls do not always travel over the same connection as messages, so a proxy that handles chats well can still fail for calls. Leave the switch off unless you have tested calls through your proxy and they connect.
Share the setup with a link
Telegram can store a proxy in a link, which is handy when a team needs the same setup on several devices:
https://t.me/socks?server=p.shifter.io&port=443&user=USERNAME&pass=PASSWORD
Opening the link in Telegram shows a confirmation screen with the proxy details. Keep in mind that the link contains your password in plain text. Share it only in private, and reset the password if it ends up somewhere it should not be.
Check that Telegram uses the proxy
The quickest check is the status in the proxy list: online or connected with a ping time means the app reached Telegram through the proxy. Connecting that never finishes means it did not.
If you want to confirm the location, set the same username in a browser and open ip-info.com: it shows the IP and the city the session uses. Telegram’s Devices list in Settings also shows a location for the current session, based on the IP Telegram sees.
Residential or ISP proxies for Telegram
Telegram is not a heavy user of traffic for text. Photos, videos and voice messages are a different story, and residential traffic is billed per GB. If you only need the chats on the proxy, open Data and Storage and switch off automatic media download, so files load only when you tap them.
If you want the app connected all day from the same place, ISP proxies fit better. Each one stays on the city and ISP you choose for the whole billing period, it connects through isp.shifter.io:443 over SOCKS5 with its own username, and the plan is priced per IP rather than per GB. The address can refresh over time, the way a home connection does, but it stays in that city and on that ISP.
Teams that run several Telegram accounts for support or community work usually give each account its own proxy, so every account always signs in from the same place. Our page on proxies for account management explains that setup. Whatever you do, stay within Telegram’s terms of service: a proxy changes where you connect from, not the rules of the platform.
Fix common problems
- The status stays on Connecting. Check the server, port and type. It must be SOCKS5, not MTProto. Some office and public networks block outgoing proxy connections, so try another network.
- The proxy shows as unavailable straight away. The username or password is rejected. Copy both again from the dashboard and check that the targeting part is joined with hyphens.
- Telegram keeps reconnecting. You are on a rotating IP. Add
sidandttlto the username so the address holds. - Media loads slowly. Large files take longer through any proxy. Pick a location close to you, or let media download on your normal connection when the location does not matter.
To stop using the proxy, go back to the same screen and choose Disable proxy on desktop, or turn off Use Proxy on the phone.
The bottom line
Telegram takes a SOCKS5 proxy in a minute on any device: Settings, proxy, SOCKS5, server, port, username and password. Use a sticky session so the IP holds, keep media downloads in check on a per-GB plan, and pick an ISP proxy when you want the app on one city and ISP all day.