Spam form entries, fake registrations and automated comment spam are often submitted by bots.
A CAPTCHA or anti-bot plugin can help WordPress tell the difference between a real visitor and an automated request.
- Log in to your WordPress admin area.
- Go to Plugins > Add New.
- Search for
CAPTCHA,reCAPTCHA,hCaptcha,Turnstileor anti-spam plugins that work with your form plugin. - Choose a reputable plugin with recent updates and good reviews.
- Click Install Now.
- Click Activate.
- Open the plugin settings.
- Follow the plugin instructions to connect it to the CAPTCHA or anti-bot provider.
- Add the protection to your forms, login page, registration page or comments as needed.
- Test the form while logged out of WordPress.
Some plugins need site keys or API keys from a provider such as Google reCAPTCHA, hCaptcha or Cloudflare Turnstile.
Try not to make forms harder to use than necessary. CAPTCHA tools can sometimes affect accessibility or frustrate genuine visitors, so test the form after enabling protection.
If you already use a contact form plugin, check whether it has built-in anti-spam options before installing another plugin.