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.
[youtube
https://www.youtube.com/watch?v=vRlX_NNGeFo]
Features |
Getting Started |
Get the Premium!
🔒 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
- Editable email templates for full customization
- Much more!
💎 Upgrade to WP 2FA Premium and get even more benefits
The premium version of WP 2FA comes bundled with even more features to take your WordPress website login security to the next level.
With the premium edition of WP 2FA, you get more 2FA methods, 1-click integration with WooCommerce, trusted devices feature, extensive white labeling capabilities, and much more!
Check out WP 2FA Premium!
Premium features list
- Everything in the free version
- Full white labeling capabilities to change all text and visuals in the wizards, emails, SMS, and 2FA pages
- Support for multiple passkeys per user for flexible passwordless logins
- Zero-setup email 2FA that automatically enrolls users without manual configuration
- YubiKey hardware key support for enterprise-grade security
- Additional 2FA methods such as SMS, email link, and more
- Trusted devices so users can log in without 2FA for a configured period
- Require 2FA on password reset to strengthen account protection
- Allow next user login without 2FA to help recover accounts locked out of authentication
- One-click WooCommerce integration to enable 2FA for customers and store admins
- And much more!
Refer to the
WP 2FA plugin features and benefits page to learn more about the benefits of upgrading to WP 2FA Premium.
🛠️ Free and premium support
Support for the free edition of WP 2FA is free on the
WordPress support forums. Premium world-class support via one-to-one email is available to the Premium users -
upgrade to premium to benefit from email support.
For any other queries, feedback, or if you simply want to get in touch with us, please use our
contact form.
MAINTAINED & SUPPORTED BY MELAPRESS
Melapress develops high-quality WordPress management and security plugins, such as Melapress Login Security, Melapress Role Editor, and WP Activity Log; the #1 user-rated activity log plugin for WordPress.
Browse our list of
WordPress security and administration plugins to see how our plugins can help you better manage and improve the security and administration of your WordPress websites and users.
3.1.0 (2025-12-17)
- New features
- Passkeys support - allow users to use Passkeys, a cryptographic and secure passwordless solution.
- Plugin & functionality improvements
- Removed some redundant text from the Free edition first-time setup wizard.
- Added a number of KB links to the admin notification email that is sent when a user bypasses 2FA due to lack of frontend configuration options.
- Simplified the user flow in the wizard by removing some redundant steps when only one 2FA method is available.
- Added the new tag {wp_admin_email} to be used in the email templates. This one retrieves the site administration email address.
- Added the final steps of the wizard, to the white labeling module, making it possible to white label all the wizards' slides.
- Removed the plugin usage survey notice from the plugin.
- Strengthened the authentication flow validation and improved the database query sanitization to prevent potential security vulnerabilities. These enhancements ensure more robust protection of user accounts and data integrity.
- The 2FA setup wizard now automatically opens when users are redirected to the custom frontend 2FA configuration page after login, eliminating the need to click "Configure 2FA" to start the 2FA configuration process.
- Improved the 2FA code page logic so it properly hides the "Log in" button and "Remember this device" options when When a 2FA method becomes unavailable, for example, due to service outage.
- Bug fixes
- Fixed: The [wp-2fa-setup-notice] shortcode now properly respects the configure_2fa_url set in the plugin settings.
- Fixed: When using REST validation method, disabling the anti-brute force attack protection now works correctly.
- Fixed: On WordPress multisite installations with WooCommerce active, users logging into a subsite's admin area are now correctly redirected to that subsite's admin dashboard after completing 2FA authentication.
- Fixed: When using REST API validation method, users can now successfully authenticate through WordPress's interim login modal (session timeout re-login).
Refer to the complete
plugin changelog for more detailed information about what was new, improved and fixed in previous version updates of WP 2FA.