---
title: How to enable 2FA for cPanel
description: "Two-factor authentication (2FA) is much more secure than password-only authentication. Users will need to install an app and use it every time they log in to cPanel. To secure your hosting account, you can enable two-factor authentication in cPanel using…"
url: "https://www.host-age.com/kb/security/enable-2fa-for-cpanel/"
updated: "2025-08-05"
category: Security
---

# How to enable 2FA for cPanel

Two-factor authentication (2FA) is much more secure than password-only authentication. Users will need to install an app and use it every time they log in to cPanel.

To secure your hosting account, you can enable two-factor authentication in cPanel using the free [Google Authenticator](https://support.google.com/accounts/answer/1066447?hl=en) app available for [iOS](https://apps.apple.com/en/app/google-authenticator/id388497605) and [Android](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&hl=en&pli=1).

First, log in to cPanel and select **Two-Factor Authentication** from the **Security** section.

![Activare 2FA în cPanel cu ajutorul Google Authenticator](https://www.host-age.com/wp-content/uploads/2022/10/cpanel-2FA-1.png)

On the next page, click the **Set Up Two-Factor Authentication** button.

Open the **Google Authenticator** app on your phone, scan the QR code on the screen, and the app will generate a six-digit code that you need to enter in the **Step 2** field labeled **Security Code**.

![Generare cod QR și scanare pentru activare 2FA în cPanel](https://www.host-age.com/wp-content/uploads/2022/10/cpanel-2FA-2.png)

After successfully setting up 2FA, you will see the following message in cPanel.

![Funcția 2FA este activată în cPanel](https://www.host-age.com/wp-content/uploads/2022/10/cpanel-2FA-3.png)

You will also receive a confirmation email at the address associated with your cPanel account.

![E-mail care confirmă activarea 2FA în cpanel](https://www.host-age.com/wp-content/uploads/2022/10/cpanel-2FA-4.png)

To disable 2FA protection, click the **Remove Two-Factor Authentication** button in the same cPanel section.

![Afișare stare 2FA în cPanel și opțiune de dezactivare](https://www.host-age.com/wp-content/uploads/2022/10/cpanel-2FA-5.png)

Each time you log in to cPanel, after entering your username and password, a field will appear where you need to enter the code generated by the **Google Authenticator** app. The code regenerates every 60 seconds, making unauthorized access to your cPanel account practically impossible.

![Solicitare cod 2FA pentru logare în cPanel](https://www.host-age.com/wp-content/uploads/2022/10/cpanel-2FA-6.png)
