You open MetaTrader 4, type your login, and the corner of the screen says "Invalid account". The MT4 invalid account error looks alarming, but it simply means the broker's trade server did not accept the details you sent. In most cases you can fix it yourself in a few minutes. Below are the checks, in the order that solves the most cases first.
What the MT4 invalid account error means
MT4 connects to your broker with three pieces of information: the account number (your login), a password, and the server name. According to the MetaTrader 4 help page on authorisation, you enter all three in the Login window, opened from the "File" menu or by right-clicking the account in the "Navigator" window.
If any one of the three does not match what the server expects, the login fails and the connection status in the bottom right corner shows "Invalid account". Your money and positions are not affected.
Cause 1: the wrong password
This is the most common cause by a long way. Typical slips:
- Using the password for your broker's client area or wallet instead of the trading account password. They are usually different.
- An extra space at the start or end, often added when you copy the password from an email.
- Caps Lock left on. Passwords are case sensitive.
- Using an old password after you, or the broker, changed it.
Type the password by hand rather than pasting it. If it still fails, reset the trading password from your broker's client area and try again with the new one.
Cause 2: master password vs investor password
MT4 accounts have two passwords. The MetaTrader 4 help page calls them the normal (master) password and the investor password. The master password gives full rights. The investor password lets you see the account, analyse prices and run your own Expert Advisors, but not trade.
This does not usually cause "Invalid account", because the investor password logs you in. The problem shows up later, when every order is rejected. If you can see your balance but cannot trade, check which password you used.
Cause 3: the wrong server
Brokers often run several servers, for example one for live accounts and one for demo accounts, and sometimes separate servers for different account types or regions. Your welcome email names the exact server for your account.
If you pick a server with a similar name, the server will not recognise your login and you will see "Invalid account". Check the server field letter by letter against the email. If your broker's server is not in the drop-down list, type its full name exactly as written in the email, or ask the broker's support team for the correct name.
Cause 4: an MT5 account in MT4
MT4 and MT5 are separate platforms with separate accounts. An MT5 login will never work in MT4, even at the same broker and even if the account number looks right. As our guide to MT4 vs MT5 explains, you cannot open one platform's account in the other's app.
Look at the account details in your client area or welcome email. If it says MT5, download MT5 and log in there. If you need MT4, ask the broker whether it can open an MT4 account for you.
Cause 5: an expired or archived account
Demo accounts are not permanent. Many brokers close or archive a demo account after a set period, or after it has not been used for some time. The rules vary by broker. Once that happens, the old login stops working and MT4 shows "Invalid account".
Live accounts can be archived too, usually after a long period with no balance and no activity. If you have not logged in for months, this is a likely cause. For a demo, the quickest fix is to open a new one. For a live account, contact the broker and ask whether it can be reactivated.
Fixing the MT4 invalid account error
- 1
Find the welcome email or client area page for this exact account and note the login, platform and server.
- 2
Confirm the account is for MT4, not MT5.
- 3
Open the "File" menu, choose "Login" and type the login number again.
- 4
Type the master password by hand, with Caps Lock off and no spaces.
- 5
Choose the server that matches the email exactly, or type its full name.
- 6
If it still fails, reset the trading password in the client area and try once more.
- 7
If nothing works, send the broker your login number and server name (never your password) and ask whether the account is active.
A worked example
Say you open a demo account with a broker in March and use it for two weeks. In November you come back, open MT4 and type the same login and password. The screen shows "Invalid account".
You check the password first and it is correct. The server matches the original email. The account was opened for MT4. That leaves the account itself. The broker's demo terms say inactive demos are closed after a period, so yours has most likely been removed. You open a fresh demo, receive a new login and server, and connect at once.
Does "invalid account" mean my broker has frozen my account?
Not on its own. It means the login was refused. A frozen or closed account is one possible reason, but a wrong password or server is far more common. If you have checked everything above and still cannot log in, ask the broker directly, and if you also have trouble getting money out, our guide on a delayed forex withdrawal explains what to check next.
Can I use my prop firm login in any MT4?
Prop firms that use MT4 give you a login, a password and a server, just like a broker. The same rules apply: use the exact server named in your account email, and check whether the account is MT4 or MT5. If you are comparing firms, the prop firms page shows which platforms each one supports.
In practice
- Keep the welcome email for every account, with the login, platform and server.
- Type passwords by hand and keep the master and investor passwords apart.
- Check MT4 or MT5 before you install anything.
- Expect old demo accounts to expire, and open a new one when they do.
- Never send your password to anyone, including someone who says they are support.
- Before you open an account, check the broker's licence and record in the FXROLL broker directory and the Academy lesson on choosing a forex broker.
Risk warning: Trading foreign exchange and CFDs on margin carries a high level of risk and may not be suitable for all investors. Leverage can work against you. Content on FXROLL is for information and education only and is not investment advice. Prices and data may be delayed or contain errors.