How to Add a Contact Form to WordPress

How to Add a Contact Form to WordPress

Direct answer: The fastest way to add a contact form to WordPress is to install a form plugin, build a form with name, email, subject and message fields, add it to a page with a block or shortcode, and test it by sending yourself a message. WPForms Lite is the easiest free option for most sites, Contact Form 7 is the lightest free option, and Elementor’s form widget works well if you already build pages with Elementor. The whole job takes about fifteen minutes — plus the spam protection and email delivery steps most guides skip, which are what keep the form working after launch day.

Which contact form plugin should you choose?

WordPress does not include a contact form, so you need a plugin — and the choice matters less than most roundups suggest. Three free options cover almost every site.

WPForms Lite is the best starting point for most people. It has a drag-and-drop builder, ready-made templates, and a clean settings screen. The free version covers a standard contact form comfortably; the paid version adds conditional logic, file uploads, and payment fields. If you want the form built in five minutes with no learning curve, start here.

Contact Form 7 is the oldest and lightest option, and it is free with no paid tier. It is powerful and flexible, but its interface is form markup rather than drag-and-drop, so it suits people who are comfortable editing a little code. It is an excellent choice on a site where performance matters and you want the smallest possible footprint — but expect to add a separate plugin for spam protection, since it has none built in.

Elementor’s form widget is the right choice if you already build your pages with Elementor. The form lives inside your page design instead of being pasted in from elsewhere, so styling matches automatically. The free version of Elementor includes the form widget, though some advanced actions — like sending the data to a CRM — need Elementor Pro.

Pick one plugin and commit to it. Running two form plugins on the same site is the most common cause of the conflicts and duplicate emails people blame on WordPress itself. If your site already has a form plugin installed, check before installing another — many themes bundle one, and your hosting dashboard may have added one during setup.

How do you build the form?

A good contact form asks for as little as possible. Every extra field reduces the number of people who finish it, so start with four: name, email address, subject, and message. Add a phone field only if you genuinely need to call people back, and add a budget or service dropdown only if it changes how you reply. A form that asks for a company, a job title, a phone number, and a marketing-consent checkbox before a visitor has said a word is a form that gets abandoned.

In WPForms Lite, the steps are: go to WPForms > Add New, choose the “Simple Contact Form” template, and the four fields are already there. Click a field to rename its label or mark it required — name, email, and message should be required; subject can be optional. In Contact Form 7, go to Contact > Add New and edit the form markup, adding or removing the field tags you need. In Elementor, drag the Form widget onto your page and add fields from the panel, setting each field’s type and label.

Two settings deserve attention before you publish. First, the confirmation message: after submitting, the visitor should see a clear message — “Thanks, we’ll reply within one business day” — rather than a bare “Message sent.” Tell them what happens next and when. Second, the notification email: make sure it goes to an address you actually check, not the admin address you set up years ago and never open. In WPForms this is under Settings > Notifications; in Contact Form 7 it is the Mail tab.

How do you add the form to a page?

The form needs a home. The usual choice is a dedicated contact page, but a form also works well in a footer, a sidebar, or at the bottom of a services page — anywhere a visitor is deciding whether to get in touch.

With the block editor, create or edit your contact page, add a WPForms block, and select your form from the dropdown — it renders live in the editor. Contact Form 7 gives you a shortcode such as

    ; paste it into a Shortcode block on the page. In Elementor, the form widget sits directly on the page, so there is nothing to paste. Whichever route you use, the form should sit near the top of the page, under a short heading that says what the visitor gets by writing to you — “Tell us about your project and we’ll reply within one business day” beats a bare “Contact Us” heading.

    Do not put the form on the homepage unless your whole business runs on enquiries. A homepage form competes with everything else on the page, and it invites spam to your most-visited URL. A dedicated contact page, linked from the main menu and the footer, is easier to find, easier to protect, and easier to measure.

    How do you stop spam without annoying visitors?

    An unprotected contact form will attract spam within days — automated bots submit forms at scale, and a form with no protection is an open door. The good news is that modern protection is nearly invisible to real visitors.

    The simplest effective option is a honeypot: a hidden field that humans never see and never fill in, but bots fill in automatically. Any submission with the honeypot filled is spam and gets discarded silently. WPForms Lite includes a honeypot option in its settings; Contact Form 7 needs a small add-on such as Honeypot for Contact Form 7. Turn this on first — it stops most bot spam with zero friction for visitors.

    If spam continues, add Google reCAPTCHA. The current version, reCAPTCHA v3, runs invisibly in the background and scores each visitor; only suspicious ones are challenged. It needs a free API key from Google, which takes a few minutes to set up, and both WPForms and Contact Form 7 support it. Avoid the old checkbox-style CAPTCHA (“I’m not a robot”) unless you have to — it adds friction for every visitor, including the real ones, and most bots now solve it anyway.

    A final layer is a simple rule in the form itself: reject submissions that contain links in the message field, or that arrive implausibly fast — a form completed in under three seconds was not filled in by a human. Some plugins offer this as a setting; others need a small add-on. Layered protection — honeypot plus reCAPTCHA plus a timing check — stops nearly all spam while real visitors notice nothing.

    Why do form emails go missing, and how do you fix it?

    The most common complaint about WordPress contact forms is not spam — it is silence. The form works, the visitor sees the success message, and the email never arrives. This happens because WordPress sends mail with PHP’s wp_mail() function, which many hosts and email providers treat as unreliable. Gmail and Outlook routinely send these messages to spam, or drop them entirely, because they arrive without the authentication that proves they came from your domain.

    The fix is an SMTP plugin. Install a free plugin such as WP Mail SMTP or FluentSMTP, and configure it to send through a real mail service instead of PHP mail — your host’s SMTP server, Gmail, SendGrid, or any transactional email provider. You will need the SMTP host, port, username, and password from your mail provider; your host’s support pages usually list them. Once configured, send a test email from the plugin’s settings page and check that it lands in the inbox, not spam.

    While you are in the email settings, set the From address to an address on your own domain, such as hello@yourdomain.com, and set the Reply-To to the visitor’s email address. A From address on a free mailbox (Gmail, Yahoo) sent from your server is exactly the pattern spam filters look for, and it is the single most common reason form emails vanish. If your domain has no mailbox yet, create one — most hosts include email accounts in the plan — or use a free forwarding service that delivers to your personal inbox.

    As a safety net, enable email logging or database storage in your form plugin. WPForms Lite can store entries in the WordPress database, and Contact Form 7 has add-ons that do the same. That way, even if an email is lost, the submission still exists in your dashboard and you can reply from there. Check the entries screen weekly — it is also the fastest way to spot a spam pattern early.

    How do you test and improve the form?

    Before you announce the form, test it like a visitor. Submit it from a different email address, with a realistic message, and confirm three things: the confirmation message appears, the email arrives in your inbox within a minute, and the reply-to address is the visitor’s address so you can answer with one click. Then test it on your phone, because most of your visitors will use one — a form that looks fine on a desktop and breaks on mobile is a form that loses enquiries.

    After launch, watch two numbers: how many people visit the contact page, and how many submit the form. If visits are high and submissions are low, the form is asking too much, the page is unclear, or the form is broken on some devices. Shorten the form first — it is the cheapest fix — and add a line near the form that says what happens next and how fast you reply. People write more readily when they know a human will answer soon.

    Finally, keep the plugin updated and the form simple. Form plugins are among the most frequently updated in WordPress, and updates often close security holes that spammers exploit. Review the form once a quarter: remove fields you no longer use, check that the notification email still goes to the right person, and confirm the test submission still lands in the inbox. A contact form is a small thing, but it is the front door of your site — and a front door that does not open costs you business silently.

    The bottom line: Install one form plugin, build a four-field form, protect it with a honeypot and reCAPTCHA, send its mail through SMTP from your own domain, and test it end to end. Fifteen minutes of setup and one test message is the difference between a form that works and a form that only looks like it works.

    Plugin names and features in this article were checked in November 2026; free and paid tiers change, so confirm the current offering on the plugin’s WordPress.org page before you install. If you are choosing a theme to go with your new form, read our guide to choosing the right WordPress theme, and if you are building the site itself, our guide to starting a blog with WordPress covers the setup from the beginning.

    Frequently asked questions

    Do I need a plugin to add a contact form to WordPress?

    Yes, in practice. WordPress has no built-in contact form, so you need a form plugin such as WPForms Lite, Contact Form 7, or Elementor’s form widget. All three have free options that cover a standard contact form.

    Why is my WordPress contact form not sending emails?

    Almost always because WordPress sends mail with PHP mail, which email providers distrust. Install an SMTP plugin such as WP Mail SMTP, send through a real mail service, and set the From address to your own domain. Then send a test email and check the inbox, not just the sent folder.

    How do I stop spam on my WordPress contact form?

    Start with a honeypot — a hidden field bots fill in and humans never see. If spam continues, add invisible reCAPTCHA v3. Avoid checkbox CAPTCHAs where you can; they annoy real visitors and no longer stop most bots.

    How many fields should a contact form have?

    Four is enough for most sites: name, email, subject, and message. Every extra field reduces completions. Add a field only if the answer changes how you reply.

    Can I add a contact form without a plugin?

    You can build one with custom code or a third-party embed, but a plugin is simpler, safer, and easier to maintain. A hand-coded form still needs spam protection, email delivery, and validation — all of which a good plugin provides out of the box.

    Leave a comment

    tf
    Trusted seller on ThemeForest since July 2016

    We sell 100% legal, original items — every product is our own work. No fakes, no resales.

    8,900+Total sales on ThemeForest
    4.4★Buyer rating on ThemeForest
    2016Selling since
    View our portfolio →