Hi @energenetics,
WooCommerce doesn’t manage WordPress user accounts directly, so deleting large numbers of spam users is outside our support scope. However, here are a few safe approaches you can use:
- Use a dedicated cleanup plugin: Tools like “Delete Users by Role,” “Bulk Delete,” or “Advanced Delete Users” let you filter users by:
• role (e.g., customer)
• registration date
• last login
• meta fields
Then you can bulk-remove them safely.
(These plugins are third-party, so we can’t endorse a specific one, but they’re commonly used for spam cleanup.)
- Use WordPress default bulk actions: Go to Users → All Users, switch the screen option to show the max rows (e.g., 999), filter by role (Customer), then bulk delete.
This is slower but works without extra plugins.
- If you have hosting-level tools: Some hosts offer database cleanup utilities, which can remove large numbers of accounts based on date or inactivity.
Since reCAPTCHA is now active, new spam accounts should be reduced significantly. After cleanup, you may also want to disable “Anyone can register” in Settings → General unless you specifically need open registration.
Thank you very much for your detailed response. I was unaware that I could change the items per page. That will help significantly since there are more than 55,000 to delete. I still may try a plugin if this is still too slow.
You’re welcome! I’m glad that helped.
If you’re dealing with 55,000+ accounts, the WordPress bulk delete screen may still feel slow or may time out depending on your hosting limits. In that case, using a dedicated cleanup plugin is usually the fastest and safest approach because many of them process deletions in smaller batches to avoid server overload.
A couple of tips while you proceed:
- Work in batches (even with plugins) to prevent timeouts.
- Take a full database backup before bulk deletion, especially with a large volume like this.
- After cleanup, keeping reCAPTCHA active and disabling open registration (if not required) will help prevent future spam.
Feel free to update the thread if you run into any issues during the cleanup. We’re here to help guide you.
It’s been a while since we heard back from you for this reason we are closing this thread.
If WooCommerce has been useful for your store and you appreciate the support you’ve received, we’d truly appreciate it if you could leave us a quick review here:
https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/#new-post
Feel free to open a new forum topic if you run into any other problem.