How to Enable Two-Factor Authentication for your cPanel

Two-factor authentication (2FA) is a security measure that requires two forms of identification. After you enter your password, you must enter a security code. An application on your smartphone supplies this code. Please note that once you configure Two-factor authentication (2FA), without your smartphone, you cannot log in to your cPanel.

2FA supports only one concurrent session for any user. If you open several browser windows to cPanel and log out in one of them, the server will log out the other windows.

How to Configure 2FA

To configure 2FA, perform the following steps:

  1. Click Two-Factor Authentication in your cPanel under security tab
  2. Link your cPanel account and your 2FA app:
    • To automatically create the link, scan the displayed QR code with your app. (we advice you use Google Authenticator App from google play or Appstore)
    • To manually create the link, enter the provided Account and Key information in your app.
  3. Within your 2FA app, retrieve the six-digit security code 

The 2FA app generates a new six-digit security code every 30 seconds.


4. Enter the six-digit security code in the Security Code text box.


You must enter the security code within 30 seconds. After time expires, the app will generate a new six-digit code.


5. Click Configure Two-Factor Authentication.


If you see a Failed to set user configuration: The security code is invalid. error, a problem may exist with the date and time settings on your server. To fix the issue, contact your hosting provider.


Remove 2FA

To remove 2FA, click Remove Two-Factor Authentication.

If you need any help, please reachout to our support by opening a support ticket from your client area or email

  • Two-Factor Authentication for cPanel, 2FA
  • 72 Users Found This Useful
Was this answer helpful?

Related Articles

What is Next, After Purchasing a Hosting Account?

Yipee!  Now you have purchase your hosting account and domain name, we are glad to have you at...

How to Access and Use Website Builder

We have a site builder called sitepad.  please follow these steps to access the website builder...