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.

Features | Getting Started | 14-Day Premium Trial

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.

Mantenido y apoyado por WP White Security

WP White Security builds high-quality WordPress security & admin plugins such as WPassword, and WP Activity Log, the #1 user-rated activity log plugin for WordPress.

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

Características y capacidades clave del plugin WP 2FA

Extend the functionality of WP 2FA & automate more

Upgrade to WP 2FA Premium to:

  • 2FA over SMS, Push notification, WhatsApp and incoming call via Authy integration
  • Add trusted devices – no need for 2FA code each time you log in
  • Whitelabel all the 2FA pages – for a consistent user experience
  • Give the users more 2FA methods to choose from and use
  • Configure different 2FA policies for different user profiles
  • More alternative 2FA backup methods
  • Easily get an overview of users’ 2FA setup with the reports
  • And many other features

Refer to the features and benefits page to learn more about the benefits of upgrading to WP 2FA Premium.

Free and Premium Support

Support for WP 2FA is free on the WordPress support forums.

Premium world-class support is available via email to all WP 2FA Premium users.

Note: paid customer support is given priority and is provided via one-to-one email and over the phone. Upgrade to Premium to benefit from priority support.

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

As Featured On:

Enlaces relacionados y documentación

Desde dentro de WordPress

  1. Visita «Plugins > Añadir nuevo»
  2. Busca «WP 2FA»
  3. Instala y activa WP 2FA desde tu página de plugins.


  1. Descarga el plugin desde el repositorio de plugins de WordPress
  2. Descomprime el archivo ZIP y sube la carpeta wp-2fa al directorio /wp-content/plugins/
  3. Activa el plugin WP 2FA a través del menú «Plugins» en WordPress


  • El asistente de primera instalación te permite configurar 2FA en tu web y para tu usuario en cuestión de segundos.
  • Los asistentes hacen muy fácil la configuración de 2FA, de forma que, incluso los usuarios no técnicos, puedan configurar 2FA sin necesidad de ayuda.
  • Puedes obligar a los usuarios a activar 2FA y también darles un período de gracia para que lo hagan.
  • Los usuarios también pueden usar códigos de un solo uso por correo electrónico como un método de identificación de dos factores.
  • Puedes usar políticas para obligar a los usuarios a configurar y usar 2FA inmediatamente, por lo que se les pedirá que lo hagan la siguiente vez que accedan.
  • Se recomienda a todos los usuarios que también generen códigos de respaldo, para el caso de que no puedan acceder en el dispositivo principal.
  • En el perfil de usuario, los usuarios solo tienen unas pocas opciones de 2FA, por lo que no les es confuso y todo se explica por sí mismo.
  • El plugin bloquea las cuentas de los usuarios que han sido obligados a tener 2FA pero no lo han hecho dentro del período de gracia, de forma que no pongan en riesgo la seguridad de tu web.


31 de diciembre de 2022 2 replies
The plugin may be good but it completely hijacks the WP admin interface. I literally can not open any page in WP admin unless I add 2 factor auth. Not even the plugins page to deactivate. Not sure if this is an annoying feature or a bug but makes the site unsuable.
24 de noviembre de 2022
In the beginning there were some problems with the implementation. Therefore, I contacted the support. They were able to help me very well. I am glad to use a plugin whose support works so well. I can only recommend the plugin
19 de noviembre de 2022
There are a few tweaks here and there to maximize its functionality within my website, however, overall, this plugin is simply great.
19 de noviembre de 2022
Our organization tries to enforce 2FA everywhere we possibly can. This plugin fills that need perfectly, and works very well. The support is great also - the best experience I’ve had attempting to use the Forum on a free plugin.
3 de noviembre de 2022
The plugin is great and suits my needs had an issue and the customer service got back to me really quickly and was awsome highly recomended for the customer support and ease of use for the plugin.
Leer todas las 88 reseñas

Colaboradores y desarrolladores

«WP 2FA – Two-factor authentication for WordPress» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


«WP 2FA – Two-factor authentication for WordPress» ha sido traducido a 9 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «WP 2FA – Two-factor authentication for WordPress» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

2.3.0 (2022-09-06)

Release notes: More white labelling options & better licensing

  • Nuevas características

    • Added a new plugin setting so admins can disable the 2FA wizards styling.
  • Mejoras

    • Several UI and styling improvements in the plugin’s settings pages.
    • User’s 2FA configuration is removed when user is excluded.
    • Applied improved and responsive styling to the user 2FA wizards.
    • Better out-of-the-box support for websites on which access to wp-login.php & wp-admin is blocked.
    • Super administrators can now log in and use 2FA even if they do not have any role on any sub sites.
    • Added support for websites hosted on Godaddy that also have the Sucuri plugin enabled (Sucuri plugin was breaking the 2FA code page).
    • Better UX for when creating the front-end 2FA page settings.
    • Updated the Freemius SDK to version 2.4.5 to support PHP 8.1.
    • Applied several updates to the «user 2FA status check» code for more reliable status reporting.
    • Applied several maintenance and WP coding standards checks.
    • Plugin bails out early instead of trying to process users with ID 0.
    • Placeholders in plugin settings have been replaced by onces which allow you to see all the content without scrolling.
    • Improved the process that extracts the user role on multisite networks resulting in improvement of how the plugin handles users with multiple roles.
    • Rmoved the words «Google Authenticator» from all the wizards and using «2FA app» instead – plugin supports multiple 2FA apps.
    • Fixed the «focus» in the user 2FA wizard so the cursor is always in the expected location – user does not have to click to select where to enter the verification code.
  • Security Improvement

    • Plugin now uses the WordPress salts to store and encrypt 2FA data in the database.
    • Improved the comparison of authentication codes – ensuring the plugin is not vulnerable to time-based side-channel attacks.
  • Bug fixes

    • Fixed: QR code not loading in user 2FA wizard in some edge cases on a multisite network.
    • Fixed: the setting «Hide Remove 2FA button» was not properly reflecting the status on multisite networks.
    • Fixed: grace period check cron called the wrong settings.
    • Fixed: two emails are sent when a backup code over email is requested.
    • Fixed: incorrect 2FA methods count was showing in the user wizard.

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