Type to search.

#351 by installs

WP 2FA – Two-factor authentication for WordPress

by MelapressVersion 4.2.1

Get better WordPress login security; add two-factor authentication (2FA) for all your users with this easy-to-use plugin.

Active installs
100,000+
#351 of 1,000
Downloads, all time
2.1M
2,062,115
Downloads, 30 days
189.8K
22.8K in the last 7
Rating
4.7 / 5
184 reviews
Last updated
17 days ago
Oct 14, 2026
Version
4.2.1
44 releases

Upkeep and compatibility

Last updatedOctober 14, 2026Updated in the last 3 months
Tested up toWordPress 7.1.4Covers WordPress 7.1.4, the current release
Needs WordPress5.7 or newer
Needs PHP7.4 or newer
First publishedMarch 20, 2020
Support, last two months11 of 16 threads resolved (69%)

Reviews

4.7 / 5 from 184 reviews

Reviews by star rating
5 stars165
4 stars3
3 stars1
2 stars2
1 star13

Downloads, last 30 days

Low 539 a dayHigh 30.9K a day

What the author says it does

A free and easy-to-use two-factor authentication plugin for WordPress

Add an extra layer of security to your WordPress website login and protect your users. Enable two-factor authentication (2FA), the best protection against password leaks, automated password guessing, and brute force attacks.

Use the WP 2FA plugin to enable two-factor authentication for your WordPress administrator, enforce 2FA for all your website users, or for users with specific roles. This plugin is very easy to use; everything can be configured via wizards with clear instructions, so even non-technical users can set up 2FA without requiring technical assistance.

🔒 WP 2FA key plugin features and capabilities

  • Passkeys support for passwordless logins
  • Free two-factor authentication (2FA) for all users
  • Multiple 2FA methods supported, including authenticator app (TOTP) and code over email
  • Developer API to integrate any alternative 2FA method (WhatsApp, OTP Token, etc.)
  • Universal 2FA app support – works with Google Authenticator, Authy, and any TOTP-compatible app
  • Backup codes (16 digits) for recovery access
  • Wizard-driven setup – no technical knowledge required
  • 2FA policies to enforce setup with grace periods or instant activation
  • REST API endpoints for custom integrations and headless WordPress setups
  • Dashboard-free setup – users can configure 2FA without WP admin access

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Questions the author answers

Does the plugin send any data to Melapress?

No, the plugin does not send any data to us whatsoever. The only data we receive is license data from the premium edition of the plugin.

What 2FA methods are available with the plugin?

The free edition of WP 2FA includes the following 2FA methods: Authenticator app 2FA and code over email. This allows you to use Google Authenticator OTP The premium edition adds YubiKey, one-click email link, SMS 2FA, and Authy push notifications.

How can I integrate two-factor authentication (2FA) into my custom login process or AJAX-based form?

WP 2FA includes a REST API that allows developers to enable and verify 2FA during custom authentication flows, such as AJAX-based login forms, mobile apps, or headless WordPress websites. Refer to the REST API in WP 2FA documentation for more information.

How can I ensure I do not get locked out?

WP 2FA includes backup authentication methods so that if the primary authentication method fails, you and your users can still log in. The free version of the plugin includes backup codes, which can be configured during 2FA configuration or at any point after that from the profile page. The premium edition adds 2FA backup codes over email.

What happens if I get locked out?

In the unlikely event that you are unable to supply your 2FA code, there are several steps you can take to gain access to your WordPress dashboard. First, check if there is another administrator who can reset your 2FA. If this is not possible, manually deactivate the plugin, log in without 2FA, re-activate the plugin, and then reconfigure your 2FA.

Does WP 2FA support multi-site networks?

Yes, WP 2FA is multisite compatible. The plugin can be activated at the network level. 2FA policies can be enforced on all users, a subsection of users, or per site on the network. It also supports network setups with different domains.

Latest changelog entry

4.2.1 (2026-10-14)

• Functionality & plugin improvements *

  • Updated the Freemius SDK to version 2.13.5.
  • Added a link to the Wordfence Login Security migration guide in the wizard and migrator page.
  • Improved the Wordfence migration completion notice to confirm that all users’ 2FA configurations and backup codes have migrated and that Wordfence Login Security can be uninstalled. Made the notice more visible and removed the OK button.

• Bug fixes *

Screenshots

First 4 of 11, from WordPress.org.

Tagged

Plugins that share its tags

#57 by installs

All-In-One Security (AIOS) – Security and Firewall

by David Anderson / Team Updraft

Protect your WordPress site with All-In-One Security (AIOS): easy-to-use login security, a powerful firewall, and much more.

Installs
1+ million
Rating
4.7 (1.7K)
Updated
1 day ago

#312 by installs

Two Factor

by WordPress.org

Enable Two-Factor Authentication (2FA) using time-based one-time passwords (TOTP), email, and backup verification codes.

Installs
100,000+
Rating
4.7 (209)
Updated
33 days ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin.