Xtream Codes login: the three fields, explained
Most apps ask for a server URL, a username and a password instead of a playlist link. That is Xtream Codes, and it is the setup that gives you the TV guide and catch-up without extra work. Here is what each field expects, and what each error actually means.
The three fields
Server URL
http://your-server.com:8080The address and port of the server holding your line. Include http:// or https:// and the port after the colon. No trailing slash, no /get.php, no /player_api.php.
Common mistake: Pasting just the domain, or leaving the port off, is the most common failure. The app cannot guess it.
Username
often a long number or a short wordThe username on your line, exactly as sent, including capitals. It is not your email address and not your app account name.
Common mistake: Autocorrect capitalising the first letter, or a phone keyboard trimming the last character.
Password
a mixed string of letters and digitsThe password on your line. It is case-sensitive in every player that asks for it.
Common mistake: Typing it on a TV remote. Letter case flips easily and the app only ever says "login failed".
Xtream Codes versus an M3U link
Same line, same channels, two delivery methods. The difference shows up in setup time and in how much of the service actually works afterwards.
| Aspect | M3U playlist | Xtream Codes |
|---|---|---|
| Guide (EPG) | Add the guide URL by hand, then map it. | Included; the guide fills in after the login. |
| Setup time | Minutes to tens of minutes while a large file downloads. | Seconds: the app queries the server directly. |
| Copy errors | One truncated character breaks the whole link. | Three short fields; a typo is visible and fixable. |
| Catch-up | Usually unavailable, because there is no schedule data. | Works on supported channels, up to seven days. |
| VOD library | A flat list of streams, if present at all. | Movies and series in separate categories with metadata. |
| Best for | VLC, MAG portals, old apps that support nothing else. | Smarters, TiviMate, Formuler, Firestick, smart TVs. |
Where to enter it
IPTV Smarters Pro
Add user → Login with Xtream Codes APIDo not pick the M3U option if you have these three fields.
TiviMate
Settings → Playlists → Add → Xtream Codes loginThis is the mode that gives you recording and catch-up.
MYTVOnline (Formuler)
Portal → Xtream Codes APIOn Formuler boxes the portal route also enables catch-up.
Firestick (any app)
Same screens, just slower to typeUse the Fire TV app remote keyboard on your phone rather than the on-screen grid.
Smart TV (Samsung / LG)
Depends on the appSmart IPTV and SS IPTV are M3U-only; use a dedicated player app for Xtream.
On a Samsung or LG television the app is the constraint: those sets cannot install a full player, so the login goes into a TV-store app that takes the playlist by MAC address instead. The MAC-registration route for TV apps covers that step by step.
When the login is refused
"Login failed" or "Invalid username or password"
Re-type all three fields rather than editing them. Nine times in ten it is letter case or a trailing space picked up from a copy-paste.
"Cannot connect" or "Portal not found"
The server URL is wrong: missing port, https where the server expects http, or a path appended after the port. It should be just the address and port.
Works on the phone, fails on the TV
The TV typed something different. Read the fields back character by character, or use the phone app remote keyboard on Fire TV.
It worked, then logged itself out
The line was reissued or the plan lapsed. Re-enter the current credentials; do not create a new profile, which consumes another device slot.
"Your account is blocked" / "too many connections"
More devices are streaming than the plan allows. Every plan gives one connection per stream; multi-connection lines start at $22.99 for two.
Xtream Codes questions
What is Xtream Codes?
A login method: instead of a long playlist link, the app is given a server address, a username and a password, and asks the server for channels, guide and VOD itself. It is the standard used by Smarters, TiviMate and most modern players.
Is Xtream Codes better than an M3U link?
Yes, for almost everyone. It carries the TV guide and catch-up automatically, there is no multi-megabyte file to download, and there is no long URL to truncate. M3U is the fallback for apps that cannot do anything else.
Where do I find my Xtream Codes?
We send all three fields when the subscription is activated. If you only ever received an M3U link, message us and ask for the Xtream login instead: same line, same price, easier setup.
Do I need to pay separately for Xtream Codes?
No. It is a login format, not a product or an add-on. Every plan from $11.99 a month includes both the Xtream login and the M3U link.
What does the port number mean?
The server listens for IPTV requests on a specific port, commonly 8080 or 25461, and the app needs it to reach the right service. If the port is missing, the app connects to nothing and reports a connection failure, not a login failure.
Can I share my Xtream login with family?
Only within the connection limit of the plan. A one-connection line allows one stream at a time; sharing beyond that blocks both devices. Multi-connection plans are the supported way to run several screens.
Why does it say the username is wrong when I copied it?
Copying from a messaging app can carry a trailing space or convert characters. Delete the field completely and type it, or paste into a plain notes field first and check the ends.
Need the three fields?
Ask on WhatsApp and we send the server URL, username and password for the free 24-hour trial, matched to the device you are setting up.
Get the Xtream login →These three fields are issued with your IPTV subscription at activation, not by the player.
Read next: IPTV EPG and M3U playlist.
Next Steps
Xtream Codes Login Explained
What each of the three fields is, and where people get it wrong.