Gifts

Culture

Reviews

Local Spots

How to Setup Mailchimp with WordPress (2026 Guide)

Mailchimp

Mailchimp

★★★★ 4.3
Email Automation Email Marketing

All-in-one email marketing platform with automation, landing pages, and audience management for businesses of all sizes.

Full Review

WordPress

Open-source content management system powering over 40% of the web.

All WordPress Tools

Overview

The WordPress and Mailchimp integration connects your website with Mailchimp's email marketing platform, enabling you to grow your email list through embedded signup forms, pop-ups, and landing pages on your WordPress site. Mailchimp provides an official WordPress plugin called Mailchimp for WordPress (MC4WP) by Ibericode, which is the most widely used connector with millions of active installations.

Once connected, you can place email signup forms anywhere on your WordPress site — in sidebars, within blog posts, as pop-ups, or on dedicated landing pages. New subscribers are automatically added to your Mailchimp audience with proper tags and group assignments. The integration also works with popular WordPress form plugins like Gravity Forms, WPForms, and Contact Form 7, letting you add Mailchimp opt-in checkboxes to any existing form on your site.

The end result is a seamless list-building pipeline from your WordPress content to your Mailchimp email campaigns. Visitors who engage with your blog posts, landing pages, or resources can subscribe without friction, and their data flows directly into your segmented Mailchimp audience for targeted email marketing.

Prerequisites

  • A self-hosted WordPress site (WordPress.org, not WordPress.com Free plan — the .com Business plan or higher also works)
  • A Mailchimp account (any plan, including Free)
  • WordPress admin access to install plugins
  • Your Mailchimp API key (found in Mailchimp under Account > Extras > API keys)

Step-by-Step Setup

Step 1: Install the MC4WP Plugin

In your WordPress admin, go to Plugins > Add New. Search for "Mailchimp for WordPress" or "MC4WP." Find the plugin by Ibericode (it typically has over 2 million active installations). Click Install Now, then Activate. A new MC4WP menu item will appear in your WordPress admin sidebar.

Step 2: Connect to Mailchimp with Your API Key

Go to MC4WP > Mailchimp in your WordPress admin. You will see a field for your Mailchimp API key. To get your API key, log in to Mailchimp, click your profile icon, go to Account & billing > Extras > API keys. Click Create A Key, copy the generated key, and paste it into the MC4WP settings in WordPress. Click Save Changes. The plugin will confirm the connection and display your Mailchimp lists.

Step 3: Create a Signup Form

Go to MC4WP > Form. The plugin creates a default form with email and submit fields. Customize the form by adding fields in the form editor — common additions include First Name, Last Name, and a GDPR consent checkbox. Use the visual editor or edit the HTML directly. Set which Mailchimp audience the form subscribes to, and optionally assign Mailchimp tags or interest groups to form subscribers.

Step 4: Place the Form on Your Site

Add the form to your site using any of these methods: use the shortcode [mc4wp_form id="123"] in any post or page (replace 123 with your form ID); add the MC4WP Form widget to a sidebar or footer area via Appearance > Widgets; or use the MC4WP block in the WordPress block editor. For site-wide placement in the footer, edit your theme's footer template or use a widget area.

Step 5: Configure Form Behavior

Under MC4WP > Form > Settings, configure what happens after submission. Options include: show a success message (customizable text), redirect to a thank-you page, or stay on the same page. Enable double opt-in if required (Mailchimp sends a confirmation email before adding the subscriber). Configure error messages for invalid emails or already-subscribed addresses.

Step 6: Add Opt-In to Other Forms (Optional)

Go to MC4WP > Integrations. The plugin integrates with WordPress Comment forms, Registration forms, and popular plugins like WooCommerce, Contact Form 7, WPForms, Gravity Forms, and Ninja Forms. Enable the integration for each form plugin you use. This adds a "Subscribe to our newsletter" checkbox to existing forms, so visitors can opt in when submitting a comment, registering, or filling out a contact form.

Step 7: Test the Forms

Visit your site and submit the signup form with a test email address. Verify the subscriber appears in your Mailchimp audience within a minute. If you enabled double opt-in, check that the confirmation email arrives. Test the form on mobile to ensure it is responsive. Also test the opt-in checkboxes on any integrated forms.

Configuration Options

MC4WP supports multiple forms with different designs and target audiences. Each form can be styled with custom CSS. You can configure Mailchimp tags to be applied automatically based on which form the subscriber used (useful for tracking where subscribers came from). Double opt-in settings are controlled per-form. The plugin also supports Google reCAPTCHA to prevent spam submissions.

What Syncs

DataDirectionFrequency
New subscriber email and nameWordPress to MailchimpReal-time (on form submission)
Mailchimp tags and groupsWordPress to MailchimpOn form submission
Custom form fieldsWordPress to MailchimpOn form submission
Audience lists (for form configuration)Mailchimp to WordPressOn admin page load

Best Practices

  • Place signup forms in multiple locations: sidebar, end of blog posts, and footer — each touchpoint increases the chance of capturing subscribers
  • Use different Mailchimp tags for different form locations so you can track which placements convert best
  • Enable double opt-in for audiences that include EU visitors to comply with GDPR
  • Keep forms simple — email-only forms convert significantly better than forms asking for multiple fields
  • Use the MC4WP Top Bar add-on (premium) or a popup plugin for higher-visibility signup prompts on key pages

Common Issues and Fixes

API Key Not Connecting

Ensure you copied the full API key including the datacenter suffix (e.g., the "-us21" at the end). Do not include any spaces. If the key still fails, generate a new one in Mailchimp. Also check that your WordPress hosting does not block outgoing API connections (some security plugins block external HTTP requests).

Form Submissions Not Reaching Mailchimp

Check the MC4WP log under MC4WP > Form > Log for error messages. Common causes include: the email is already subscribed (enable "update existing subscriber" to handle this), the Mailchimp audience requires specific fields that the form does not include, or a caching plugin is serving a cached version of the page that does not process form submissions correctly.

Form Styling Looks Broken

The MC4WP plugin provides minimal default styling so forms inherit your theme's styles. If the form looks off, add custom CSS under MC4WP > Form > Appearance or in your theme's CSS customizer. Common fixes include setting form width, adjusting input field padding, and styling the submit button to match your site's design.

Advanced Configuration

For advanced users, MC4WP Premium adds features like multiple form support, ecommerce integration (with WooCommerce), A/B testing for forms, and detailed analytics. You can also use Mailchimp's embedded form builder or Mailchimp's JavaScript API to create fully custom signup experiences on your WordPress site. For headless WordPress setups, use the Mailchimp API directly from your front-end application to handle subscriptions via AJAX calls, giving you complete control over the user experience.

Mailchimp Full Review » | All WordPress Tools »