You want MT4 or MT5 on your computer but are not sure where to download it or which file to run.
Get it from MetaQuotes' official download page or from your broker's official page. On Windows you run mt5setup.exe for MT5, and MetaQuotes lists Windows 10/11 as the supported system (checked 22 November 2026).
By the end you will know the install steps for PC and Mac and how to pick the server and log in.
Short answer: install from an official source, then pick your server

- Download from MetaQuotes or from your broker's official page
- On Windows, run mt4setup.exe for MT4 or mt5setup.exe for MT5
- On a Mac, a dedicated installer sets up Wine for you
- After installing, choose the server and log in with your account ID and trading password
- You cannot open a live account in the software. The login details come from your broker
| Item | MT4 | MT5 |
|---|---|---|
| Windows file | mt4setup.exe | mt5setup.exe |
| Mac file | MetaTrader4.pkg.zip | MetaTrader5.pkg.zip |
| Minimum macOS | Big Sur (11) | Catalina (10.15.7) |
| Windows requirement | No OS named in the install help | Windows 10/11 |
| Linux | Script in the official help (Ubuntu, Debian) | Script in the official help |
If you have not decided between MT4 and MT5, compare them first.
Where to download MT4 and MT5: MetaQuotes or your broker

MetaQuotes' MT5 download page lists buttons for Linux, macOS, Windows and WebTerminal. For phones it has App Store, Google Play, AppGallery and an APK file.
The MT4 download page also has entries for Windows, Linux and macOS, plus iPhone/iPad and Android (all checked 22 November 2026).
| Source | Best for | Watch out for |
|---|---|---|
| MetaQuotes | Choosing MT4 or MT5 yourself | You search for the server yourself |
| Broker's official page | Following the broker's own steps | Files and steps differ by broker |
| Email after account opening | Using the link you received | Axi lists the MT5 install link in its welcome email |
Phone apps and the browser version also come from MetaQuotes
WebTerminal is the browser version for devices where you cannot install the app. MetaQuotes says all you need is an internet connection.
Phone downloads and use are covered step by step in a separate article.
MT5 mobile app guide: download, orders and charts
Axi's official page says MT4 can be downloaded free, while spreads and fees vary by account and product. Forex and CFD trading with leverage can cause losses.
Installing on Windows (MT4 and MT5)

- 01Run the installer
Open the downloaded mt5setup.exe (mt4setup.exe for MT4).
- 02Accept the license
If you agree, click Next. A background download of the distribution package then starts from the nearest developer server.
- 03Change settings if needed
Under Settings you can change the install folder and the Start menu group name.
- 04Click Finish
The platform starts. Shortcuts appear in the Start menu and on the desktop.
mt5setup.exe is a web installer. Most components download during installation, so it cannot finish without an internet connection.
The MT5 help says it runs under Windows 10/11 and that hardware needs depend on MQL5 program load and the number of instruments. The MT4 install help does not name an operating system.
You can install over an existing terminal. Settings are kept except the default profile, templates and the standard MQL5 programs.
To install without prompts, start the MT5 installer with the /auto key. It uses the standard location and Start menu name.
Installing on a Mac, and what about Linux

MetaQuotes provides a dedicated installer for Mac. It identifies the system, downloads and installs the latest Wine, applies settings and installs the platform, all automatically.
| Item | MT4 | MT5 |
|---|---|---|
| Minimum macOS | Big Sur (11) | Catalina (10.15.7) |
| Apple chips | All from M1 onward | All from M1 onward |
| Data folder (Mac) | ~/Library/Application Support/net.metaquotes.wine.metatrader4/drive_c/Program Files/MetaTrader 4 | ~/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5 |
- 01Open the downloaded file
MetaTrader4.pkg.zip for MT4, MetaTrader5.pkg.zip for MT5. Follow the usual Mac app steps.
- 02Follow the wizard
Work through the installer's prompts.
- 03Allow the extra packages
If asked to install Mono and Gecko, agree. The platform needs them.
If the Wine version in the startup log is below 8.0.1, MetaQuotes strongly recommends removing the old platform and its Wine prefix. Save templates and EAs first.
The interface language follows the macOS language at install time. To change it, switch macOS language, restart, then install.
On Linux, use the dedicated script
MT5 on Linux runs on Wine. The script in the official help detects Ubuntu, Debian, Linux Mint or Fedora, installs Wine and starts the installer. The help says to run it in a terminal without sudo.
MT4 on Linux also has a script in the official help (English) for Ubuntu and Debian. The download page additionally points to an MQL5 article.
First launch: pick the server and log in

MT4 offers to open a demo account at the first launch. If you only want to log in, go through File > Open an Account.
The server field takes three forms: address and port, domain name and port, or the exact broker name. The list shows ping, and the lowest is preferred. Press Scan to refresh.
| Broker | How to find the server | Where login details arrive |
|---|---|---|
| Axi | Green + in the account window, type "Axi - <server name>", then Scan | Welcome email |
| AXIORY | On Mac, add a new broker and type "Axiory" | Email, or the account details page in the AXIORY portal (server name) |
| HFM | If the server is not valid, paste the server IP address into the server field | Registered email (trading account ID and trader password) |
| DecodeFX | Check the server name on the DecodeFX page or with support | Registered email (login ID and password) |
The MT4 help says live accounts can only be opened by brokers. Demo accounts can be made from File > Open an Account. The MT5 help states no limit on the number of demo accounts.
There are two passwords. The investor password only lets you view the balance and analyse charts, with no trading or EA automation.
If you untick "Keep personal settings and data at startup", the last account and saved passwords are deleted at the next restart.
By broker: what each official page offers

Brokers sometimes offer branded files and steps alongside MetaQuotes' generic version. AXIORY's official page offers its own Windows installer (axiory5setup.exe) and says the desktop icon becomes "Axiory MetaTrader 5".
| Broker | What the official page says | MT4 and MT5 accounts |
|---|---|---|
| HFM | MT5 page lists Windows, Mac, Linux and mobile support plus a web terminal (29 October 2026) | Log in with the live or demo trading account ID (FAQ, 8 November 2026) |
| Axi | MT4 page: Windows, Mac, WebTrader. MT5 page: Windows, MacOS, WebTrader | MT5 can also be installed from the welcome email link |
| XS | MT4 and MT5 on web, Windows and Mac. Phones: iOS and Android (help) | One account cannot be used on both MT4 and MT5 (help) |
| AXIORY | Windows, Mac, web, iOS and Android. Linux PCs via browser | Install guide page for MT4 and MT5 |
| DecodeFX | Its comparison table lists Windows, Mac, iOS, Android and Web for both MT4 and MT5, while the MT4 description names only PC (Windows) and mobile. Check Mac and Web on the official page | MT4 and MT5 need separate trading accounts (FAQ) |
XS and DecodeFX say one account cannot be used on both MT4 and MT5. To switch software, open a new account.
HFM: MT4 and MT5 login and setup
Axi: MT4 and MT5 login and which app to use
When installation or login fails

| Symptom | What to check | Source |
|---|---|---|
| Installation stalls | Antivirus firewall features can interfere. Quit the antivirus, then run it | AXIORY |
| Admin permission prompt | Click Yes to continue and enter the administrator password if asked | AXIORY |
| Mac says the developer is unverified | Allow it temporarily in the security settings, then restore the setting | AXIORY |
| "Invalid account" or authorization failed | Check login ID, password (case-sensitive) and server | Axi help |
| "No connection" at the bottom right | Check your line and rescan the server. A network restriction can also cause it | Axi help |
| Orders will not go through | Check you did not log in with the investor password | MetaQuotes |
Per Axi's help, reset a forgotten password from the client portal. If you can log in, you can also change it under Tools > Options > Server.
If nothing helps, contact your broker's support. Note the server name and login ID from your email or portal first.
Updates, multiple accounts and uninstalling

Updates install automatically
The platform has built-in automatic updates (LiveUpdate) that cannot be turned off. It checks when you connect to a trading server and downloads new versions in the background.
After the download you can choose Restart or Later. Later still updates at the next launch. A failed update is retried after 1 hour.
Using several accounts
- To switch accounts in one terminal, double-click the account in the Navigator
- You cannot run several platforms from one folder. Install each in a different folder
- An option stops automated trading when the account is changed
Data location and uninstalling
Open the data folder from File > Open Data Folder. On Windows it sits under C:\Users\<user name>\AppData\Roaming\MetaQuotes\Terminal\.
Uninstall with uninstall.exe in the install folder or from the Start menu. Choosing "Delete user data" removes history, mail, MQL5 apps and settings with no way to restore them.
If you do not choose it, reinstalling into the same folder brings the settings back. On a Mac, move the app from Applications to the Trash.
Stick to MetaQuotes or your broker's official page. Install MT5 on Windows 10/11, and on a Mac check for Big Sur (11) or later for MT4 and Catalina (10.15.7) or later for MT5. Then search for your broker's name to find the server and log in.
Frequently asked questions
Q. Where can I download MT5?
A. From MetaQuotes' official download page (metatrader5.com) or your broker's official page. MetaQuotes offers Windows, macOS, Linux, WebTerminal and phone entries (checked 22 November 2026).
Q. Is downloading MT4 free?
A. Axi's official page says MT4 can be downloaded free. Trading itself is not free, and spreads and fees depend on the account and product.
Q. Can I install both MT4 and MT5?
A. Yes, in separate folders on the same computer. The accounts are separate, though. XS and DecodeFX say one account cannot be used on both MT4 and MT5.
Q. Does MT5 work on a Mac?
A. Yes. MetaQuotes provides a dedicated Mac installer that sets up Wine for you. The minimum is macOS Catalina (10.15.7) for MT5 and Big Sur (11) for MT4.
Q. What if I cannot find the server after installing?
A. Search with the exact broker name. For Axi, type "Axi - <server name>" and press Scan. HFM says to paste the server IP address when the server is not valid.
Q. Is a demo account created automatically?
A. MT4 offers to open a demo account at the first launch. Live accounts cannot be made in the software; your broker opens them. MT5 has no limit on demo accounts.
Q. Does uninstalling delete my settings?
A. Only if you choose Delete user data, and then history and settings cannot be restored. Without it, reinstalling into the same folder brings them back.
Q. Can I trade only on a phone or browser?
A. MetaQuotes offers iPhone/iPad and Android apps and the WebTerminal browser version. WebTerminal is for devices where you cannot install the app, and needs only an internet connection.
Sources and conditions
FX Textbook is edited from official platform documentation, broker-published information and applicable terms where available. Account conditions, services and rules can change. Confirm the current terms in the broker's registration flow before you act.
FX Textbook is an independent information site, not a broker or provider of personal investment advice. Forex and CFDs involve risk. You may lose some or all of your invested capital. No trading result is guaranteed.
NEXT STEP
Try your new install on a demo account.
How to open a demo account and what to check before moving to a live account.




