M3U vs Xtream Codes vs MAG Portal: Which IPTV Login Should You Use?
A clear comparison of the three IPTV login types, with device recommendations, TV guide fixes and tips for entering your details correctly.

When you subscribe to an IPTV service, the first message you receive usually contains a login. Depending on your device and the provider, that login can look very different: a server address with a username and password, a single long web link, or a portal address for a set-top box. These are three different ways of connecting a player to the same service, known as Xtream Codes, M3U playlists and MAG portals.
Understanding the difference saves a lot of frustration. It explains why one player shows a full TV guide while another shows only channel names, why a movie library appears in one app and not in another, and why a MAG box needs its MAC address registered before anything works. This guide explains each login type in plain language, compares them side by side, and shows which one suits which device. It also covers the electronic programme guide (EPG), because the login type has a direct effect on whether your guide fills in properly.

The short answer
If you only want a quick recommendation, here it is:
- Use Xtream Codes whenever your player supports it. It is the most complete option: live channels, movies, series and the TV guide load automatically from one login.
- Use an M3U playlist when your player does not support Xtream Codes, or when you want to play channels in a general media player such as VLC on a computer.
- Use a MAG portal only if you own a MAG set-top box. MAG boxes do not use apps; they connect directly to a portal.
The rest of this article explains why, and what to do when something does not behave as expected. If you already have your details and simply want to install, jump to the setup guide for your device.
What Xtream Codes is
Xtream Codes is a login format made of three parts: a server address (often including a port number), a username and a password. When you enter these into a compatible player, the app talks to the server through an interface that returns everything the service offers, organised into categories.
What you get with an Xtream Codes login
Because the player can ask the server for exactly what it needs, an Xtream Codes login typically gives you:
- Live channels, organised into the provider's categories
- The on-demand movie library with posters, descriptions and ratings
- Series organised by show, season and episode
- The electronic programme guide, linked to each channel automatically
- Account information such as the expiry date and the number of allowed connections
Why most modern players prefer it
Players such as the ones commonly used on Firestick, Android TV and Apple TV are built around Xtream Codes. They can refresh the channel list when the provider adds or reorganises categories, without you needing a new link. The guide data is matched to channels for you. For most viewers, this is the most comfortable way to watch.
What an Xtream Codes login looks like
You will see something like a server address beginning with http:// and ending with a colon and a port number, followed by a username and a password. Type them exactly as sent. A missing http://, a wrong port or a trailing space is the most common reason a login fails.
What an M3U playlist is
An M3U playlist is a text file, usually delivered as a long web link, that lists channels one after another. Each entry contains a channel name, sometimes a logo and a group name, and the address of the stream. When a player opens the link, it reads the list and shows the channels.
Where M3U shines
M3U is the most widely supported format. Almost every IPTV player can open one, and so can general-purpose media players. That makes it ideal for:
- Computers, where you can paste the link into a media player such as VLC
- Players on smart TVs that do not offer Xtream Codes
- Situations where you only need live channels and do not care about the movie library
Where M3U falls short
Because a playlist is a static list, it carries less structure than Xtream Codes. Depending on the player and the playlist, you may find:
- The movie and series library missing or presented as a very long list
- The TV guide not loading unless you add a separate guide link (an XMLTV address)
- Changes to the line-up not appearing until the playlist is refreshed or reloaded
These are not faults in the service; they are limitations of the format. If you use M3U and miss the guide or the library, ask the team whether an Xtream Codes login would suit your player better.
Playlist links contain your credentials
An M3U link usually includes your username and password inside the address. Treat it like a password: do not post it online or share it outside your household. Shared links can be suspended under the terms of service, and anyone using your link consumes your screens.
What a MAG portal is
MAG devices are dedicated IPTV set-top boxes. They do not run app stores in the way a Firestick or smart TV does. Instead, they connect to a portal: a server address that recognises the box by its MAC address, a hardware identifier printed on a sticker underneath.
How MAG activation works
The process is different from app-based devices:
- You send the box's MAC address to the provider.
- The provider registers that MAC address on your subscription and sends you a portal URL.
- You enter the portal URL in the box's system settings and restart it.
- The box loads the portal, with channels, guide and library presented in the portal's own interface.
The MAG setup guide walks through each screen of the settings menu.
Strengths and limitations of MAG
MAG boxes are simple to use once set up, with a remote and interface designed purely for television. Many people like them for older relatives because there are no apps to update. On the other hand, they are tied to one box, the interface depends on the portal, and you cannot move the login to a phone or laptop. If you want both a MAG box and app-based devices, tell the team so they can provide the right login type for each.
Side-by-side comparison
| Feature | Xtream Codes | M3U playlist | MAG portal |
|---|---|---|---|
| Login format | Server, username, password | One web link | Portal URL linked to MAC address |
| Live channels | Yes | Yes | Yes |
| Movie and series library | Yes, organised | Depends on player | Yes, in the portal |
| TV guide (EPG) | Automatic | Often needs a separate guide link | Automatic |
| Line-up updates | Automatic | Needs refresh | Automatic |
| Works in VLC on a computer | No | Yes | No |
| Device type | Apps on TVs, sticks, phones | Almost any player | MAG boxes only |
| Best for | Most viewers | Computers and limited players | MAG owners |
How the TV guide works with each login
The electronic programme guide, or EPG, is the grid that shows what is playing now and later on each channel. It is one of the features people value most, and it is also where the login type makes the biggest visible difference.
Where guide data comes from
Guide data is a separate stream of information from the video. It lists programmes with start and end times for each channel. The player must match each programme list to the right channel, which is done using channel identifiers.
Xtream Codes: matched for you
With Xtream Codes, the player fetches the guide from the same server and matches it automatically. In most cases you only need to wait a minute or two after the first login while the player downloads it.
M3U: sometimes needs a guide link
Some M3U playlists include a reference to the guide; others do not. If your player shows channels but an empty guide, look for a setting called EPG URL, XMLTV or guide source, and ask the team whether a guide link is available for your playlist. Alternatively, switch to Xtream Codes if your player supports it.
Common guide problems and fixes
- Guide is empty after first login: wait a few minutes, then use the player's "update EPG" or "reload guide" option.
- Guide shows the wrong programmes: check the time zone setting in the player and on the device.
- Guide is missing for some channels only: not every channel has guide data. This is normal for some international or event channels.
- Guide was working and stopped: clear the player's cache and reload the guide.
The troubleshooting section of the Help Center lists these fixes in short form.
Which login suits which device
Most devices can use more than one login type. This table shows the usual recommendation.
| Device | Recommended login | Notes |
|---|---|---|
| Firestick and Fire TV | Xtream Codes | Install a player from the Amazon Appstore |
| Android TV and Google TV | Xtream Codes | Same players as Android phones |
| Samsung and LG Smart TVs | Xtream Codes or M3U | Depends on which players your TV offers |
| Apple TV | Xtream Codes | Players from the App Store |
| iPhone, iPad, Android phones | Xtream Codes | Same login as your TV |
| Windows and Mac | M3U or Xtream Codes | M3U works in VLC; dedicated players support Xtream |
| MAG boxes | MAG portal | Requires the MAC address |
Each device has its own walkthrough in the setup guides, and the devices page lists which app store each one uses.
Entering your login without mistakes
Most failed logins come down to small typing errors. A careful approach avoids them.
Type slowly and check each part
Logins are case-sensitive. The letter O and the number 0 look alike in many fonts, as do the lower-case l and the number 1. If you are copying from a phone onto a TV with a remote, check each character before moving on.
Keep the full server address
The server address normally includes http:// at the start and a port number after a colon at the end. Leaving out either part is a common reason for "invalid server" errors.
Watch for invisible spaces
When you copy and paste, a space can slip in at the end of the username or password. Some players trim it automatically; many do not.
Use the right section of the player
Many players offer several connection types on the first screen: Xtream Codes, M3U URL, local file and more. Choose the one that matches the details you received. Entering an Xtream Codes login into an M3U field, or the other way round, will not work.
If a login is refused, retype it by hand rather than pasting it again, and check the server address first. If it still fails, send a photo of the error to the team; they can confirm the details are active and resend them if needed.
Setting up each login type, step by step
The exact screens differ between players, but the general flow is the same everywhere. Here is what to expect for each type.
Adding an Xtream Codes login
- Open the player and look for an option such as "Add user", "Add playlist" or "Login with Xtream Codes API".
- Enter a name for the profile, for example StreamKing, so you can recognise it later.
- Type the server address exactly as sent, including http:// and the port number.
- Enter the username and password, checking capital letters carefully.
- Save, then wait while the player downloads categories, the movie library and the guide.
On the first load, the player may show a progress bar for each section. Do not interrupt it. When it finishes, open Live TV and choose a category.
Adding an M3U playlist
- Look for an option called "Add playlist", "M3U URL" or "Remote playlist".
- Paste the full link. It is long, so check that nothing has been cut off at the end.
- If the player offers a field for an EPG or XMLTV link, add the guide link if you were given one.
- Save and wait for the channel list to load.
In VLC on a computer, use Open Network Stream on Windows or Open Network on Mac, paste the link and press Play. Show the playlist window to browse channels.
Adding a MAG portal
- Send the MAC address from the sticker under the box to the team.
- Wait for confirmation and the portal URL.
- On the box, open Settings, then System settings, then Servers, then Portals.
- Give Portal 1 a name and type the URL exactly.
- Save and restart the portal or the box.
Troubleshooting login errors by type
Each login type has its own typical error messages. Knowing what they usually mean saves time.
Xtream Codes errors
- "Invalid server" or "Unable to connect": check the server address, including http:// and the port. A missing colon or a typo in the domain is common.
- "Invalid username or password": retype both by hand and check capital letters and similar-looking characters.
- "Account expired": your plan or trial may have ended. Contact the team to renew.
- "Max connections reached": another device is using your screens. Close a stream on another device or check your screen count.
M3U errors
- "Playlist could not be loaded": the link may be incomplete. Copy it again in full.
- Channels load but do not play: the player may not support the stream format. Try another player or ask the team for a recommendation.
- No logos or categories: this depends on how the player reads the playlist. Xtream Codes usually presents these better.
MAG errors
- "Authentication failed" or "STB blocked": the MAC address may not match the one registered. Check the sticker and the system information menu.
- "Loading portal" never finishes: check the portal URL for typos and the box's network connection, then restart.
- Portal loads but channels are empty: wait a few minutes after activation and restart once more. If it persists, contact the team.
Players and login types: what to look for
The player app you choose affects how well each login type works. A good player makes even a large line-up easy to browse.
Features worth having
- Support for Xtream Codes, so you get the library and guide automatically
- A fast, readable TV guide with a timeline view
- Favourites and recently watched lists
- Search across channels, movies and series
- Parental controls with a PIN for adult categories
- Adjustable buffer size and decoder settings for troubleshooting
Free versus paid players
Some players are free with adverts or limits, others charge a small one-off fee or subscription for extra features. A paid player is not automatically better, but well-maintained players with active developers tend to handle updates to devices and formats more smoothly. The StreamKing team can recommend one that currently performs well on your device.
Keep one player per device
Installing several players and switching between them can confuse troubleshooting and may leave background streams running. Settle on one good player per device and keep it updated.
Security and privacy
Your login gives access to a paid service, so it deserves basic care.
Keep it inside your household
Your login is for your own home. Sharing it outside the household is not allowed and usually backfires, because shared logins quickly run into the screen limit and can be suspended.
Be careful with unofficial players
Install players only from official app stores or the developer's own website. Unknown apps from random download sites can carry malware and may send your login details elsewhere. If you are unsure which player to use, ask the team for a recommendation for your exact device.
Change details if they leak
If you suspect your login has been shared or published without your permission, contact the team so they can issue new details.
Switching between login types
You are not locked into one format forever.
When to switch from M3U to Xtream Codes
If you use an M3U link and miss the movie library, struggle with the TV guide or have to reload the playlist often, switching to Xtream Codes is usually the fix. Ask the team, then add the new login in your player as a separate profile so you can compare.
When to use both
Some households use Xtream Codes on the TVs and an M3U link in a media player on a computer. That is fine, as long as the total number of simultaneous streams stays within your plan's screen count.
Adding a MAG box later
If you buy a MAG box after subscribing, send its MAC address to the team. They will explain how it fits with your existing subscription and screen count.
Getting the most out of the TV guide
Once your login is working, the guide becomes one of the most useful parts of the service. A few habits make it far more helpful.
Use the timeline view for planning
Most players offer two guide views: a list of what is on now and next, and a full timeline grid. The timeline is ideal for planning an evening, because you can scroll ahead and see when a match or film starts across several channels.
Set reminders where the player allows it
Some players let you set a reminder on a future programme. When the time comes, the player shows a notification or switches to the channel. It is a simple way to avoid missing kick-off.
Keep the guide fresh
Guide data covers a limited number of days ahead. Most players refresh it automatically, but if you notice the guide running out or showing old information, use the manual refresh option. Clearing the cache occasionally also helps players that store a lot of guide data.
Search by programme, not just channel
Players with a good search function can find programmes by name across the guide. If you know the show or team you want, searching is quicker than scrolling through categories.
Moving your login to a new device
Changing device is common: a new television, a faster stick, a replacement phone. Moving your login is simple if you keep a few things in mind.
Keep your details somewhere safe
Store the login details from your welcome message in a safe place, such as a password manager. When you set up a new device, you can enter them without searching through old chats.
Remove the old device if it is leaving the home
If you sell or give away an old device, sign out of the player and uninstall it, or reset the device to factory settings. Otherwise the new owner might still have access to your login.
Tell the team about MAG changes
Because a MAG portal is tied to a specific MAC address, replacing a MAG box means registering the new box. Send the new MAC address to the team so they can update it.
Testing your login during a free trial
A free trial is the ideal moment to check that the login type suits your devices, before you choose a plan.
What to check in the first evening
- Does the player accept the login on the first attempt?
- Do the categories you care about appear, and do the channels start quickly?
- Does the TV guide fill in within a few minutes?
- If you use Xtream Codes, do the movie and series sections load with posters?
- Does playback stay smooth during your usual peak viewing time?
Try more than one device if you can
If you plan to watch on a TV and a phone, test both during the trial. Different devices may suit different players, and it is easier to sort that out before your plan starts. Remember that two devices playing at once use two screens.
Tell the team what you found
If something does not work as expected, send a short note to the team with the device, the player and what you saw. They can switch your login type, suggest a different player or confirm whether a particular channel is part of the line-up. Requesting a trial is quick on the free trial page.
Logins for resellers' clients
If you buy StreamKing through an authorised reseller, your login works in exactly the same way: Xtream Codes, an M3U link or a MAG portal, depending on what the reseller creates for you. The setup guides on this site apply to you too. For account questions such as renewals, contact the reseller who sold you the line, since they manage it from their own panel. Resellers can learn more on the reseller program page.
A short glossary
IPTV uses a lot of technical terms. Here are the ones you are most likely to meet when dealing with logins.
Server URL
The web address of the service your player connects to with Xtream Codes. It usually starts with http:// and ends with a colon and a port number.
Port
A number after the server address that tells the player which "door" on the server to use. It must be included exactly as sent.
Playlist
A list of channels, usually in M3U format, that a player can open from a web link or a file.
EPG or XMLTV
The electronic programme guide data and the common file format used to deliver it. Some M3U setups need a separate XMLTV link for the guide.
VOD
Video on demand: the movie and series library you can play at any time, as opposed to live channels.
MAC address
A hardware identifier unique to a network device. MAG portals use it to recognise your box.
Connection or screen
One simultaneous stream. Your plan sets how many can play at once, regardless of how many devices have the player installed.
Catch-up
A feature on some channels that lets you watch programmes that have already aired. Availability depends on the channel and the player.
Frequently asked questions
Is Xtream Codes better than M3U?
For most players and devices, yes, because it loads the guide, the library and line-up changes automatically. M3U is better for general media players on computers and for players that do not support Xtream Codes.
Can I use the same subscription on a MAG box and a phone?
Usually, but they use different login types. Tell the team which devices you want to use so they can set it up correctly.
Why does my M3U playlist show no movies?
Some playlists carry only live channels, and some players do not show on-demand content from playlists. Ask whether an Xtream Codes login would suit your player.
Why is my TV guide one hour off?
The time zone in your player or device does not match the guide data. Adjust the time zone or the EPG time offset in the player settings.
Do I need a new login if I change player apps?
No. The same login works in any compatible player. Just enter it in the new app.
What is a MAC address and where do I find it?
It is a unique hardware identifier. On MAG boxes it is printed on a sticker under the box and usually starts with 00:1A:79. You can also find it in the box's system information menu.
Conclusion
Xtream Codes, M3U playlists and MAG portals are three doors into the same service. Xtream Codes is the most complete and the best choice for nearly every app-based device. M3U is the universal fallback, ideal for computers and simple players. MAG portals serve dedicated set-top boxes. Knowing which one you have, and which one your device prefers, explains most of the differences people notice between players, especially around the TV guide and the movie library.
When you order or request a free trial, tell the StreamKing team which devices you use, and they will send the login type that suits each one. If something does not look right, the Help Center and the team on WhatsApp are there to help.
Not sure which login you need? Tell the team your device and they will set it up for you.
Ask the teamWritten by the StreamKing IPTV team. Questions about this guide? Message us.


