24. Multi Factor Authentication

Joomla 6 MFA Guide
Administrator guideJoomla 6.2.11 December 2026

Switch on multi-factor authentication in Joomla 6

Turn MFA on, decide which user groups must use it, and help each type of user pick a second step they will actually keep using. Every step uses only the Joomla administrator; no extensions are needed.

At a glance

With MFA on, a user types their password and then proves it is really them with a second item, such as a code from their phone or a security key. A stolen password alone no longer opens the site.

WhoMake MFABest second stepAlways add as a back-up
Super UsersRequired
Joomla 6.1 or newer
Security key or passkeyAuthenticator app and saved back-up codes
Site Administrators
Administrator, Manager and other back-end staff
RequiredAuthenticator app on their phoneBack-up codes; passkey on their own laptop
Do this in the right order

Enable the methods first (Part 1). Set up your own second step and test it. Only then choose who must use MFA (Part 2). If you require MFA before anyone has a method set up, people are stopped at login until they enrol.

Part 1

Enable MFA

Joomla includes MFA as a set of plugins, one for each kind of second step. A method only appears for users once its plugin is switched on.

Words used in this guide

The word method is used in three related ways. Each kind of method is supplied by one plugin, so the first two always line up.

  • Kind of method: one type of second step, such as Verification code, YubiKey, Passkey or Code by Email.
  • Plugin: the on/off switch for one kind of method. You manage plugins in System › Manage › Plugins. If a plugin is off, nobody can use that kind of method.
  • A person's own method: one entry a person adds to their own profile. Someone can have two passkeys, which is two entries of one kind and one plugin.

The names differ a little between the Plugins list and a profile:

Plugin name in the Plugins listKind of method on a profile
Multi-factor Authentication - Verification CodeVerification code
Multi-factor Authentication - YubiKeyYubiKey
Multi-factor Authentication - PasskeysPasskey
Multi-factor Authentication - Authentication Code by EmailCode by Email
Multi-factor Authentication - Fixed CodeNot shown (switched off)
  1. Log in as a Super User and open System › Manage › Plugins.

  2. Click Filter Options.

  3. In the second drop-down, choose multifactorauth. The list now shows only the five MFA plugins.

  4. Look at the Status column. A green tick means the method is on, so people can add it to their account. Click a grey cross to switch a method on.

  5. Leave Fixed Code switched off. It always accepts the same code and exists only for testing, so it must never be on a live site.

Joomla 6.2.1 Plugins list filtered to multifactorauth. Verification Code, YubiKey, Passkeys and Authentication Code by Email show green ticks. Fixed Code shows a grey cross.2345
Real screenshotFigure 1. The Plugins list filtered to the MFA plugins, from a Joomla 6.2.1 site. On this site every method except Fixed Code was already on.

Finding your profile

In this guide, your profile means your own account page in Joomla. It is where you change your name, email and password, and where you set up your own MFA. Every user has one, and each person can only open their own MFA settings.

  1. Log in to the administrator area.

  2. Click User Menu at the top right of any page.

  3. Click Edit Account. The page that opens is titled Users: Edit Profile.

  4. Look at the row of tabs under your name. The two this guide uses are Multi-factor Authentication and Passkey Login.

The Joomla 6.2.1 User Menu open at the top right of the administrator, listing Edit Account, Light/Dark Mode, Accessibility Settings and Log out.3
Real screenshotFigure 2. The User Menu. Your name shows on the line above Edit Account; it is hidden here.

Two different passkey features

Your profile has a Passkey Login tab and a Multi-factor Authentication tab. They sound alike but do different jobs.

Tab on your profileWhat it doesDo you still type a password?
Passkey LoginLets you log in with your fingerprint, face, PIN or security key instead of a password.No
Multi-factor Authentication, then PasskeyAdds your passkey as the second step after your password.Yes

Joomla treats a passkey login as strong enough on its own, so by default it does not ask for a second step after one. Education websites should require a second step on every login, rather than allowing passkey-only sign-in. You can do that with the silent-login setting in Part 2.

Passkeys and security keys need a secure site

Browsers only allow passkeys and security keys on sites served over HTTPS. Check that the padlock shows on both the front end and the /administrator address before you offer it. This is a browser rule for passkeys and security keys, not a Joomla setting.

Part 2

Choose who MFA applies to

Joomla decides by user group. You list the groups that must use MFA, and optionally the groups that must never see it.

  1. Open Users › Manage, then click Options in the toolbar at the top right.

  2. Click the Multi-factor Authentication tab (Figure 3).

  3. Click Enforce Multi-factor Authentication and add each group that must use MFA. Joomla's help text says anyone in any selected group must enable MFA before they can use the site.

  4. Use Disable Multi-factor Authentication only for groups that should never be asked. Their MFA is hidden, so they cannot see, remove or change a method, and they are not asked for one at login. Do not put the same group in both lists.

  5. Click Save & Close. Anyone in an enforced group who has no second step is stopped at a set-up screen at their next login.

  6. For Super Users, choose Super Users in the Enforce list (Figure 5).

Joomla 6.2.1 Users: Options page with the Multi-factor Authentication tab selected.2
Real screenshotFigure 3. Users: Options, with the Multi-factor Authentication tab open.
Joomla 6.2.1 Users: Options Multi-factor Authentication tab scrolled to the Disable and Enforce fields, with inline help switched on.435
Real screenshotFigure 4. The two group fields, with Toggle Inline Help switched on so Joomla's own explanations show under each one.
The Enforce Multi-factor Authentication group picker in Joomla 6.2.1 listing Manager, Administrator, Registered, Author, Editor, Publisher and Super Users.6
Real screenshotFigure 5. The Enforce group picker on Joomla 6.2.1. Super Users is in the list, which it is not before Joomla 6.1.
Super Users: this depends on your Joomla version

From Joomla 6.1.0 (released 14 April 2026) the Super Users group can be added to the Enforce field. In Joomla 4.2 to 6.0 the group is hidden from that list, so Super Users can only be asked to use MFA by hand. The version number shows at the top of every admin page, next to the site name.

Suggested settings

GroupEnforceWhy
Super UsersAdd (6.1+)They can change anything on the site, including every other user.
Administrator, ManagerAddThey can edit content, users and settings from the back end.
Publisher, Editor, AuthorAdd if they log in to the back end or can publishA hijacked account here can publish false or harmful content.
RegisteredUsually leave emptyOptional MFA is less disruptive. Add the group if the site shows private or paid-for information.

Add each group by name rather than relying on one group covering another, and then test with one real account from every group you added.

Other settings on the same tab

SettingDefaultWhat it does
Onboard new usersNoWhen someone logs in without MFA set up, Joomla takes them to a page where they can set it up. Full explanation below this table.
Multi-factor Authentication after silent loginNoA silent login is one without a password, such as Remember Me or a passkey sign-in. At No those skip the MFA prompt. Set it to Yes if staff are allowed to tick Remember Me.
Maximum MFA tries10How many wrong codes someone may enter before they are locked out for a while.
MFA limit block time (in hours)(see your site)How long that lock-out lasts.

Onboard new users, explained

When this is switched on, a person who logs in and has not yet set up MFA is taken to a page about it straight after typing their password. Joomla's own help describes it as a simple way to let users know that MFA is available on your site. From that page they can:

  • set up a method there and then,
  • carry on to a different page, or
  • dismiss the page for good, so they are not shown it again.

Who it is for. Use it for groups where MFA is optional, such as Registered users. Groups you enforce do not need it, because they are already stopped at a set-up screen until they enrol. People in a group on the Disable Multi-factor Authentication list never see it.

Which page they see. By default it is Joomla's standard MFA set-up page. You can send people to a page of your own instead, by entering its address in the custom address setting that appears under this switch on the same tab. A short help article written in plain words, with screenshots of your own site, usually works better than Joomla's standard page.

  1. Open Users › Manage › Options and click the Multi-factor Authentication tab.

  2. Set Onboard new users to Yes.

  3. Optional: enter the address of your own help page in the custom address setting underneath.

  4. Click Save & Close.

  5. Log in to a private window with a test account from an optional group that has no MFA. You should land on the set-up page, or on your own page.

It does not force anyone

Onboarding only invites people. Anyone can dismiss it. If a group must use MFA, add it to Enforce Multi-factor Authentication as well or instead.

Check who has set it up

The Users › Manage list has an MFA column. A tick means the person has at least one method, and a cross means they have none. Filter Options also has a Multi-factor Authentication filter, so you can list everyone who still has no method.

Test before you tell everyone

Log in to a private browser window with a test account from each enforced group. You should be stopped at a set-up screen, finish enrolment, log out, and then be asked for the second step on the next login.

Part 3

Choose the best key for each kind of user

Think of a key as anything, besides the password, that proves it is you. The more of it that lives in your hand and the less of it can be copied or tricked out of you, the stronger it is. Joomla offers four real methods:

Authenticator app

Joomla name: Verification code
What it is
A free app on your phone shows a six-digit number that changes every 30 seconds. You type it in.
You need
A smartphone. It works without signal.
Strength
Good A fake website can still trick you into typing the code.
Ease
Five-minute set-up. Easy to use.

Passkey

Joomla name: Passkey
What it is
You approve the login with your fingerprint, face or PIN, using Windows Hello, Touch ID or your phone. No code to type.
You need
A modern browser, a secure (HTTPS) site and a device with a screen lock. Joomla says any hardware or software security key works.
Strength
Very strong It only works on the real site, so it cannot be tricked by a look-alike.
Ease
Very easy once set up. Lost device means a second method is needed.

Security key

Joomla name: Passkey (or YubiKey)
What it is
A small USB or tap-to-phone gadget. You plug it in or tap it and touch the button.
You need
To buy one, and ideally a spare. Pick one labelled FIDO2 or passkey.
Strength
Strongest Nothing to copy and no phone to lose.
Ease
Easy day to day. Keep the spare somewhere safe.

Email code

Joomla name: Code by Email
What it is
Joomla emails a six-digit code that stops working after about two minutes.
You need
A working inbox you can open on another device.
Strength
Basic Anyone who can read the inbox can log in.
Ease
The easiest to understand. Best as a fall-back.

Joomla lets each person add several passkeys or security keys, but only one authenticator app and one email address (from Joomla 4.2 documentation, so check on your build). The YubiKey method in Joomla works with Yubico's own one-touch code keys. Joomla describes its Passkey method as working with any hardware or software security key, so a security key bought today is normally best added as a Passkey.

Super Users

One stolen Super User account hands over the whole site. These people should use the strongest method and have a recovery plan, because Joomla does not let anyone edit another Super User's MFA.

UseSecurity key, or a passkey on their own laptop or phone
Also addAuthenticator app, plus saved back-up codes
AvoidEmail code as the only method

How to get it, step by step

  1. Buy two security keys from a well-known maker, both the same type. Look for FIDO2 or passkey support on the box, and check the plug (USB-A, USB-C) or tap (NFC) suits your computer and phone.

  2. Log in and open your own profile (User Menu, then Edit Account, as in Part 1). Click the Multi-factor Authentication tab, then Add a new Passkey. Plug the first key in when asked and touch it.

  3. Give it a name you will recognise, such as “Office key”. Repeat for the second key and call it “Spare, in the safe”. Keep the spare somewhere other than your desk.

  4. Add an authenticator app as well (Add a new Verification code), as a second route in if you leave the keys at home.

  5. Create the back-up codes when Joomla offers them, and store them in your password manager. Each works once.

  6. Log out and log in again in a private window to prove each method works.

If a Super User loses their method

Joomla stops one Super User editing or removing another Super User's MFA. That rule is about the person's own MFA records. It does not stop a second Super User opening System › Manage › Plugins and switching a plugin off. Joomla only asks for a second step when the person has a method whose plugin is switched on, so this is the first thing to try.

  1. The working Super User opens the MFA plugins list (Part 1) and switches off only the plugin for the lost kind of method, for example Verification Code. Leave the other plugins on.

  2. The locked-out person logs in with their password. They are no longer asked for the lost method. If their group is enforced, Joomla sends them to the set-up page, where they add a new method of a kind whose plugin is still on, such as Passkey.

  3. The working Super User switches that plugin back on.

  4. The locked-out person logs in again, uses the new method, then opens their profile and deletes the old method. It becomes usable again as soon as its plugin is back on, so it must be deleted.

Take care

While a plugin is off, nobody can use that kind of method, and anyone who relies on it alone is not asked for a second step. Keep the gap short and do it when the site is quiet. Do not switch off every MFA plugin while Super Users are enforced: Joomla may send them to a set-up page with nothing to set up. If you have to, remove the group from the Enforce list for a few minutes instead.

With only one Super User, or if both are locked out

Nobody can open the Plugins list, so your host or developer has to fix it in the database. Joomla's developer notes say a locked-out Super User uses back-up codes, and if that fails their records are deleted from the MFA table (the user_mfa table, with your site's prefix). Tell your host who is allowed to ask for that.

Practise this once

These steps come from reading Joomla's code, not from a live test on Joomla 6. Try them on a spare Super User account before you rely on them.

Site Administrators (not Super Users)

These users manage the site every day, so the method needs to be quick and not cost anything. A free authenticator app is the best match.

UseAuthenticator app on their phone
Also addBack-up codes, and a passkey if they have their own laptop
AvoidA passkey on a shared computer

How to get it, step by step

  1. On your phone, install an authenticator app from your phone's app store. Microsoft Authenticator, Google Authenticator and most password managers all work.

  2. Log in to the site. At the set-up screen, or in your profile (User Menu, then Edit Account) on the Multi-factor Authentication tab, click Add a new Verification code.

  3. Open the app, choose to add an account and scan the square code on the screen. If the camera will not scan, type in the text key shown beneath it.

  4. Type the six-digit number from the app into Joomla to prove it works, then save.

  5. Create the back-up codes and keep them in your password manager, not on your desktop.

If an administrator loses their phone

A Super User can remove the MFA methods from an Administrator's account so that they can enrol again. Joomla only allows this for accounts that are not Super Users.

Part 4

First login and lock-outs

After the password, Joomla shows a holding page. Nothing else on the site works until the user passes it, chooses another method, or logs out. Figure 7 shows where each person adds a method.

IllustrationFigure 6. The prompt every MFA user sees after their password. I could not capture this live without enrolling a test account, so it is drawn. The exact wording changes with the method they chose.
The Multi-factor Authentication tab on a user profile in Joomla 6.2.1, showing Multi-factor Authentication is not enabled and Add a new Verification code and YubiKey options.12
Real screenshotFigure 7. The Multi-factor Authentication tab on a user's own profile (cropped). Only the account owner sees it. Scroll down for the Passkey and Code by Email options.

Back-up codes

Once a method exists, Joomla offers to create back-up (emergency) codes on the same tab. Each code works one time only, and a code cannot be someone's main method. Tell users to store them in a password manager or print them and lock the page away.

If someone is locked out

Who is locked outWhat to do
A user who has a back-up codeChoose Use a different method on the prompt, enter one back-up code, then go to their profile and add a replacement method.
An Administrator or other non-Super User with nothing leftA Super User removes their MFA methods or disables their MFA, and the user then enrols again. Joomla allows this only for accounts that are not Super Users.
A Super User with nothing leftAnother Super User cannot edit their MFA, but can switch off the plugin for the lost kind of method, as set out in Part 3. With no second Super User, the host or developer must remove the person's MFA records from the database.

Rollout checklist

Sources

Written for Joomla 6. Screenshots from Joomla 6.2.1 with the default Atum administrator template in English.