Mailgun has two kinds of limit: plan limits on how much you can send, and API rate limits on how fast you can call it. The free plan allows 100 emails a day. The API allows, by default, 80,000 calls to /messages per 10 seconds per account and 300 requests per second on most other endpoints. Hitting a rate limit returns 429, or 420 for the recipients limit on /messages. Sources: Mailgun’s API overview, batch sending docs and pricing page, checked 16 November 2026.
Mailgun limits at a glance
| Limit | Default value | Response when exceeded |
|---|---|---|
/messages |
80,000 API calls per 10 seconds, per account | 429 |
/messages recipients limit |
Not stated as a number | 420 |
/logs |
200,000 recipients per second, per account | 429 |
/domains |
10 domains per second, per account | 429 |
| Other endpoints | 300 requests per second, per account | 429 |
| Recipients per batch | 1,000 | Split larger lists |
| Free plan volume | 100 emails a day | Upgrade or wait for the next day |
Rate limits are per account, so every API key and every domain on the account share them.
The API rate limits
Mailgun’s API overview lists the defaults above. For almost every application, the /messages figure of 80,000 calls per 10 seconds is far more than you will use. The lower limits on other endpoints are easier to reach, for example with a script that creates domains or reads data in a tight loop.
Two details matter when you handle errors:
- Most limits return
429. The exception is the recipients rate limit on/messages, which returns HTTP420. If your retry logic only checks for 429, a 420 will be treated as a hard failure. Handle both. X-RateLimit-Resettells you when to retry. Mailgun’s docs say it gives Unix milliseconds (UTC) until the limit resets. Wait at least that long before the next attempt.
import time, requests
def send(data, key, domain, attempts=5):
for _ in range(attempts):
r = requests.post(
f"https://api.mailgun.net/v3/{domain}/messages",
auth=("api", key), data=data, timeout=15,
)
if r.status_code not in (420, 429):
return r
reset_ms = int(r.headers.get("X-RateLimit-Reset", "1000"))
time.sleep(min(reset_ms / 1000, 60))
raise RuntimeError("Mailgun still rate limited")
If your account is on Mailgun’s EU region, the API host is different from the US one shown above. Use the host your domain was created in.
Plan limits: the daily cap and domains
According to the figures we recorded from mailgun.com/pricing on 16 November 2026:
| Plan | Volume | Domains | Log retention |
|---|---|---|---|
| Free | 100 emails a day | 1 | 1 day |
| Basic | 10,000 a month for $15 | 1 | 1 day |
| Foundation | From 50,000 a month for $35 | 1,000 | 5 days |
| Scale | From 100,000 a month for $90 | 1,000 | 30 days |
The free plan’s 100 a day is the limit most people mean when they search for a “Mailgun daily limit”. It is fine for a side project, but a single launch or import can use it in minutes. Basic raises volume but keeps the one-domain limit, so if you send for several brands or customer domains, Foundation is the first plan that fits. Our Mailgun pricing guide has the overage rates and higher tiers.
Batch sending: 1,000 recipients
Mailgun’s batch sending lets one API call send personalised copies to many people using recipient variables. Its batch sending docs state that the maximum number of recipients allowed for a batch is 1,000. For larger lists, split into chunks of 1,000 or fewer.
Batch sending is the efficient way to send the same message to many people, because one call covers up to 1,000 recipients instead of 1,000 calls.
Sandbox domain limits
New accounts also get a sandbox domain that can only send to a small list of authorized recipients. That is a separate limit from the ones on this page, and our Mailgun sandbox guide explains it.
Designing your sending around Mailgun’s limits
A few habits keep you clear of the limits above:
- Queue outgoing email. Send from a worker that reads a queue at a steady rate, rather than straight from web requests. Bursts then wait in the queue instead of turning into 429s.
- Use batch sending for bulk. One call per 1,000 recipients is far kinder to the rate limit than one call per recipient.
- Handle 420 and 429 the same way. Both mean slow down. Read
X-RateLimit-Reset, wait, then retry. - Watch the free plan’s daily cap. If your busiest day is close to 100 emails, move to a paid plan before a launch, not during it.
- Do not hammer management endpoints. Cache domain and configuration data instead of fetching it on every request.
How Mailcandor compares
Mailcandor’s limits are smaller numbers but simpler to plan around. The rate limit is per team: 5 requests per second on Starter, 10 on Pay as you go and 50 on Team, with ratelimit-* headers and a single 429 for rate and quota errors. The free Starter plan allows 100 emails a day and 3,000 a month, and paid plans have no daily or monthly cap. Every plan has unlimited domains, so there is no jump to a bigger plan just to add a second domain. The batch endpoint takes up to 100 emails per request. See rate limits.
There is no Mailgun-compatible endpoint, so moving over means changing the send call. Our migration guide walks through it, alongside the comparison and pricing. Access is currently by request.