The ‘Invalid Account’ error in MetaTrader 4 or 5 appears during connection to the trading server. The terminal validates the login credentials and fails to authenticate the user. In practice, this means the issue lies not with the platform, indicators, or Expert Advisors—but specifically with access to the trading account.
Main Causes of the ‘Invalid Account’ Error
To connect successfully, MetaTrader must receive three correct parameters:
- Trading account number,
- Password,
- Correct trading server.
If even one parameter does not match the broker’s records, the connection will fail.
Incorrect login. In MetaTrader, you must enter your trading account number—the numeric ID sent to you by email after account opening. Do not use your email address, phone number, or broker’s client portal username. The client portal and trading terminal often require separate login credentials.
Password error. Copy the password precisely from your account confirmation email or broker’s client cabinet. Check for accidental leading or trailing spaces, ensure the correct keyboard layout is active, and verify Caps Lock is off.
Wrong server selected. Brokers often operate multiple servers—for demo accounts, live accounts, different account types (e.g., ECN, STP), or regional compliance. Even with the correct account number and password, connection will fail if the selected server does not host your account.
Also note: MetaTrader 4 and MetaTrader 5 are incompatible platforms. An MT4 account cannot be accessed via MT5, and vice versa.
Finally, the account itself may no longer be accessible. A demo account might have been deleted due to prolonged inactivity; a live account could be restricted by the broker pending incomplete verification, updated terms of service, or internal compliance reviews.
Where to Find Correct Login Details
Your login credentials are typically provided in the confirmation email sent by the broker after account opening. This includes your account number, platform type (MT4/MT5), server name, and password—or a link to set it up. If the email is missing, log into your broker’s client cabinet and navigate to the ‘Trading Accounts’ section.
If full details aren’t visible there, contact your broker’s support team. Request confirmation of your current server name, account status, and compatibility with your chosen MetaTrader version.
How to Connect to Your Account Correctly

In MetaTrader, go to File → Login to Trading Account. In the pop-up window, enter your account number, password, and select your broker’s server.

If your broker’s server isn’t listed, go to File → Open an Account, search for your broker by name, and click ‘Update Servers’. Then return to the login window and select the newly added server.
You can verify connection status in the bottom-right corner of the terminal. A successful connection triggers real-time quote streaming—and the ‘Invalid Account’ message disappears.
How to Identify the Exact Cause
If the error appears immediately upon login, the issue almost always stems from one of the three connection parameters: account number, password, or server.
If the account previously worked but suddenly stopped connecting, the likely cause is a change in account status, password reset, or server migration—e.g., broker-wide account transfers, demo account expiry, or tightened security policies.
If all credentials match those shown in your client cabinet yet the error persists, the problem resides on the broker’s side. Contact their support team for verification.
What to Check Before Contacting Support
- Before contacting your broker, perform this quick checklist:
- Confirm you’re entering the trading account number, not your email address.
- Type the password manually—avoid copy-paste.
- Verify the exact spelling and capitalization of the server name.
- Ensure your account was opened for the MetaTrader version you’re using (MT4 vs. MT5).
- Try updating the server list via File → Open an Account.
- Test the connection from another device or clean MetaTrader installation.
These steps help rule out common input errors and clarify whether the issue truly originates with the broker.
FAQ
What does ‘Invalid Account’ mean in MetaTrader?
It means the terminal failed to authenticate your login—usually due to mismatched account number, password, or server name.
Can I use my MT4 account in MT5?
No. MT4 and MT5 accounts are platform-specific and incompatible. You need a separate account for each platform.
Why does my account work sometimes but show ‘Invalid Account’ at other times?
Common causes include expired demo accounts, broker-initiated server migrations, password resets, or changes in account verification status.



