TROUBLESHOOTING · METATRADER 5
MT5 authorization failed (invalid account)
SYMPTOM
MetaTrader shows "Authorization failed" or "Invalid account" and will not connect.
Causes, most likely first
1. The wrong trade server was selected
By far the most common cause. Brokers run several servers and an account belongs to exactly one — "Broker-Server02" will refuse an account that lives on "Broker-Server04" with an error that reads like a bad password. The correct name is in the account opening email.
2. It is an MT4 account in an MT5 terminal
MT4 and MT5 accounts are separate and not interchangeable. An MT4 login will never authorise in MetaTrader 5 regardless of how correct the credentials are. See MT4 vs MT5.
3. The investor password is being used instead of the master
The investor password connects read-only, so it may appear to work while no trade can be placed. If login succeeds but trading is disabled, this is the first thing to check — see trade disabled.
4. The account is archived or inactive
Brokers archive demo accounts after a period of inactivity and close unfunded live ones. The terminal reports this identically to a credential failure. If the login worked previously and now does not, this is the likely reason.
Why this happens
The full journal line usually names the server — "authorization on Broker-MT5-Live01 failed (Invalid account)" — and that server name is the clue, not the account number. If it is not exactly the server named in your account email, you have found the problem.
The error message is unhelpful because MetaTrader cannot distinguish "wrong password" from "this account does not exist on this server". Both produce the same text, and the second is far more common.
Rather than retyping the password, search for the broker in the server list and try each of their servers in turn. It resolves most cases within a minute.
Common questions
Where do I find my MT5 server name?
In the account opening email from the broker. It looks like Broker-MT5-Live02 and it has to match exactly — an account belonging to one server will not authorise on another, and the refusal reads exactly like a wrong password.
Why does MT5 say invalid account when my password is correct?
Because MetaTrader cannot tell "wrong password" apart from "this account does not exist on this server" and reports both identically. The second is far more common. Work through the broker server list before resetting a password that was probably never wrong.
Related problems
- MT5 password reset: forgotten or changing itYou have forgotten the MT5 password, or want to change it and cannot find where.…
- MT5 no connection to trade serverThe terminal shows "No connection" or "Connection lost" and the EA stops trading.…
- MT5 trade disabled on the accountOrders are rejected with "Trade disabled" or "Trade is prohibited on this account".…
- “Account disabled” in MT5The terminal reports "Account disabled" or the account stopped accepting logins.…
Further reading
Educational information only, not financial advice. Trading leveraged products carries substantial risk of loss. Last updated 2026-09-04.