Select Language

Enable two-factor authentication

On MetaTrader5 (MT5), you can set up two-factor authentication for your account. To enable it, you need to have an authenticator app, e.g., Google Authenticator, Microsoft Authenticator, or Authy, installed on your phone beforehand. Please note that two-factor authentication is only available if it is allowed by your broker. If not, you will not see the option to enable it.

Here we will look at how to set up two-factor authentication on MT5.(*1)

(*1)Two-factor authentication is not available on MetaTrader4 (MT4).

Step 1

Right-click on the account you are logged in to in the Navigator and select "Enable 2FA/TOTP" from the context menu.

The context menu of the signed-in account The context menu of the signed-in account

Step 2

When the "Enable 2FA/TOTP for account" window appears, open the authenticator app on your phone and scan the QR code.

Scan the QR code for 2FA/TOTP Scan the QR code for 2FA/TOTP

Step 3

Enter the one-time password on the mobile app into the "One-time password" field and click "Enable 2FA".

Enable 2FA/TOTP for account Enable 2FA/TOTP for account

Step 4

Once the two-factor authentication is enabled, the "Enable 2FA" button will be changed to "Login". Click the button to proceed.

Two-factor authentication has been set up Two-factor authentication has been set up

Step 5

The login window will open. Enter the one-time password on your mobile app into the "One-time password" field and click "OK".

The login window for the account The login window for the account
point Log in to an account with two-factor authentication

When two-factor authentication is enabled for an account, you must enter the one-time password every time you log in to the account. If you close MT5 while logged in to the account, you will be asked to enter the one-time password the next time you start MT5.



 : 2023.02.24


Last updated

 : 2023.12.12

Takayoshi Nakamaru

Manual production consultant, MBA

Takayoshi Nakamaru

Nakamaru is a manual production consultant at FINTECS, a company that specializes in creating manuals for their clients.
With a wide range of experience from fintech to entertainment, he presents what user-friendly manuals should be like.
He works with numerous large corporations as an external manual production project manager.

【Business information】


Akira Takagi

Systems engineer, MetaTrader administrator

Akira Takagi

After graduating from Computer Science at the Uninove, Brazil, in 2014, he has worked on various systems development projects.
He participated as a developer in the launch of forex services in 2019. Since then, he has also been involved in the development of MetaTrader plugins and APIs. He is certified by MetaQuotes as a MetaTrader5 Administrator and active in consulting and advisory as well.

Was this article helpful?

We hope you find this article useful. Any comments or suggestions will be greatly appreciated.  
We are also looking for writers with extensive experience in forex and crypto to join us.

please contact us at [email protected].

Thank you for your feedback.
Thank you for your feedback.


All information and content provided on this website is provided for informational purposes only and is not intended to solicit any investment. Although all efforts are made in order to ensure that the information is correct, no guarantee is provided for the accuracy of any content on this website. Any decision made shall be the responsibility of the investor and Myforex does not take any responsibility whatsoever regarding the use of any information provided herein.

The content provided on this website belongs to Myforex and, where stated, the relevant licensors. All rights are reserved by Myforex and the relevant licensors, and no content of this website, whether in full or in part, shall be copied or displayed elsewhere without the explicit written permission of the relevant copyright holder. If you wish to use any part of the content provided on this website, please ensure that you contact Myforex.

  • Facebook
  • Twitter
  • LINE

Myforex uses cookies to improve the convenience and functionality of this website. This website may include cookies not only by us but also by third parties (advertisers, log analysts, etc.) for the purpose of tracking the activities of users. Cookie policy

I agree