Guide

How to Create a Contact Form in WordPress (2026)

Add a contact form to your WordPress site in minutes. Compare WPForms, Gravity Forms, and Contact Form 7. Learn spam protection and form best practices.

How to Create a Contact Form in WordPress

A contact form lets visitors reach you without exposing your email address to spam bots. Every WordPress site needs one. Here's how to add a professional contact form in minutes.

Choose Your Form Plugin

Three plugins dominate WordPress contact forms:

  • WPForms Lite (free): Drag-and-drop builder, beginner-friendly, excellent UX. Paid version adds conditional logic and payments.
  • Contact Form 7 (free): Lightweight and highly customizable via shortcodes. Requires more configuration but no bloat.
  • Gravity Forms (paid, $59/yr): Most powerful option — multi-step forms, conditional logic, payment fields, Zapier integration.
  1. Install WPForms from Plugins → Add New
  2. Navigate to WPForms → Add New
  3. Select the Simple Contact Form template
  4. Drag and drop fields (Name, Email, Message are standard). Add Phone, Subject, or custom fields as needed.
  5. Click Settings → Notifications to configure where form submissions are emailed
  6. Click Save, then copy the shortcode (e.g., [wpforms id="123"])
  7. Create or edit a Contact page in WordPress, paste the shortcode, and publish

Spam Protection

Enable reCAPTCHA (v2 or v3) in your form plugin settings to block automated spam. WPForms includes built-in honeypot protection. For high-traffic sites, Akismet integration adds an additional spam filter layer.

Best Practices

  • Keep forms short — name, email, and message is often enough
  • Set a confirmation message that tells users what to expect next
  • Test your form after setup by submitting a test entry
  • Add your contact page to your navigation menu
  • Include a phone number alongside the form for visitors who prefer calling

Start building with SiteICO

Deploy your WordPress site in under 1 second. Follow our guides to get the most out of the platform.

No credit card required.