Add Email as a Second Factor
On this page
This feature requires at least a Starter plan.
1.26.0
With the email method, FusionAuth emails a one-time code to the user at login.
Enable the Email Method on the Tenant#
FusionAuth doesn't enable the email method by default. To enable the email method:
-
Navigate to Tenants -> Edit Tenant -> Multi-Factor .
-
Turn on Enable email MFA.
-
Select a Template. FusionAuth ships with a default template that you can customize. An Application can override the template on its Multi-Factor tab.

FusionAuth sends the code with the tenant's email settings. For more information, see Configure Email.
Add Email on the Account Pages#
-
On the account page, click Manage two-factor .

-
Click Add two-factor .

-
Select
Email.
-
Enter an email address.
-
Click Send a one-time code .
-
Optionally, enter a name for the method, such as
Work email. -
Enter the code from the email.
-
Click Enable .
Recovery Codes#
When the method is the user's first MFA method, FusionAuth shows recovery codesA code used to regain access to an account when the user loses their multi-factor authentication factors.. Save the recovery codes in a safe place.

Log In with Email#
After the user enters a password at the next login, FusionAuth asks for a code from the email:

Related
API documentation for the FusionAuth Disable Multi-Factor API.
API documentation for the FusionAuth Enable Multi-Factor API.
API documentation for the FusionAuth Generate a Secret API.
API documentation for the FusionAuth Generate Recovery Codes API.