Google reCAPTCHA

Google reCAPTCHA provides a greater level of security for both the storefront and Admin UI than is available with standard CAPTCHA, and gives you the ability to:

  • Verify when customers create accounts, retrieve passwords, log in to their accounts, or contact your company.
  • Enhance security when Admin users log in.

Google reCAPTCHA reduces potential user error when entering a Captcha code and encourages cart conversion without adding hurdles during checkout.

Magento Community Contribution - Magento thanks Riccardo Tempesta of MageSpecialist for contributing these features as part of the Magento Community Engineering program.

Install Module

The Google reCAPTCHA extension is bundled and installed with Magento Open Source and Magento Commerce 2.3.x.

Configure reCAPTCHA

Before reCAPTCHA can be configured, ensure that your PHP.ini file includes this setting: allow_url_fopen = 1. See Required PHP Settings.

See the Magento Admin User Guide Open Source and Commerce for configuration options in the Magento Admin and storefront.


The extension supports a command line option for disabling reCAPTCHA. Use this command when you cannot access the Magento Admin UI.

bin/magento msp:security:recaptcha:disable