WP 2FA – Two-factor Authentication for WordPress



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

Use the WP 2FA plugin to enable two-factor authentication for your WordPress administrator user, and to enforce your website users, or some of them to use 2FA. This plugin is very easy to use. It has wizards with clear instructions, so even non technical users can setup 2FA without requiring technical assistance.

Maintained & Supported by WP White Security

WP White Security builds high-quality niche WordPress security & admin plugins such as Password Policy Manager, a plugin with which you can ensure all your users use strong passwords.

Browse our list of WordPress plugins that can help you better manage and improve the security of your WordPress websites and users.

WP 2FA Key plugin features & capabilities

  • Free Two-factor authentication (2FA) for all users
  • Supports TOTP (code from 2FA apps like Google Authenticator and Authy) and OTP (email based codes)
  • Supports 2FA backup codes
  • Very easy to use and wizard driven
  • Use policies to enforce 2FA with a grace period or require your users to instantly setup 2FA upon login
  • Protection against automated password guessing and dictionary attacks

FREE Plugin Support

Support for the WP 2FA plugin is available for free via:

For any other queries, feedback, or if you simply want to get in touch with us please use our contact form.

Related Links and Documentation

From within WordPress

  1. Visit ‘Plugins > Add New’
  2. Search for ‘WP 2FA’
  3. Install & activate the WP 2FA from your Plugins page.


  1. Download the plugin from the WordPress plugins repository
  2. Unzip the zip file and upload the wp-2fa folder to the /wp-content/plugins/ directory
  3. Activate the WWP 2FA plugin through the ‘Plugins’ menu in WordPress


  • The first-time install wizard allows you to setup 2FA on your website and for your user within seconds.
  • The wizards make setting up 2FA very easy, so even non technical users can setup 2FA without requiring help.
  • You can require users to enable 2FA and also give them a grace period to do so.
  • Users can also use one-time codes via email as a two-factor authentication method.
  • You can use policies to require users to instantly set up and use 2FA, so the next time they login they will be prompted with this.
  • It is recommended for all users to also generate backup codes, in case they cannot access the primary device.
  • In the user profile users only have a few 2FA options, so it is not confusing for them and everything is self explanatory.
  • The plugin blocks the accounts of users who are required to have 2FA but fail to enable it within the grace period, so they do not jeopardize the security of your website.


July 29, 2020
This is a great plugin and for basic setup it works beautifully. I was looking for a plugin that worked with email 2-FA and this fit the bill nicely. The only problem is that it does not work with any login forms other than the standard WordPress login form or WooCommerce login/logout via the My Account page. The forms issue is frustrating and I hope that a solution can be found for that soon. Otherwise, this plugin is great. Much appreciation to the authors.
July 24, 2020
This one is by far the easiest to use, least cluttered, excellent very well thought out wizard. Love that you can force 2-factor and hide the plugin options from other admins. They have thought of every scenario! I tried many other 2-factor plugins which had a even higher active installations but nothing compared to this one. This feels like a premium plugin, should be merged into WordPress core! I was also able to use a unsupported app "Okta".
July 21, 2020
The currently best 2FA Plugin on the market! Has many features that are charged for with other plugins. The support answers very fast and is very helpful! Thanks a lot!
July 20, 2020
It’s an amazing plugin, works great and adds a new layer of security to the website. Great customer service, Robert is great! 🙂
Read all 14 reviews

Contributors & Developers

“WP 2FA – Two-factor Authentication for WordPress” is open source software. The following people have contributed to this plugin.



1.4.1 (2020-07-31)

This is a followup maintenance release of version 1.4.0.

  • Improvements

    • Updated the plugin settings text and wizards’ text to reflect the new changes (support for multiple 2FA apps)
    • Redirect users to the user profile page if they exit the 2FA setup wizard.
  • Bug fixes

    • Reset 2FA app method button not working in wizard.
    • When a 2FA method is disabled, all enabled user configured 2FA methods are cleared in the usermeta, falsely flagging the user to reconfigure 2FA.
    • Fixed a minor UI compatability issue with Jetpack CRM.

Refer to the complete plugin changelog for more detailed information about what was new, improved and fixed in previous version updates of WP 2FA.