Setup & site building · Guide
How to Add Mailchimp to WordPress (Signup Forms That Work)

Short answer
To add Mailchimp to WordPress, install a Mailchimp plugin such as MC4WP: Mailchimp for WordPress, paste your Mailchimp API key into its settings, then create a signup form linked to your audience. Add the form to a page with its block or shortcode, or to a sidebar with a widget. You can also paste Mailchimp's embedded form code into a Custom HTML block.
Key takeaways
- A plugin such as MC4WP connects WordPress to Mailchimp with an API key.
- Forms can go in pages, posts, widgets or theme files via block, shortcode or PHP.
- MC4WP can add a subscribe checkbox to comment, registration, WooCommerce and many form plugins.
- Mailchimp's embedded form code works without a plugin but is harder to style and maintain.
- Use double opt-in and clear consent wording to keep your list clean and compliant.
What are the ways to add Mailchimp to WordPress?
You can connect Mailchimp with a dedicated plugin, link a form plugin you already use, or paste Mailchimp's embedded form code; a plugin is usually the easiest and most flexible.
Plugins keep the form inside WordPress, so it matches your theme and you can place it anywhere. Embedded code comes straight from Mailchimp and works without a plugin, but changing it means editing HTML.
If you are still choosing an email tool, our comparison of Mailchimp vs WordPress newsletter plugins weighs the options.
What do you need before you start?
You need a Mailchimp account with at least one audience, a Mailchimp API key, and admin access to your WordPress site.
Mailchimp calls a mailing list an audience. Create one in your Mailchimp account and fill in the required details, such as your sender name and physical address, which email laws require.
To create an API key, open your Mailchimp profile, go to Extras > API keys and click Create A Key. Mailchimp's help article on generating an API key shows the current steps. Treat the key like a password and never share it publicly. If a key leaks, delete it in Mailchimp and create a new one.
How do you connect Mailchimp with MC4WP?
Install MC4WP: Mailchimp for WordPress from Plugins > Add New Plugin, open Mailchimp for WP > Mailchimp, paste your API key, save, and check that the status shows Connected.
The MC4WP plugin page lists more than 1 million active installations. Its free version includes a form builder and integrations with many popular plugins.
After connecting, the plugin lists your Mailchimp audiences. If none appear, click Renew Mailchimp lists or check that the key belongs to the right account.
The plugin needs your host to allow outgoing requests to Mailchimp. If the connection fails with a timeout, ask your host whether remote requests or cURL are blocked.
How do you create a signup form?
Go to Mailchimp for WP > Form, select the audience to subscribe people to, edit the form fields, write success and error messages, and save.
The default form includes an email field and a button. Add a first name field if you plan to personalise emails, but keep the form short, since every extra field lowers signups.
Write a clear line above the button that says what people will get and how often. For example, a weekly tips email is clearer than a vague newsletter promise.
Under Settings, decide whether to use double opt-in, where new subscribers confirm by email. It is on by default and keeps fake or mistyped addresses off your list.
How do you place the form on your site?
Use the Mailchimp for WP block or the mc4wp_form shortcode in pages and posts, the Mailchimp for WP Form widget in sidebars or footers, or the mc4wp_show_form function in theme files.
Common placements include the end of blog posts, a sidebar, the footer and a dedicated newsletter page. Pick spots where readers have just found value, such as after an article. A form at the end of your most popular posts often brings more signups than one in the sidebar, because readers who reach the end are already engaged with your writing and want more of it.
If your theme uses blocks for widgets and footers, add the block in the Site Editor or widget editor instead of the classic widget.
Test the form after placing it. Subscribe with your own email, confirm the double opt-in email, and check the contact appears in your Mailchimp audience.
How do you add a subscribe checkbox to other forms?
Open Mailchimp for WP > Integrations, enable the forms you use, such as comments, registration, WooCommerce checkout or Contact Form 7, choose the audience and save.
This adds an optional checkbox, for example Sign me up for the newsletter, to forms visitors already fill in. It is a gentle way to grow your list without a separate form.
The free plugin supports many integrations, including WooCommerce, Contact Form 7, Gravity Forms, Ninja Forms and WPForms. Our guide on connecting WPForms to Mailchimp shows another route for WPForms users.
Leave the checkbox unticked by default. Pre-ticked consent boxes are not valid consent under laws such as the GDPR.
How do you use Mailchimp's embedded form code?
In Mailchimp, open your audience's signup forms, choose Embedded forms, customise the fields, copy the code, then paste it into a Custom HTML block on your WordPress page.
This method needs no extra plugin, which suits very simple sites. The form posts directly to Mailchimp, so subscriptions work even if a WordPress plugin fails.
The downside is styling and upkeep. The form carries Mailchimp's own CSS, which may clash with your theme, and any change means pasting new code. Our guide on adding HTML in WordPress explains where Custom HTML blocks work best.
How do you stay compliant when collecting emails?
Ask for clear consent, say what people will receive, link to your privacy policy, use double opt-in, and make unsubscribing easy; Mailchimp adds an unsubscribe link to every campaign.
Email laws differ by country, but the principles are similar. The UK regulator's guidance on electronic mail marketing explains consent rules in plain language.
Only add people who opted in. Importing contacts from business cards or purchased lists can breach email laws and Mailchimp's terms, and it damages your sending reputation.
How do you grow your Mailchimp list from WordPress?
Offer something useful in return for an email, such as a checklist or a short course, place forms where engaged readers see them, and mention the newsletter inside your best articles.
A lead magnet tied to a popular post often converts far better than a general signup box. Readers already interested in the topic are more likely to want more of it.
Our guide on growing an email list with WordPress covers popups, content upgrades and other proven tactics.
How do you send new blog posts to Mailchimp subscribers?
Create an RSS campaign in Mailchimp using your WordPress feed address, which is usually your site URL followed by /feed/, and choose how often Mailchimp checks for new posts and emails them.
WordPress publishes an RSS feed automatically. Mailchimp reads it and builds an email from your latest posts on the schedule you set, such as daily or weekly.
Check which Mailchimp plans include RSS campaigns and automations before you plan around them, since features change between plans.
Keep the email short: a headline, a sentence or two and a link for each post. Readers then click through to your site, where the full article lives.
How do you make sure Mailchimp emails reach the inbox?
Authenticate your sending domain in Mailchimp, send from an address on that domain, keep your list clean and send consistently, so mailbox providers trust your messages.
Mailchimp guides you through adding DNS records to verify and authenticate your domain. Large providers now expect this from bulk senders, as described in Google's email sender guidelines.
Remove subscribers who have not opened anything for a long time. A smaller, engaged list performs better than a large list full of inactive addresses.
Avoid sudden spikes in volume. If you have not emailed your list for months, start with a short, valuable message rather than a heavy promotion.
What should you do if subscribers are not appearing in Mailchimp?
Check that the form points to the right audience, that subscribers confirmed the double opt-in email, that the API key is still valid, and that your host allows requests to Mailchimp.
Unconfirmed subscribers sit in a pending state and do not appear as active contacts. Look in your spam folder for the confirmation email when testing.
MC4WP has a debug log under its Other settings. Turn it on, submit a test signup, and the log shows the exact error Mailchimp returned.
Frequently asked questions
Is there a free Mailchimp plugin for WordPress?
Yes. MC4WP: Mailchimp for WordPress is free on WordPress.org and includes a form builder, widgets, a block, a shortcode and integrations with many form and ecommerce plugins. A premium version adds extra features.
Do I need an API key to connect Mailchimp to WordPress?
Yes, when using a plugin. You create the key in your Mailchimp account profile under the API keys section and paste it into the plugin's settings. Embedded form code does not need a key.
Can I add a Mailchimp checkbox to WooCommerce checkout?
Yes. MC4WP's integrations let you add an optional subscribe checkbox to WooCommerce checkout, as well as to comment, registration and many form plugin forms.
Why are new subscribers not showing in Mailchimp?
They may not have confirmed the double opt-in email yet, the form may point to a different audience, or the API key may be invalid. Check the plugin's debug log for the exact error.
Can I use Mailchimp without a plugin?
Yes. Copy Mailchimp's embedded form code and paste it into a Custom HTML block. It works without a plugin but is harder to style and update than a plugin-based form.
Sources
- MC4WP: Mailchimp for WordPress WordPress.org Plugins
- About API Keys Mailchimp
- Electronic mail marketing Information Commissioner's Office
- Email sender guidelines Google Workspace Admin Help
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


