> ## Documentation Index
> Fetch the complete documentation index at: https://perfgrid.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to enable 2FA

> Enable two-factor authentication on your hosting-panel.net account with an authenticator app and recovery codes.

Two-factor authentication (2FA) adds a second step to your [hosting-panel.net](https://hosting-panel.net) login. After you enter your password, you enter a 6-digit code from your authenticator app.

<Note>
  Grid Hosting 2FA is separate from 2FA in the [client area](/docs/general/security/how-to-enable-2fa-in-client-area) and from [cPanel](/docs/cpanel/security/how-to-enable-2fa-in-cpanel). Enable each login you use.
</Note>

## Enable 2FA

<Steps>
  <Step title="Log in">
    Log in to your hosting panel at [hosting-panel.net](https://hosting-panel.net).
  </Step>

  <Step title="Open Profile">
    Open the user menu (your account name) and click **Profile**.

    <Frame>
      <img src="https://perfgrid-guides.s3.eu-west-par.io.cloud.ovh.net/6FNUe2dWamYu50pVPPDTqP6JO.png" alt="User menu with Profile, SSH Keys, and Log Out" style={{ borderRadius: '0.5rem' }} />
    </Frame>
  </Step>

  <Step title="Open Two-factor auth">
    In the settings sidebar, click **Two-factor auth**. Confirm your password when asked. This is a secure area of the application.

    <Frame>
      <img src="https://perfgrid-guides.s3.eu-west-par.io.cloud.ovh.net/iq55vWSR9hmIe3sY2vzL3VLRS.png" alt="Confirm your password modal before opening two-factor authentication" style={{ borderRadius: '0.5rem' }} />
    </Frame>
  </Step>

  <Step title="Enable two-factor authentication">
    Click **Enable two-factor authentication**.

    <Frame>
      <img src="https://perfgrid-guides.s3.eu-west-par.io.cloud.ovh.net/HLZpogXZUpMqQYwbnYp25tvJk.png" alt="Two-factor authentication page with Enable two-factor authentication button" style={{ borderRadius: '0.5rem' }} />
    </Frame>
  </Step>

  <Step title="Scan the QR code">
    Scan the QR code with an authenticator app such as Google Authenticator, Authy, Microsoft Authenticator, 1Password, or Bitwarden. If you cannot scan, enter the **Setup key** shown under the code.

    Enter the 6-digit **Code** from the app and click **Confirm**.

    <Frame>
      <img src="https://perfgrid-guides.s3.eu-west-par.io.cloud.ovh.net/5fJDveGOQrBwfl7Z8zFNlzHSN.png" alt="Two-factor authentication Finish setup with QR code, setup key, and code field" style={{ borderRadius: '0.5rem' }} />
    </Frame>
  </Step>

  <Step title="Store your recovery codes">
    When setup is done, the page shows **Enabled** and a set of **Recovery codes**. Store them in a password manager or other secure place. You can use a recovery code to sign in if you lose the authenticator app.

    <Frame>
      <img src="https://perfgrid-guides.s3.eu-west-par.io.cloud.ovh.net/9O53UEKZ7lwkMcqtMIXt7RsGA.png" alt="Two-factor authentication enabled with recovery codes, regenerate, and disable" style={{ borderRadius: '0.5rem' }} />
    </Frame>
  </Step>
</Steps>

On your next login, enter your password and then the current code from the app.

## Manage 2FA

On **Two-factor auth** you can **Regenerate recovery codes** (the old codes stop working) or **Disable two-factor authentication**.

<Tip>
  Keep the recovery codes even after setup. If you lose the app and the codes, contact support to reset 2FA after identity verification.
</Tip>

## Related articles

* [Profile settings](/docs/grid-hosting/profile/profile-settings)
* [Passkeys](/docs/grid-hosting/profile/passkeys)
* [How to enable 2FA in the client area](/docs/general/security/how-to-enable-2fa-in-client-area)
