Protect your Contact Form 7 form from spam bots
In short: To stop spam on a Contact Form 7 form, install the SpamKill WordPress plugin, add your license key and tick Contact Form 7 on its Integrations tab. SpamKill then checks every Contact Form 7 submission without a CAPTCHA, and real messages still reach your inbox. It takes about 10 minutes.
Bots are filling your Contact Form 7 forms with fake messages. The SpamKill WordPress plugin checks every submission before Contact Form 7 sends it on. Your fields, mail settings and messages keep working as they do now. It takes about 10 minutes.
- 6 steps
- About 10 min
- No code needed
Last verified on Contact Form 7 6.1.7, SpamKill plugin 3.0.2, WordPress 7.2
What changes, and what doesn't
- Your Contact Form 7 forms, fields and design
- The mail Contact Form 7 sends you
- Where each form sits on your pages
- Every submission is checked before Contact Form 7 sends it on
- No CAPTCHA for your visitors
- Undo it anytime by unticking one box
“SpamKill is our go-to for protection! The implementation is simple and clear, and the results are instant.”
Before you start
Have these ready so nothing stops you halfway.
- A paid SpamKill planForm protection comes with every paid plan. No account yet? Start a free trial.
- Admin access to WordPressYou need to install plugins and change their settings.
- Contact Form 7, with your form on a pageThe free plugin is all you need.
Quick setup
For returning users. Each line links to its full step.
- In WordPress, open Plugins › Add Plugin, search for SpamKill, then click Install Now and Activate. Step 1
- Copy your WordPress plugin API key from the SpamKill Console, paste it into SpamKill › Configuration › License key and click Save Settings. Step 2
- On the Integrations tab, tick the Contact Form 7 box and click Save Settings. Step 3
- In Contact › Integration, remove any reCAPTCHA or Turnstile keys. Step 4
- The Contact Form 7 block and the [contact-form-7 id="…"] shortcode are protected now. View the page while logged in to check. Step 5
- Clear your page cache. Submit [email protected] and expect SpamKill's error, then submit a real message. Step 6
Install the SpamKill plugin
Where: WordPressPluginsAdd Plugin
In your WordPress admin, go to Plugins › Add Plugin. Search for SpamKill. Click Install Now on the SpamKill plugin, then click Activate.
You should see: A SpamKill item in your admin menu.
The listing only mentions comments and reviews?
That's the free part. It's the same plugin: your license key in the next step unlocks Contact Form 7 and the other form plugins.
Add your license key
Where: WordPressSpamKillConfiguration
Sign in to the SpamKill Console. On the home page, click COPY next to your WordPress plugin API key. In WordPress, open SpamKill in the admin menu. On the Configuration tab, paste the key into License key (1). Click Save Settings (2).
You should see: Pro mode active in green under the key.
Can't find a license key in SpamKill?
The Console calls it your WordPress plugin API key. It's on the home page and under Configuration › API key. One key covers all your sites.
Turn on Contact Form 7
Where: WordPressSpamKillIntegrations
Still in SpamKill, open the Integrations tab (1). Tick the box for Contact Form 7, listed as Contact Forms 7 (2). Scroll down and click Save Settings.
You should see: The Contact Form 7 box still ticked after the page reloads.
Is the Contact Form 7 box greyed out?
SpamKill only unlocks the box once Contact Form 7 is active and Pro mode active shows on the Configuration tab. Activate Contact Form 7 under Plugins, or save your license key again.
Check Contact Form 7's CAPTCHA
Where: WordPressContactIntegration
Go to Contact › Integration. If reCAPTCHA or Turnstile is set up there, remove its keys. If both show Setup integration, there's nothing to change.
You should see: Setup integration under both reCAPTCHA and Turnstile.
Why remove the CAPTCHA?
SpamKill already checks every submission, so your visitors don't need to solve a puzzle. This is the setup SpamKill is tested with.
Check how your form is placed
Where: WordPressPagesYour page
Open the page with your form in the WordPress editor. A form added with the Contact Form 7 block is protected now. A form added with the [contact-form-7 id="…"] shortcode is protected now too. Then view the page while you're logged in (1).
You should see: Under your form, a notice only logged-in admins see: Admin Notice: This form is protected by Spamkill.
Want SpamKill on one form only?
Leave the Contact Form 7 box in SpamKill unticked and wrap that form's shortcode in [spamkill], like this: [spamkill][contact-form-7 id="abc1234"][/spamkill]. Copy the form's own shortcode from the Shortcode column in Contact › Contact Forms.
Clear your cache and test
If your site uses a caching plugin, clear its cache so visitors get the protected form. Open your page in a private window. Submit the form with [email protected] (1). Then go back and submit it with your own details.
The first try shows That email address doesn't look right.
The second try shows Contact Form 7's sent message (2), by default Thank you for your message. It has been sent.
Contact Form 7's mail for the second try. Contact Form 7 doesn't store messages, so your inbox is where they arrive.
You should see: Thank you for your message. It has been sent. under the form after the second try.
See "Did you mean …?" under the email?
That's SpamKill's typo hint. It doesn't stop the form: click the submit button anyway.
Your Contact Form 7 form is protected
- Bots are stopped before they reach Contact Form 7.
- Real leads arrive exactly as before, with no extra steps for them.
- Every block is logged in your SpamKill dashboard.
Something not working?
Find what you're seeing.
My form still shows a CAPTCHA
Open Contact › Integration and remove the reCAPTCHA or Turnstile keys. Then clear your page cache.
The message sent, but no mail arrived
Check the Mail tab of your form in Contact › Contact Forms, and your spam folder. Contact Form 7 doesn't store messages, so mail is the only copy.
A notice says "This form is NOT protected by SpamKill"
Only logged-in admins see it. Open SpamKill › Integrations, tick Contact Form 7 and click Save Settings. Or wrap that one form's shortcode in [spamkill].
My form still shows the old fields
SpamKill keeps a protected copy of each form. In WordPress, open SpamKill and, on the Configuration tab, click Delete Cache under SpamKill: Cache. Then clear your page cache.
A notice says the key was not accepted
The key was mistyped or your plan has ended. Copy the WordPress plugin API key from the SpamKill Console again, paste it into License key and click Save Settings.
A real visitor was told their email doesn't look right
SpamKill checks for missing @ symbols, extra spaces and common typos. The visitor can click Go back to the form, fix the address and send again.
Changed your mind? Undo in under a minute
- In WordPress, open SpamKill and go to the Integrations tab.
- Untick Contact Form 7 and click Save Settings. Contact Form 7 handles your forms on its own again.
- If you wrapped a shortcode in [spamkill], delete the wrap.
- Optional: set up reCAPTCHA or Turnstile again under Contact › Integration.
Thanks! Glad your form is protected.
Sorry about that. Tell us which step tripped you up and we'll fix the guide.
Stuck? We'll set it up with you.
Free setup help for every plan. Send us a message and we'll walk through your Contact Form 7 form with you.
Get setup help