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.
| Who | Make MFA | Best second step | Always add as a back-up |
|---|---|---|---|
| Super Users | Required Joomla 6.1 or newer | Security key or passkey | Authenticator app and saved back-up codes |
| Site Administrators Administrator, Manager and other back-end staff | Required | Authenticator app on their phone | Back-up codes; passkey on their own laptop |
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.
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.
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 list | Kind of method on a profile |
|---|---|
| Multi-factor Authentication - Verification Code | Verification code |
| Multi-factor Authentication - YubiKey | YubiKey |
| Multi-factor Authentication - Passkeys | Passkey |
| Multi-factor Authentication - Authentication Code by Email | Code by Email |
| Multi-factor Authentication - Fixed Code | Not shown (switched off) |
Log in as a Super User and open System › Manage › Plugins.
Click Filter Options.
In the second drop-down, choose
multifactorauth. The list now shows only the five MFA plugins.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.
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.
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.
Log in to the administrator area.
Click User Menu at the top right of any page.
Click Edit Account. The page that opens is titled Users: Edit Profile.
Look at the row of tabs under your name. The two this guide uses are Multi-factor Authentication and Passkey Login.
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 profile | What it does | Do you still type a password? |
|---|---|---|
| Passkey Login | Lets you log in with your fingerprint, face, PIN or security key instead of a password. | No |
| Multi-factor Authentication, then Passkey | Adds 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.
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.
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.
Open Users › Manage, then click Options in the toolbar at the top right.
Click the Multi-factor Authentication tab (Figure 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.
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.
Click Save & Close. Anyone in an enforced group who has no second step is stopped at a set-up screen at their next login.
For Super Users, choose Super Users in the Enforce list (Figure 5).
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
| Group | Enforce | Why |
|---|---|---|
| Super Users | Add (6.1+) | They can change anything on the site, including every other user. |
| Administrator, Manager | Add | They can edit content, users and settings from the back end. |
| Publisher, Editor, Author | Add if they log in to the back end or can publish | A hijacked account here can publish false or harmful content. |
| Registered | Usually leave empty | Optional 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
| Setting | Default | What it does |
|---|---|---|
| Onboard new users | No | When 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 login | No | A 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 tries | 10 | How 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.
Open Users › Manage › Options and click the Multi-factor Authentication tab.
Set Onboard new users to Yes.
Optional: enter the address of your own help page in the custom address setting underneath.
Click Save & Close.
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.
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.
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.
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
- 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
- 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
- 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
- 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.
How to get it, step by step
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.
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.
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.
Add an authenticator app as well (Add a new Verification code), as a second route in if you leave the keys at home.
Create the back-up codes when Joomla offers them, and store them in your password manager. Each works once.
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.
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.
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.
The working Super User switches that plugin back on.
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.
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.
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.
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.
How to get it, step by step
On your phone, install an authenticator app from your phone's app store. Microsoft Authenticator, Google Authenticator and most password managers all work.
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.
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.
Type the six-digit number from the app into Joomla to prove it works, then save.
Create the back-up codes and keep them in your password manager, not on your desktop.
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.
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.
Multi-factor Authentication
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 out | What to do |
|---|---|
| A user who has a back-up code | Choose 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 left | A 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 left | Another 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
- Joomla documentation: Multi-factor Authentication
- Joomla Magazine: New to Joomla 4.2, Multi-factor Authentication
- Joomla User Manual: Users, Multi-factor Authentication
- Joomla User Manual: Users, including Admin Password Recovery
- Joomla source: MultiFactorAuthenticationHandler.php (when the MFA prompt is shown)
- Joomla API reference: Users MFA helper (Super User editing rule)
- mySites.guru: Force MFA for Super Users (Joomla 6.1 change)
- Joomla issue tracker: allow forcing MFA for Super Users (6.1)