BEGINNER'S GUIDE

How to Prevent Spam Registration on WordPress? (2026 Guide)

Last Updated: 7 mins By: Sougat Neupane

To enable WordPress registration, you must turn on the “Anyone can register” option. However, this option can also lead to spam registrations from random users or even bots.

So, how do we fix this? Watch this video tutorial and follow the steps mentioned in this blog:

Solution 1: Remove the Default WordPress Registration and Login URL

Many spam attacks are caused by automated scripts (malicious code) that target the typical WordPress registration URL at “www.yourwebsite.com/wp-login.php“.

You can change this URL and prevent such spam registrations in WordPress using the User Registration & Membership Plugin.

Follow these steps to change the URL to prevent new user spam registration on WordPress.

  1. Navigate to User Registration > Settings > General > Login Options.
  1. Enable Disable Default WordPress Login Screen.
  1. Add your custom login page under Redirect Default WordPress Login To.
  1. Click Save Changes.
  • select login options
  • disable default wordpress login screen
  • choose custom registration page

This will redirect your default login screen to your custom login page, preventing most spam bots from submitting forms to the default URL.

Furthermore, you can view the source of each registration under Users >> All Users or User Registration >> Users.

If you notice spam registrations coming from sources other than the default login URL, you can either remove or redirect those pages/forms to block further spam sign-ups.

wordpress registration sources

Solution 2: Require Admin Approval for New WordPress Users

If spam registrations still occur on your WordPress site, enable admin approval to approve entries before registration manually. You can also set up email confirmation for approvals.

  1. Go to User Registration > All Forms > Edit (for the form you’re using).
  1. Under Form Settings, find the dropdown for User Approval and Login Options.
  1. Choose one of these options: Admin Approval, Auto Approval after Email Confirmation, or Admin Approval after Email Confirmation.
  1. Click Update Form at the top.

Choosing email confirmation specifically? Our full walkthrough on requiring email verification before login covers the setup, what happens to unverified accounts, and how to troubleshoot delivery issues.

  • edit your registration form

  • dropdown for admin approval
  • choose admin approval options

Solution 3: Add reCAPTCHA, hCaptcha, or Cloudflare Turnstile to Your WordPress Registration Form

To protect your WordPress registration form from spam, you can add reCAPTCHA v2, reCAPTCHA v3, hCaptcha, Cloudflare Turnstile, or Math CAPTCHA. In User Registration & Membership, this lives under Settings >> Captcha — configure whichever type you prefer, then enable it for your form under Form Settings >> General >> Enable Captcha Support.

For the full step-by-step walkthrough — generating Site/Secret keys, enabling CAPTCHA on both the registration and login forms, and troubleshooting conflicts with other CAPTCHA plugins — see our complete guide to adding CAPTCHA to WordPress registration and login forms.


Solution 4: Enable Akismet Spam Protection on WordPress

The User Registration WordPress plugin has Akismet Anti-spam protection in its free version. Here’s how to enable it:

  1. Set Up User Registration and Akismet: Ensure you have the free User Registration plugin set up and the Akismet plugin installed and configured with its API key, which you’ll receive after selecting a plan.
    Configure Akismet Plugin
  2. Enable Akismet Anti-Spam Protection: Open your registration form, go to Form Settings, and toggle on Akismet anti-spam protection. Then, click “Update” to save.
    Activate Akismet Spam Protection

That’s it! Akismet will now analyze each registration using its anti-spam algorithms and then block all spam registrations.


Solution 5: Using an Anti-Spam Honeypot on Your WordPress Form

The honeypot feature adds an invisible field to your WordPress registration form, visible only to spam bots. When a bot fills it, the form detects and blocks it.

To do so, you need to enable an anti-spam honeypot using User Registration Pro.

Open your required form, go to Form Settings >> Advanced, and enable the “Honeypot Spam Protection” toggle.

Activate Honeypot

That’s all you have to do to protect the registration form from annoying spam.


Solution 6: Allow or Block Specific Email Domains, Words, and Addresses on WordPress

User Registration’s domain restriction feature lets WordPress site owners allow only specific email domains to register, while the blocklist blocks users from disallowed domains.

  1. To enable this, open the registration form, go to Form Settings >> Advanced, and toggle the “Allow or Block Email Domains” option.
  2. Under “Choose Allowed or Blocked Domains“, select “Allowed Domains” or “Denied Domains“.
    Enable Whitelist Blacklist
  3. Enter the domains you want to allow or deny in the “Email Domains List” textarea, separated by commas, and click “Update form.”
Enter Allowed Domains

Ensure you only list valid domains like gmail.com or outlook.com. Allowed domains can register, while unlisted ones are blocked. For denied domains, listed ones are blocked, and unlisted ones can register.

Two related toggles in the same Advanced tab are worth knowing about too:

  • Block Certain Words — stops sign-up if specific words (like “admin” or “administrator”) appear in a name or other selected field.
  • Block Emails — stops sign-up from a list of specific email addresses, rather than whole domains.

Solution 7: Block Registrations from Known Spam IP Addresses

If you’re seeing repeat spam registrations from the same IP addresses despite CAPTCHA and the other solutions above, IP-reputation blocking stops them before they ever reach your form. This isn’t something User Registration & Membership handles itself — it’s a network-level check, so it needs a dedicated security plugin (Wordfence, Sucuri, or similar) or a firewall rule at your hosting level.

Most WordPress security plugins let you block by individual IP, IP range, or country, and many maintain their own blocklists of known spam and bot sources that update automatically. Pair this with the solutions above rather than relying on it alone — it catches repeat offenders, not first-time spam from a new IP.


Solution 8: Validate Emails with a Third-Party Service

Solution 6 above lets you manually block domains, words, or individual addresses, but new disposable and temp-mail domains appear constantly, and maintaining that list by hand doesn’t scale. A third-party email validation service — ZeroBounce, NeverBounce, or Clearout, for example — checks in real time whether an address is real, deliverable, and not from a disposable domain, catching signups that pass CAPTCHA and admin approval but use a throwaway inbox.

These aren’t a built-in User Registration & Membership feature — they connect via the service’s own integration, typically a webhook or API call triggered on form submission. Worth adding if fake-but-human-submitted email addresses are a bigger problem for your site than bot traffic.


FAQs on Preventing Spam Registrations in WordPress

How do I block a new user registration in WordPress?

If you want to entirely stop new user registrations, go to Settings >> General on your website’s admin dashboard. Disable the Membership feature by unchecking the Anyone can register option. This blocks new registrations from the default WordPress registration forms or third-party form plugins like User Registration.

How do I remove spam users from WordPress?

You can clear spam users from your database using the Users tab in your admin dashboard. Just bulk-select the spam users and delete them with one click.

Does WordPress have spam blockers?

WordPress, by default, doesn’t have built-in spam blockers. However, you can use WordPress anti-spam plugins and security plugins to prevent spam registrations.

Do I need a security plugin or an email validation service if I already have CAPTCHA enabled?

Not necessarily — CAPTCHA alone stops the vast majority of automated spam. Add IP blocking or email validation only if you’re still seeing spam get through: repeat submissions from the same IPs call for a security plugin, while fake-but-human-submitted addresses call for an email validation service.


Wrapping Up WordPress Spam Prevention

If you want a secure site, you must prevent WordPress spam registrations.

A registration plugin like User Registration helps you build registration forms and enforce strict protection against spam bots with features like Captcha integration, honeypot protection, and more.

For extra security, you might also want to enable strong passwords during registration and approve users after registration.

And that brings us to the end of this article! You’re welcome to check out our blog for more.

How to Prevent Spam Registration on WordPress? (2026 Guide)
Scroll to top

Pin It on Pinterest