Contact
TYPO3 Security

Two-Factor Authentication in TYPO3 14: More Security for the Backend

Two-factor authentication protects the TYPO3 backend from unauthorized access – even if a password falls into the wrong hands. We explain how it works and what's new in TYPO3 14.

Last updated: 08.10.2026

Two-factor authentication (2FA) is one of the most important security measures for TYPO3 websites. It protects the admin area from unauthorized access – even if a password falls into the wrong hands. TYPO3 version 14 also supports this additional layer of protection directly in the system.

But how does two-factor authentication work in TYPO3? How do you set it up? And what's new in TYPO3 14 compared to previous versions?

1. What Is Two-Factor Authentication?

Normally, logging in to the TYPO3 backend only requires a username and a password.

The problem: if an attacker obtains these credentials – for example through phishing or a data breach – they may be able to log in to the backend undetected.

Two-factor authentication adds an extra layer of security to the login process.

In addition to the password, a second piece of proof is required. This is usually a numeric code generated on a smartphone.

The login process therefore consists of two steps:

  1. Enter password: The user logs in as usual with their username and password.
  2. Confirm security code: They then enter a six-digit code from an authenticator app.

Only once both pieces of information are correct does TYPO3 grant access to the backend.

The advantage: even if the password is stolen, it isn't enough on its own to log in.

2. Two-Factor Authentication in TYPO3

TYPO3 has supported what's known as multi-factor authentication (MFA) since version 11.1.

The term MFA is somewhat broader than 2FA, since more than two factors can in principle be used.

TYPO3 comes with two methods built in by default.

2.1 Authenticator App (TOTP)

The most important method is TOTP (Time-based One-Time Password).

This involves installing an authenticator app on a smartphone or another device.

Suitable apps include, for example:

  • Google Authenticator
  • Microsoft Authenticator
  • 1Password

During setup, TYPO3 displays a QR code. This is scanned with the authenticator app.

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

This code must be entered in addition to the password every time you log in to the TYPO3 backend.

An internet connection is not required to generate the code.

2.2 Recovery Codes

What happens if the smartphone is lost or the authenticator app no longer works?

For this case, TYPO3 offers what are known as recovery codes.

These can be used instead of the regular security code.

Recovery codes should be generated during setup and stored in a safe place.

Important: the codes are intended purely as a fallback method. They can only be set up once another MFA provider is already active.

3. How Do You Set Up Two-Factor Authentication?

Setup is straightforward and can be carried out by backend users themselves, provided the feature has been enabled for them.

  1. Open user settings: After logging in to the TYPO3 backend, the user opens their personal settings.
  2. Select account security: Multi-factor authentication is managed under "Account security".
  3. Connect an authenticator app: The user selects the multi-factor authentication setup and scans the displayed QR code with their authenticator app.
  4. Confirm the security code: To confirm, a security code generated by the app is entered.
  5. Save recovery codes: It's also recommended to set up and securely store the recovery codes.

Two-factor authentication is now activated.

At the next login, TYPO3 will automatically ask for the additional security code after the password is entered.

TYPO3 Maske zur 2-Faktor-Authentifizierung als Screenshot
This is how TYPO3 editors set up two-factor authentication...

4. What's New in TYPO3 Version 14?

The fundamental way two-factor authentication works hasn't changed significantly compared to TYPO3 12 and 13.

Earlier versions already supported authenticator apps, recovery codes, and central management of MFA settings.

TYPO3 14, however, brings an important improvement to monitoring failed login attempts.

4.1 Email Notification on Failed MFA Verification

TYPO3 14 introduces an additional security feature.

If an MFA code verification fails, TYPO3 can automatically notify the affected backend user by email.

This requires that an MFA method is set up for the user and that a valid email address is stored for them.

This feature offers an important security benefit.

Example:

An attacker has obtained a TYPO3 administrator's password and tries to log in to the backend.

Since they don't have access to the authenticator app, they fail at the second security step.

TYPO3 notifies the affected user about the failed MFA attempt.

The user can then respond – for example by changing their password.

The notification therefore improves not only backend protection but also the detection of possible attack attempts.

This feature is documented in the TYPO3 core changelog under feature number #105783.

4.2 Proven Features Remain

Alongside this new feature, TYPO3 14 continues to offer the familiar MFA functionality.

This includes, in particular, managing multiple authentication methods, recovery codes, and the ability to make MFA mandatory for specific user groups.

Administrators can also continue to manage the MFA settings of other backend users.

This is helpful, for example, when an employee loses their smartphone and no longer has access to their recovery codes.

An administrator can reset the affected user's MFA configuration so they can set up authentication again.

5. Can Two-Factor Authentication Be Made Mandatory?

Yes. TYPO3 allows administrators to require multi-factor authentication for specific user groups or for all backend users.

The system setting BE.requireMfa is available for this.

The following values are possible:

Values for BE.requireMfa

Value Meaning
0 Two-factor authentication is optional
1 MFA is mandatory for all backend users
2 MFA is only mandatory for non-administrators
3 MFA is only mandatory for administrators
4 MFA is only mandatory for System Maintainers

The default value is 0. Two-factor authentication is therefore optional by default.

For websites with multiple editors and administrators, we recommend making MFA mandatory for all backend users as a general rule.

This applies in particular to company websites that process sensitive information or where several people have editorial or administrative access rights.

6. Can Other Authentication Methods Be Used?

Yes. TYPO3 has a flexible architecture that allows additional MFA methods to be added via extensions.

These include, for example:

  • WebAuthn / FIDO2: Authentication can be carried out using a hardware security key or other compatible authenticators.
  • YubiKey: Dedicated hardware keys can be used as an additional security factor.
  • Email-based authentication: A security code is sent to a stored email address.

However, these methods are not part of the TYPO3 core's standard feature set. Using them requires the corresponding extensions.

When choosing one, make sure the extension in question is compatible with TYPO3 14 and is maintained regularly.

7. Does Two-Factor Authentication Also Apply to Frontend Users?

Here it's important to distinguish between the TYPO3 backend and the frontend.

The MFA feature included in the TYPO3 core is intended for backend logins.

This means editors and administrators can use it to protect their accounts.

For frontend users logging in to, say, a closed customer area or member portal, this feature isn't available automatically.

Additional solutions or extensions are required for this.

That said, TYPO3's underlying MFA architecture is fundamentally designed so that other use cases can be integrated as well.

8. Our Recommendation: Enable Two-Factor Authentication by Default

Two-factor authentication is one of the simplest and, at the same time, most effective ways to add extra protection to access to the TYPO3 backend.

Setup usually only takes a few minutes and requires no special technical knowledge.

Especially for company websites, we recommend enabling the feature not just for administrators but for all backend users.

A single compromised editor account can already be enough to alter a website's content, insert malicious links, or view confidential information.

The additional security layer significantly reduces this risk.

9. Conclusion

TYPO3 14 builds on proven two-factor authentication features and adds a meaningful security improvement.

In particular, the new email notification for failed MFA checks helps detect possible attack attempts early.

The basic setup and usage remain largely unchanged compared to TYPO3 12 and 13.

Anyone not yet using two-factor authentication should take this as an opportunity to review the security of their TYPO3 installation.

Even a very strong password offers no complete protection against phishing and stolen credentials.

Two-factor authentication can significantly reduce this risk with comparatively little effort.

Is two-factor authentication enabled on your TYPO3?

We review the security of your TYPO3 installation and set up MFA for your editorial team.

Free Consultation