🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
2FA (Two-factor authentication) for WP – Google Authenticator & Passkey icon
Actively maintained Tested with WP 7.1 #2 in 2-factor authentication

2FA (Two-factor authentication) for WP – Google Authenticator & Passkey

WordPress two-factor (2FA) authentication with Google Authenticator, Passkey, Email/SMS OTP, Push Notification. Free for unlimited users.

Active installs10K+10K+ tier
Downloads · 30d44.6K▲ +75.8% vs prev. 30d
Rating4.6/5389 reviews
Health score88/100Excellent
All-time downloads2.6MSince Jul 2015
Support resolved—No recent threads
RequiresWP 5.3.0PHP 7.0+
Downloads · 7d18.1K▲ +53.7% week over week
Our verdict

Safe pick

Yes — 2FA (Two-factor authentication)… is a safe, well-maintained plugin to use in 2026. It runs on 10K+ sites, is rated 4.6/5 and was last updated 2 days ago, and scores 88/100 on our health check.

  • Proven at scale on 10K+ active sites
  • Loved by users — 4.6/5 from 389 reviews
  • Actively developed — last update 2 days ago
  • Tested with the latest WordPress (7.1)
  • Momentum — downloads up 75.8% vs the previous 30 days

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

1.8K3.7K5.5KSep 4Oct 18Dec 2
Yesterday2,962
Daily average (1y)667
Peak day8,377Apr 13, 2026
Last 12 months242.8K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where 2FA (Two-factor authenticat… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
2-factor authentication #4 231 Best 2-factor authentication plugins →
2FA #10 512 Best 2FA plugins →
Authenticator #4 315 Best Authenticator plugins →
google authenticator #3 232 Best google authenticator plugins →
two factor authentication #10 557 Best two factor authentication plugins →

Version adoption

Share of active sites per release.

  • 6.736.7%
  • 6.214.1%
  • 6.613.1%
  • 6.06.5%
  • 6.15.4%
  • Other24.2%

Rating breakdown

★★★★★★★★★★ 4.6 from 389 reviews

  • 5★85.6%
  • 4★3.6%
  • 3★0.50%
  • 2★1.0%
  • 1★9.3%

About 2FA (Two-factor authentication) for WP

From the official readme · v6.7.2

Description

WordPress 2FA: The Complete Two-Factor Authentication Plugin

WordPress 2FA in minutes: miniOrange 2FA adds two-factor authentication to your login page. After entering a password, each user confirms it’s really them with a second step: a passkey, a 6-digit code from Google Authenticator, or a one-time passcode (OTP) sent by email, SMS, or WhatsApp. A leaked, guessed, or phished password is no longer enough to get in.

The plugin is free for unlimited users. It works with WooCommerce, Elementor, Ultimate Member, and custom login forms, and lets you enforce 2-factor authentication for every user or only for selected roles. Use it as simple 2FA, or combine several methods for full multi-factor authentication (MFA).

What’s New in 6.7.2

  • Minor security fixes. Recommended update.
  • Fixed valid Authenticator App codes being rejected for users who set up the app before 6.7.0. If the server clock is off, setup now says so instead of rejecting the code.
  • Passwordless “Log in with a passkey” button on the login form.
  • Exclude users or roles from 2FA in Access Rules.
  • Unlock locked-out users, see each user’s 2FA status, and reset 2FA in bulk from the Users screen.
  • Front-end 2FA setup now supports every free method, can email backup codes, and lets you choose where users go after setup.
  • Email OTP can be used without a miniOrange account.
  • Grace period: users see their deadline, and reminders can be shown as a dashboard notice instead of on the login page.
  • The setup wizard now includes login method selection and setting up your own account.
  • IP Blocking now works on sites behind a proxy or CDN, with a “My site is behind Cloudflare” option, and manual blocks apply to the whole site.
  • “Send test email” button for email templates.
  • Accessibility and translation improvements.

Quick Links

Official Website | Setup Guides | Plans & Pricing | Book a Demo

Watch: WordPress 2FA Plugin Explained in Minutes

A quick overview of how this plugin adds two factor authentication to your WordPress login, and what it can do for your site.

Key features of the WordPress 2FA plugin

  • Passkeys (Free) – users sign in with Face ID, Touch ID, Windows Hello, Android biometrics, or a hardware security key. Passkeys are phishing-resistant and verified on your own site, with no external calls.
  • Google Authenticator (Free) – time-based 6-digit codes from Google Authenticator, Microsoft Authenticator, Authy, LastPass Authenticator or any other TOTP app.
  • Email OTP, security questions and backup codes (Free) – simple options for users who don’t want an authenticator app, plus a way back in if a phone is lost.
  • SMS, WhatsApp and Telegram OTP (Premium) – one-time codes delivered to the user’s phone, with support for a custom SMS gateway.
  • Push notification and hardware tokens (Premium) – approve a login with one tap, or use a dedicated hardware token.
  • Magic link login (Free) – sign in with a one-time link sent by email instead of a password. Fully passwordless login with a passkey or one-time code is available on Premium.
  • Role-based 2FA policies (Free) – require 2FA for all users or selected roles, set grace periods, and force setup at next login.
  • WooCommerce 2FA (Free) – protect store staff and customer accounts on WooCommerce login and account pages.
  • Remember device (Free) – after a successful 2FA login, the browser is remembered for 7 days. Per-login consent, custom expiry and device limits are available on Premium.
  • Login security (Free) – limit login attempts, CAPTCHA, IP blocking, website hardening, and an option to disable XML-RPC. Custom login URL and geo-blocking are available on Premium.
  • Login reports and alerts (Free) – recent logins, IP alerts and an activity digest email. Slack notifications and advanced reporting are available on Premium.
  • Built for teams and agencies (Premium) – custom branding and white-labelling, multisite support and advanced reporting.

Free passkey login

Many 2FA plugins limit free users or keep their strongest methods behind an upgrade. Here, passkeys and Google Authenticator are free for every user.
A passkey is stored on the user’s device and only works on your domain, so it can’t be entered on a fake login page or leaked in a data breach. Users register a passkey from their profile, then log in with a fingerprint, face scan or security key. Each user can register several passkeys, with backup codes as a fallback. Passkeys can be used as the second step after a password, or, on Premium, for fully passwordless login.

Google Authenticator for WordPress

Google Authenticator is familiar to most users and works offline. Users scan a QR code in the app and enter the 6-digit code to confirm. From then on, each login asks for the current code.
Google Authenticator runs entirely on your site, with no calls to external services. Authenticator secrets are stored encrypted, and each code is accepted only once, so a code that has been seen or intercepted can’t be reused.

Designed for a smooth 2FA rollout

Rolling out 2-factor authentication shouldn’t create a flood of support tickets. The plugin is built around how sites actually adopt 2FA:

  1. A setup wizard guides you through choosing and testing your first method.
  2. Require 2FA for administrators and editors first, with a grace period for each role.
  3. When the grace period ends, choose whether to enforce setup or block the login.
  4. Extend 2FA to more roles when you’re ready.

If a user loses their phone, they can sign in with a backup code or the email verification recovery option, and administrators can reset any user’s 2FA from the dashboard. The free Remember Device option reduces how often users are asked for a code on browsers they have already verified.

Two-factor authentication for WooCommerce stores

Shop manager accounts can see orders, issue refunds and change prices, so they’re the accounts most worth protecting. WooCommerce 2FA is free. The Quick Setup screen includes a “Protect Staff, Not Shoppers” preset that turns on 2FA for Administrator, Editor, Author and Shop Manager while leaving customers out, so checkout works exactly as before. You can add customers at any time.

Integrations: WooCommerce, Elementor, Ultimate Member and more

Two-factor authentication works on the default WordPress login page and on the login forms of the plugins your site already uses. Integrations are included in the free version unless marked Premium:

  • WooCommerce – login and My Account pages, for staff and customers
  • Elementor – login forms built with Elementor
  • Ultimate Member – member login pages
  • BuddyPress – community site logins
  • Theme My Login – themed login pages
  • LoginPress – customized login pages
  • Gravity Forms (Premium) – OTP verification on registration forms, added in version 6.6.0
  • Slack (Premium) – alerts for login and security events
  • Custom login forms (Premium) – 2FA on theme and custom-built login forms
  • Multisite (Premium) – 2FA across a WordPress multisite network

The 2FA plugin is used by WooCommerce stores, membership websites, LMS platforms, enterprise portals, educational institutions, government websites and agencies managing client sites.

Login security included

2FA protects against stolen passwords. These features, included in the free version unless marked Premium, reduce the attacks that reach your login page in the first place:

  • Limit login attempts, with IP lockout after repeated failures
  • Rate limiting of failed 2FA codes for each account
  • CAPTCHA on the login form
  • Option to disable XML-RPC
  • IP/CIDR range blocking
  • Custom login URL and geo-blocking (Premium)
  • Custom redirects after login
  • Network Security tab and an emergency kill switch

Free vs Premium

Free

  • Unlimited users
  • Passkey (WebAuthn/FIDO2)
  • Google Authenticator
  • Email OTP
  • Security questions
  • Backup codes
  • Magic link login
  • Remember device for 7 days after a successful 2FA login
  • Role-based 2FA policies, grace periods and setup wizard
  • WooCommerce 2FA and “Protect Staff, Not Shoppers” preset
  • Integrations with Elementor, Ultimate Member, BuddyPress, Theme My Login and LoginPress
  • Login security: limit login attempts, CAPTCHA, IP blocking, website hardening
  • Login reports, IP alerts and activity digest email

Premium

  • Everything in Free
  • SMS OTP, WhatsApp OTP and Telegram OTP
  • Push Notification
  • Hardware tokens
  • Email verification link
  • Passwordless login (passkey or OTP, no password)
  • Advanced trusted devices: per-login consent, custom expiry and device limits
  • Custom login URL and geo-blocking
  • Slack alerts
  • 2FA on custom login forms and OTP verification on registration forms, including Gravity Forms
  • Custom SMS gateway
  • Custom branding and white-labelling
  • Multisite 2FA
  • Advanced reporting

Compare plans and pricing

Need help?

Ask in the support forum, where our team responds quickly. For private or enterprise questions, email mfasupport@xecurify.com or use the Contact Support button inside the plugin.

External services

Passkeys and authenticator apps such as Google Authenticator run entirely on your website. They make no external calls, and no data is sent to miniOrange when users log in with these methods.
When an administrator configures or a user uses SMS, WhatsApp, Telegram, email delivery through miniOrange, or Push Notification, the plugin connects to miniOrange’s services to send or verify the one-time code or login request. These services are used only for the 2FA method that requires them.

  • Terms of Use: https://www.miniorange.com/usecases/miniOrange_User_Agreement.pdf
  • Privacy Policy: https://www.miniorange.com/privacypolicy

Installation

  1. In your WordPress dashboard, go to Plugins > Add New, search for “miniOrange 2FA” or “Two Factor Authentication”, click Install Now, then Activate.
  2. Open the miniOrange 2FA settings page from the dashboard.
  3. Follow the setup wizard to choose a method, such as Passkey, Google Authenticator or Email OTP, and test it on your own account.
  4. Choose which roles must use 2FA, set grace periods and backup methods, then turn on enforcement.
  5. Optional: set up WooCommerce 2FA and Magic Link login.

Changelog

Minor security fixes, a fix for valid Authenticator App codes being rejected, passkey login button, 2FA exclusions, and IP Blocking fixes for sites behind a proxy or CDN. Recommended update.

6.7.2

  • Minor security fixes.
  • Fixed: Valid Authenticator App codes rejected for users who set up the app before 6.7.0.
  • Improvement: Authenticator App setup reports when the server clock is out of sync.
  • Feature: Passwordless “Log in with a passkey” button on login forms.
  • Feature: Exclude specific users or roles from 2FA in Access Rules.
  • Feature: Unlock locked-out users, 2FA status column and bulk 2FA reset on the Users screen.
  • Feature: Front-end 2FA setup for all free methods, backup codes by email, and a setting for where users go after setup.
  • Feature: Email OTP without a miniOrange account.
  • Feature: Grace period deadline shown to users, with an optional dashboard notice reminder style.
  • Feature: Login methods and own-account setup steps in the setup wizard.
  • Feature: “My site is behind Cloudflare” option for Trusted Reverse Proxy, plus IPv6 ranges.
  • Feature: “Send test email” button for email templates.
  • Fixed: IP Blocking not blocking visitors on sites behind a proxy or CDN; manual IP blocks now apply site-wide.
  • Fixed: Expired 2FA login sessions now return to the login page.
  • Fixed: Setup 2FA page offered methods that were turned off under login methods.
  • Fixed: Reminder email link, reset on reactivation, and zero email quota handling.
  • Improvement: Accessibility labels on the 2FA login popups and more translatable admin text.
  • Improvement: Security question answers accept apostrophes and non-English letters.

6.7.1

  • Minor security fixes.
  • Feature: Optional setting to let users turn on two-factor authentication for themselves, with a “Turn off” option.
  • Feature: [mo2f_2fa_setup] shortcode and WooCommerce My Account “Two-factor authentication” tab for front-end 2FA setup.
  • Feature: Copy and Print buttons for backup codes.
  • Feature: Admin notice when another two-factor plugin is active alongside this one.
  • Improvement: Authenticator App secret key is always shown with a Copy button; new keys are 160-bit.
  • Improvement: User profile shows the active 2FA method with a “Change method” button.
  • Improvement: One-time code autofill support on the login code boxes; backup code option hidden while a lockout is active.
  • Improvement: OTP emails fall back to WordPress mail if delivery through miniOrange fails.
  • Improvement: Dashboard lists the available login methods by name and explains when login reporting is turned off.
  • Fixed: Access Rules role selection could be lost when “Enable 2FA” was toggled just before saving.
  • Fixed: WooCommerce My Account 2FA notice now reflects whether 2FA is already set up.
  • Fixed: Broken Authenticator App icon and Test/Configure buttons on the Setup 2FA page.
  • Fixed: “[object Object]” shown instead of a proper wait message when an account is temporarily locked out during Authenticator App setup or login.
  • Improvement: Account lockout during login is now shown as a dedicated page instead of a message inside the login popup.
  • Improvement: Added a fallback message if the Authenticator App QR code can’t be generated or displayed, so the secret key is still reachable.
  • Improvement: OTP input fields now bring up a numeric keypad on mobile.
  • Improvement: Renamed “Google Authenticator” to “Authenticator App” in a few places, since the method also works with Authy, Microsoft Authenticator, and others.
  • Fixed: Debug Logs Download and Delete actions looking in the wrong folder, so they always reported “file not found” even though the log existed.
  • Improvement: Added more detailed debug logging across the Authenticator App setup/login flow for easier troubleshooting.

6.7.0

  • New: Network Security tab, with Website Hardening (Security Headers, Force HTTPS, Hide WordPress Version, Disable Directory Listing, Block Code Execution in Uploads) and Trusted Reverse Proxy/CDN IP detection for IP Blocking and Automatic Lockout.
  • New: Mixed Content Detection (Premium, All-Inclusive) preview under the Network Security tab.
  • New: Emergency wp-config.php kill switch (MO2F_DISABLE_2FA_ENFORCEMENT) to disable 2FA enforcement site-wide if locked out.
  • Security: Google Authenticator secrets are now encrypted at rest instead of stored in plain text.
  • Fixed: A login-filter priority conflict that could let other plugins interfere with 2FA enforcement, plus a dead AJAX login code path.
  • Fixed: A race condition in the failed-login attempt counter, missing guards around OTP timing/JSON decoding, and a fatal error in the Duo Security integration.
  • Improvement: IP Blocking checks now run only on login/XML-RPC requests instead of every page load.
  • Fixed: Several untranslatable strings on the 2FA OTP challenge popup.
  • Fixed: A fatal error on sites where another plugin/theme already declared mo2f_mail_tem().
  • Improvement: Grouped the Role-Based Method Selection (Premium) upsell with the other premium method tiles.

6.6.1

  • Minor security fixes.

6.6.0

  • New: Custom Login URL — change wp-login.php to a custom slug, with a loopback check before saving so a bad slug can’t lock you out. (Premium)
  • New: Country/Region (Geo) Blocking — block or allow logins by visitor country. (Premium, Starter plan+)
  • New: Slack Alerts — webhook notifications on successful/failed logins, IP blocks, geo-blocked visitors, and 2FA resets. (Premium, All-Inclusive plan)
  • New: Gravity Forms registration integration, alongside the existing WooCommerce/User Registration/Ultimate Member/Registration Magic tiles.
  • New: Automatic brute-force lockout — blocks an IP after a configurable number of failed login attempts within a time window, for a configurable duration, extending the existing IP Blocking feature.
  • New: CIDR notation support (e.g. 192.168.1.0/24) for IP Address Range Blocking, alongside the existing start-end range format.
  • Security: Fixed a regression where the Enterprise build’s “Disable XML-RPC” setting didn’t actually block XML-RPC requests the way the free build did.
  • Security: Fixed missing replay protection for Google Authenticator codes — a valid TOTP code could be reused multiple times within its 30-second window.
  • Security: Added rate limiting to the Enterprise build’s self-service 2FA account-recovery email, matching the limits already applied elsewhere.
  • Security: The Enterprise build’s session-expiry toggle didn’t actually gate anything — disabling it had no effect, and an unconfigured install got a flat 14-day login cookie regardless of Remember Me. Fixed to respect the toggle and fall back to WordPress’s own default.
  • Security: Removed a dead, crash-prone admin-notification option left over from an older product line; enabling it (possible via a migrated database) fataled the next time an IP was blocked.
  • Fixes: Corrected an Enterprise build outbound API call timeout that was set to ~2.8 hours instead of 10 seconds.
  • Improvement: Widened Google Authenticator’s clock-drift tolerance to +/-60 seconds in the Enterprise build, matching the free build.
  • Fixes: Removed stray PHP warnings logged by the self-service 2FA reset endpoint when handling a stale/orphaned reset token.
  • Fixes: Several internal classes (settings handlers, IP blocking, AJAX handling, and the 2FA reconfiguration-link handler) were being constructed twice per request due to a duplicate-initialization pattern, causing some of their actions to run twice; corrected across 8 classes.
  • Fixes: Corrected a UI spacing issue between the Geo Blocking “Countries” field and the row above it, and between the navbar’s “2FA + Website Security” toggle and the elements before it.
  • Fixes: Moved the “IP Blocking” sidebar menu item to sit above Reports instead of always appearing at the very end of the menu.
  • Fixes: Restyled the IP Blocking tab (Advanced Blocking / IP Blacklist) to match the rest of the redesigned admin UI, and fixed the AJAX-refreshed tables reverting to legacy styling immediately after blocking, unblocking, whitelisting, or removing an IP.
  • Fixes: The “2FA + Website Security” toggle in the admin header required a manual page refresh before the change (e.g. the IP Blocking menu item appearing/disappearing) was reflected.
  • Improvement: Visually separated the Advanced Features tab’s heading from its settings list, and grouped related settings — including the new automatic brute-force lockout setting — so each renders as its own distinct, separated block instead of blending together.
  • Security: Fixed a timing issue in the per-attempt 2FA lockout counter where it could silently expire mid-challenge — most noticeable with Passkey, since a fingerprint/security-key prompt often takes longer than the window allowed — locking an account out after only 2-3 tries instead of the intended budget.
  • Security: Neither the IP Blacklist nor the IP Range/CIDR blocking tools stopped you from blocking your own current IP, which locks you out of the entire site with no way back in. Both now refuse to save an entry that matches your own current IP.
  • Fixes: A missing user lookup during a failed login attempt could log a confusing error and silently skip the failed-login notification email.
  • Improvement: Passkey now appears directly after Authenticator App in the 2FA method list during setup, ahead of the OTP-based methods.

6.5.0

  • New: Optional daily/weekly Activity Digest email summarizing new logins, failed login attempts, and 2FA resets, sent to configured recipients or all administrators by default.
  • New: Optional CAPTCHA (Google reCAPTCHA v2 or Cloudflare Turnstile) on the wp-login.php login form, to slow down automated brute-force login attempts.
  • Security: Added a “Disable XML-RPC” option under 2FA Configurations > Advanced Features, to close off xmlrpc.php as a brute-force and DDoS-amplification vector on sites that don’t need it. Off by default so existing Jetpack/mobile-app integrations keep working after upgrade.
  • New: Self-service 2FA account recovery can now be restricted to specific roles, and the site admin can optionally get an email whenever a user resets their own 2FA this way. Also now recorded in the Compliance Log alongside admin-initiated resets.
  • Improvement: The miniOrange account creation screen now explains what the account is used for (SMS/WhatsApp delivery, plan management), with a “Skip for now” option.
  • Improvement: Modernized the admin sidebar navigation — refreshed icons and hover/active states.

Full changelog on WordPress.org →

Screenshots

The WordPress 2FA dashboard, where you manage all two factor authentication methods.
The WordPress 2FA dashboard, where you manage all two factor authentication methods.
Users set up Google Authenticator by scanning a QR code.
Users set up Google Authenticator by scanning a QR code.
Quick settings to require 2FA for selected user roles.
Quick settings to require 2FA for selected user roles.
Reset a user's 2FA configuration if they lose their phone.
Reset a user's 2FA configuration if they lose their phone.
Custom 2FA email templates with your own branding (Premium).
Custom 2FA email templates with your own branding (Premium).
SMS OTP setup for two-factor authentication (Premium).
SMS OTP setup for two-factor authentication (Premium).
Test any 2FA method on your own account before requiring it.
Test any 2FA method on your own account before requiring it.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best 2FA (Two-factor authenticatio… alternatives

All 2-factor authentication plugins →

FAQ

2FA (Two-factor authentication) for…: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is 2FA (Two-factor authentication)… free?

Yes. 2FA (Two-factor authentication)… is free to download and use from the official WordPress.org plugin directory.

Is 2FA (Two-factor authentication)… safe to use in 2026?

Yes — 2FA (Two-factor authentication)… is a safe, well-maintained plugin to use in 2026. It runs on 10K+ sites, is rated 4.6/5 and was last updated 2 days ago, and scores 88/100 on our health check.

How many websites use 2FA (Two-factor authentication)…?

2FA (Two-factor authentication)… is active on 10K+ WordPress websites and has been downloaded 2,598,869 times since it launched in July 2015. It was downloaded 44,638 times in the last 30 days.

Does 2FA (Two-factor authentication)… work with WordPress 7.1?

Yes. The developer has tested 2FA (Two-factor authentication)… up to WordPress 7.1.5, the latest release. It requires WordPress 5.3.0 or newer.

What PHP version does 2FA (Two-factor authentication)… need?

2FA (Two-factor authentication)… requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was 2FA (Two-factor authentication)… last updated?

The latest version, 6.7.2, was released on December 1, 2026 (2 days ago).

Who makes 2FA (Two-factor authentication)…?

2FA (Two-factor authentication)… is developed and maintained by miniOrange.

What are the best alternatives to 2FA (Two-factor authentication)…?

The most popular alternatives to 2FA (Two-factor authentication)… are WP 2FA (100K+ installs), SecSign (200+ installs) and Secured WP (<10 installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open