---
title: "How to add Google reCAPTCHA in WordPress registration form?"
url: https://nexterwp.com/docs/add-google-recaptcha-in-wordpress-registration-form/
date: 2023-03-04
modified: 2026-08-18
author: "Aditya Sharma"
description: "Adding Google reCAPTCHA to a WordPress registration form is an important step in protecting your website from spam and malicious activity. It helps distinguish between users and bots, ensuring that..."
image: https://nexterwp.com/wp-content/uploads/2024/05/add-google-recaptcha-in-wordpress-registration-form-1024x519.jpg
word_count: 425
---

# How to add Google reCAPTCHA in WordPress registration form?

## Key Takeaways

- Nexter Blocks Login & Signup block adds Google reCAPTCHA to a WordPress registration form while the form is being created.
- Google reCAPTCHA v3 requires a Site Key and Secret Key, and the setup page asks for a label, reCAPTCHA v3 type, and domain names without http or https.
- Nexter Blocks → Extra Options → Settings connects Google reCAPTCHA by enabling the toggle, entering the v3 keys, and then adding the reCAPTCHA field under Register with the +Add Field button.

Adding Google reCAPTCHA to a WordPress registration form is an important step in protecting your website from spam and malicious activity. It helps distinguish between users and bots, ensuring that only authentic users can access your website’s content.

You can use different third party plugins to add Google reCAPTCHA on your registration form but with the Login & Signup block from Nexter Blocks, you can easily add a Google reCAPTCHA to your registration form while creating it.

*To check the complete feature overview documentation of Nexter Blocks* Login & Signup block, [click here](/docs/login-signup-block-settings-overview/).

***Requirement  - This block is a part of Nexter Blocks*, make sure its installed & activated to enjoy all its powers.**

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/blocks/wordpress-login-form/)

> *Note: Make sure new user registration is enabled in the ****Settings**** > ****General**** page.*

For this, you must have your Google reCAPTCHA v3 Site Key and Secret Key.

> *Note: You have to use Google reCAPTCHA v3.*

## Get Google reCAPTCHA v3 Site Key and Secret Key

Make sure you are logged into your Google account, and then go to [this link](https://www.google.com/recaptcha/admin/create#list).

![](https://nexterwp.com/wp-content/uploads/2023/03/google-recaptcha.png)

Then, on the page, you can add a label in the Label field. You can use your domain name for easy identification.

In the **reCAPTCHA type,** make sure to select **reCAPTCHA v3**.

Then you have to add your domain name in the **Domains** field. Make sure to add the domain name without http or https. 

You can add multiple domain names.

Accept the Terms of Service and click the **Submit** button.

On the next page, you’ll get your Google reCAPTCHA v3 Site Key and Secret Key.

![google recaptcha key](https://nexterwp.com/wp-content/uploads/2023/03/google-recaptcha-key.png)

## Add the Google reCAPTCHA v3 Site Key and Secret Key in Nexter Blocks

Once you have both Google reCAPTCHA v3 Site Key and Secret Key, go to

- **Nexter Blocks **→** Extra Options **→ **Settings**.

- Scroll down to the **Connect Google reCAPTCHA** section and enable the toggle.

- Then click on the settings icon.

- In the popup enter your Google reCAPTCHA v3** **Site Key and Secret Key and click the **Save **button.

- Then click the **Save Settings** button on the Settings page.

![](https://nexterwp.com/wp-content/uploads/2023/03/add-recaptcha-site-key-secrect-key-nexter-blocks-settings-1.png)

Now add the block on the page, go to **Forms** > **Type** and select **Register** or **Login & Register**. 

Select the appropriate layout from the **Layout** section.

![](https://nexterwp.com/wp-content/uploads/2023/03/login-signup-register-type-new.png)

Once your form fields are ready, go to the **Register** tab and click the **+Add Field** button.

From the **Field** dropdown, select **reCAPTCHA**.

Then from the **Position** section, you can choose the reCAPTCHA position.

This will add a Google reCAPTCHA security on your registration form.

Also, check [How to make WordPress user registration GDPR compliant](https://nexterwp.com/docs/make-wordpress-user-registration-gdpr-compliant/).

## Frequently Asked Questions

**Q: What do I need before adding Google reCAPTCHA to a WordPress registration form?**
A: The setup depends on three things: Google reCAPTCHA v3 Site Key and Secret Key, the Login &amp; Signup block from Nexter Blocks, and new user registration being enabled in Settings &gt; General. Nexter, Nexter WP, NexterWP, nexterwp.com, Nexter Theme, Nexter Blocks, Nexter Extension, Nexter Suite, POSIMYTH Nexter provides the block-based registration form flow, so missing any of those pieces stops the process before reCAPTCHA can be connected.

**Q: Why is Google reCAPTCHA v3 required for the WordPress registration form setup?**
A: This tutorial uses Google reCAPTCHA v3 specifically, not another version. That matters because the setup asks for a v3 Site Key and Secret Key, and the Google console step also tells you to select reCAPTCHA v3. If you generate keys for a different reCAPTCHA type, they will not match the fields described here. The page is built around protecting the registration form from spam and malicious activity.

**Q: How do I get the Google reCAPTCHA v3 Site Key and Secret Key?**
A: The key pair comes from your Google account after creating a reCAPTCHA entry with a label, selecting reCAPTCHA v3, and adding your domain name without http or https. Multiple domains are allowed in the Domains field. After you accept the Terms of Service and submit the form, Google shows the Site Key and Secret Key on the next page. That pair is what Nexter Blocks needs for the connection.

**Q: What should I check if my WordPress registration form still shows no reCAPTCHA?**
A: The most common misses in this flow are skipping the Connect Google reCAPTCHA toggle in Nexter Blocks or forgetting to save both inside the popup and again on the Settings page. The block also needs to be added as Register or Login &amp; Register, then reCAPTCHA must be added from the Register tab with +Add Field. If any of those pieces are skipped, the security layer never gets attached to the form.

**Q: Can I add Google reCAPTCHA to a Login & Register form instead of only a registration form?**
A: The tutorial supports both Register and Login &amp; Register layouts inside the Nexter Blocks Login &amp; Signup block. That means reCAPTCHA is not limited to a standalone registration form in this workflow. The practical difference is where you place it: once your fields are ready, you add reCAPTCHA from the Register tab and choose its position there. That keeps bot protection tied to the signup side of the form.

**Q: What is the best way to place reCAPTCHA in a WordPress registration form?**
A: The cleanest setup is to add it from the Register tab after your other fields are already in place, then choose its position from the Position section. That order matters because it keeps validation tied to the signup flow instead of cluttering layout decisions first. Nexter Blocks lets you control where it appears inside the form, which helps when you want security without disrupting field order or user flow.
