MetaTrader 5 Connection Setup: Account Number, Server and Fixes
Complete MetaTrader 5 connection guide: connect to broker server clusters, verify account credentials, and fix connection errors."s server, and fixes for common login errors.
Reviewed by Hà Ngọc Lộc· Lead Prop Firm & Quantitative Risk Analyst
Reviewed using our forex & CFD broker review methodology
[!NOTE] Independent Publisher Notice: HNL Growth is an independent research platform. We do not provide trading accounts, broker portals, or custody of funds. We never ask for or store your trading passwords or personal area credentials.
To log in to MetaTrader 5 you need three details from your broker: the trading account number (login), the trading password, and the exact server name (for example "BrokerName-Live2"). On desktop, use File → Login to Trade Account. On mobile, go to Settings → New Account and search for your broker. On the web, open your broker's WebTerminal link. There is no single "MetaTrader 5 account" you sign in to: MetaQuotes makes the software, and the account always lives with a broker.
The Three Details You Need to Sign In to MT5
| Detail | Format Example | Where to Find It |
|---|---|---|
| Login (Account Number) | Numeric ID, e.g., 51234567 or 8904122 |
Broker's welcome email or Client Portal → My Accounts |
| Trading Password | Master Password (8–15 chars, upper/lowercase + digits) | Created when opening the MT5 account; resettable inside the Client Portal |
| Server Name | e.g., Exness-MT5Real7, VantageInternational-Live, Broker-Demo |
Displayed next to the MT5 account number in your broker dashboard |
Your client-area / portal password is not your MT5 trading password. Most brokers separate the two so that even if you log into MT5 on a VPS or shared terminal, no one can access your funding dashboard. The client portal controls deposits and withdrawals, while MT5 only handles charting and order execution.
Trading Terminal Suite: Broker Desktop, Web, Mobile & High-Frequency Server Topology
Comprehensive evaluation of Broker client terminals, automated EA support, and server routing stability.
ACTIVE INFRASTRUCTURE: MULTI-ASSET DEPTH OF MARKET (DOM) & FAST EXECUTIONMetaTrader 5 (MT5)
- 21 Timeframes & 38 Technical Indicators
- Level II Depth of Market (DOM) with tick volume
- MQL5 Multi-Threaded EA Strategy Tester
- 6 Pending Order Types & 1-Click Execution
MetaTrader 4 (MT4)
- 9 Timeframes & 30 Standard Technical Indicators
- MQL4 Expert Advisor automated trading
- Independent hedging order tickets
- Lightweight desktop footprint & high stability
Mobile App & WebTrader
- Zero-install HTML5 browser workspace
- Biometric login & push notifications
- Instant deposit & withdrawal cashier integration
- Live price alerts and watchlists
Step-by-Step MT5 Login Across Every Device
1. Desktop (Windows & macOS)
- Open MetaTrader 5 and click File → Login to Trade Account (or right-click Accounts in the Navigator panel,
Ctrl+N, and select Login to Trade Account). - Type your numeric Login and Master Password (make sure you do not paste a leading or trailing space).
- Select the exact Server from the dropdown menu.
- If your broker's server is missing from the dropdown: Click File → Open an Account, type your broker's company or server name in the search bar, and click Find your broker. Once MT5 locates the server and loads its
.srvcertificate, close the dialog and return to File → Login to Trade Account—your server will now appear in the dropdown list. - Tick "Save password" only on a private personal computer or dedicated VPS.
When connected, the bottom-right status indicator shows your connection speed in kilobytes and ping in milliseconds (e.g., 12.4 ms), and your account balance populates in the Toolbox (Ctrl+T) → Trade tab.
2. Mobile App (iPhone / iPad and Android) & QR Code Login
- Open the MetaTrader 5 mobile app and go to Settings → New Account on iOS, or tap Menu (☰) → Manage accounts → + on Android.
- Search for your broker's server: Type the server prefix or legal company name into the search field. Because multi-entity brokers register several companies, pick the exact server string shown in your Personal Area.
- Enter your Login and Password, then tap Sign In.
- Fast QR Code Login: If you already have your account open on desktop MT5 (or in a broker portal that supports MT5 QR codes), tap Sign in with QR code at the bottom of the mobile login screen and scan the QR code to populate the server, login, and password automatically.
3. Browser (MT5 WebTerminal)
Open your broker's official MT5 WebTerminal link (or the MetaQuotes web platform) and choose Connect to Account. Pick the exact server name from the dropdown. Remember that large brokers partition load across multiple real and demo servers—JustMarkets, for example, lists separate MT5 web launchers for Live, Live2, Demo, and Demo2.
Troubleshooting Common MT5 Login & Execution Errors
| Error in Journal / App | What Causes It | How to Fix It |
|---|---|---|
Invalid account / Authorization failed |
Wrong server number (Real1 vs Real8), client-portal password used instead of MT5 password, or entering an MT4 login into MT5 |
Copy the exact server name from your broker portal; reset the MT5 trading password (not portal password); confirm the account is an MT5 account |
No connection / Network rescan |
Local firewall/VPN blocking TCP port 443, or stale datacenter access point | Click the bottom-right network icon → Rescan network; turn off VPN; or re-scan the broker server under File → Open an Account |
New Order button disabled / Investor mode |
Logged in using the read-only Investor Password instead of the Master Password | Sign in again with your Master Password via File → Login to Trade Account |
AutoTrading disabled by server |
Account is in read-only mode, preliminary KYC stage, or demo competition hasn't started | Complete KYC/deposit in the broker's client area, or check if you logged into an expired demo |
Charts stuck on Waiting for update |
Viewing a standard EURUSD chart while your account tier uses suffixed symbols (EURUSDm, EURUSD.r) |
Right-click Market Watch (Ctrl+M) → Show All, then drag the active suffixed symbol onto your chart |
Checking Hedging vs Netting Mode & Margin Math After Login
Unlike MetaTrader 4 (which only supports hedging), MetaTrader 5 supports two position-accounting systems that change how your trades behave once you log in:
- Hedging Mode: Allows multiple independent positions on the same instrument (including simultaneous Buy and Sell trades on
EURUSD). Your Toolbox → Trade tab lists a separate ticket number for every order. - Netting Mode: Consolidates all orders on the same symbol into a single net position. If you are long
0.50lots ofEURUSDand click Sell0.20lots, MT5 reduces your long position to0.30lots instead of opening a separate short ticket. You can check which mode your account uses in the top window title bar of desktop MT5 or in your broker portal.
Before placing your first live trade after logging in, verify your contract size and risk per trade with our Profit Calculator and Drawdown Calculator. For example, on a $2,000 MT5 account, risking 1% ($20.00) with a 25-pip stop-loss on EURUSD ($10/pip per 1.00 lot) requires a position size of 0.08 lots (($20) / (25 × $10) = 0.08 lots, or $0.80/pip). At 1.0850, 0.08 lots ($8,680 notional value) uses $17.36 in margin at 1:500 leverage or $289.33 in margin at 1:30 leverage.
Security Basics for MT5 Traders
Never share your Master Password with anyone claiming to be an "account manager," "signal bot installer," or "recovery agent" on Telegram or social media. If you want to verify your track record to a third party or connect an analytics dashboard, share only your Investor Password (which you can change anytime under Tools → Options → Server → Change → Change investor (read only) password). Always enable Two-Factor Authentication (2FA) in your broker's client area, where deposits and withdrawals are controlled.
Need an MT5 Account First?
If you don't have an MT5 account yet, read the real-account opening guide, then compare brokers in our MT5 broker comparison. For installation help, see the MetaTrader 5 download guide.
Related: MetaTrader 4 login · MetaTrader demo account
Official sources: MetaTrader 5 user guide (metatrader5.com).
MetaTrader 5 Connection Setup: Your Questions Answered
Why does MT5 say 'Invalid account' or 'Authorization failed'?
MetaTrader 5 displays "Invalid account" or "Authorization failed" when your account number, password, or server name do not match on the broker's trade server. The most common causes are selecting the wrong server number (such as Live1 instead of Live3), entering an MT4 account number into MT5, or typing your broker client-portal password instead of your MT5 trading password.
Is my MT5 password the same as my broker portal password?
Usually not. Most regulated forex brokers issue two separate passwords: one login password for your web Client Portal (where you manage KYC documents, deposits, and withdrawals) and a separate Master Trading Password for your MetaTrader 5 account. If you forget your MT5 password, reset the trading password inside your broker's client area.
What is the MT5 investor password and how do I change it?
The MT5 investor password is a read-only password that lets someone view your live open positions, account balance, and trade history without permission to open, modify, or close orders. To change it on desktop MT5, log in with your master password, press Ctrl+O (Tools → Options → Server), click Change, and select Change investor (read only) password.
Can I log in to the same MT5 account on PC, web, and phone at the same time?
Yes. MetaTrader 5 supports concurrent sessions across Windows, macOS, the MT5 WebTerminal, and the iOS/Android mobile apps using the same login credentials. Orders opened or modified on your phone synchronize immediately with your desktop chart. Always log out of sessions on shared or public computers when finished.
How do I switch my MT5 account between Hedging and Netting mode?
Position accounting mode (Hedging vs Netting) is set on the broker's server when the MT5 account is created and cannot be toggled inside the MT5 login window. If your MT5 account is in Netting mode and you want Hedging mode to hold simultaneous buy and sell orders, open a new MT5 sub-account in your broker's client portal with Hedging enabled.
Sources checked 2026-10-01: MetaTrader 5 help (account opening and login), MetaTrader 5 web platform page, JustMarkets WebTerminal page. HNL Growth is not affiliated with MetaQuotes.
Related Guides
Sources & verification
- Last checked
- Written by
- HNL Growth Team
- Reviewed by
- Hà Ngọc Lộc
- Length
- 7 min read · 1,607 words
Rules, prices and payout terms on this page were checked against the official websites, help-centre articles and published terms of the firms mentioned, on the date above. Prop firms and brokers change conditions often — confirm the current version on the official site before you buy or deposit. Read our broker review methodology and affiliate disclosure.
Official sources & documentation verified
- MetaTrader 5 user guide(metatrader5.com)
Explore Related Hubs & Free Trading Tools
Ready to Trade with Vantage Markets?
Vantage Markets is a multi-regulated forex & CFD broker (FCA, ASIC, FSCA, CIMA, VFSC) with Raw ECN pricing ($3/side = $6/lot RT), Pro ECN ($1.50/side = $3/lot RT), no deposit/withdrawal fees, and full MT4/MT5/TradingView support. Check which legal entity onboards your country before funding.
Risk disclaimer: Vantage Markets is a live, multi-entity broker — trading forex and CFDs is done with real capital under normal market risk (this is not a simulated prop-firm evaluation). Deposit credit promotions (150% + 25% bonus) and high leverage (above 1:30) are offered exclusively under offshore entities (VFSC/CIMA) and are prohibited for retail clients under FCA (UK) and ASIC (Australia) regulations. CFDs and leveraged forex products are complex instruments and carry a high risk of losing money rapidly due to leverage; most retail investor accounts lose money trading these products. Affiliate disclosure: HNL Growth earns a commission when you open a Vantage Markets account through links on this page.

