Sending

Mailgun status: how to check if Mailgun is down, and what to do

Short answer

Mailgun's official status page is status.mailgun.com. It lists the API, SMTP, Outbound Delivery, Inbound email processing, Events and Logs and the Control Panel separately, with email, SMS, webhook and RSS alerts. If those are operational, check your own setup: a 401 is a bad API key, a 404 often means the wrong regional base URL, and a 429 means a rate limit. Queue your sends, retry with backoff, and keep a second provider ready.

Last checked 16 November 2026

To check whether Mailgun is down, open its official status page at status.mailgun.com. If the API, SMTP and Outbound Delivery components are operational, the problem is very likely your own configuration, and the HTTP status Mailgun returned will usually say which part. Below is how to read the status page, how to rule out the common setup errors, and what to do when Mailgun genuinely has an incident. This page does not show live status.

What Mailgun’s status page shows

On 16 November 2026 Mailgun’s status page grouped its components like this:

Group Components
Email Services API, SMTP, Outbound Delivery, Inbound email processing, Events and Logs, Stats and Analytics
Deliverability Services Email Validation, Inbox Placement, Spam Trap Network, Email Previews
Customer Tools Control Panel

The parts that stop your email are API, SMTP and Outbound Delivery. An incident on Events and Logs means your dashboard and webhooks lag, but mail may still be going out. An Inbound email processing incident only affects routes that receive mail.

You can subscribe by email, SMS, webhook or an Atom or RSS feed. The webhook option is useful: point it at an endpoint in your app that flips a failover flag.

Is it Mailgun or your setup?

Mailgun’s API overview (checked 16 November 2026) documents these responses:

Response Meaning Whose problem
400 Bad request; the JSON message key explains it Yours
401 API key invalid or missing Yours
403 Valid key, but no permission for this resource Yours
404 Not found; a missing JSON body usually means a wrong endpoint Usually yours
420 Recipients limit on /messages reached Yours (slow down)
429 Rate limit exceeded Yours (slow down)
500 Mailgun server error; retry with exponential backoff Mailgun
Timeouts, connection errors Network or Mailgun Check the status page

The most common false alarm is the wrong region. Mailgun runs separate US and EU APIs, https://api.mailgun.net/ and https://api.eu.mailgun.net/, and you must use the one where your domain was created. Calling the US URL for an EU domain gives errors that look like a broken account.

For rate limits, Mailgun returns X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers. The reset value is Unix time in milliseconds, so wait until then before retrying.

If the API accepted your message but it never arrived, look it up in Logs. Failed, temporary failure and bounce events are delivery outcomes, not outages. Our guide to hard and soft bounces explains how to read them.

Monitor your own sending, not just the status page

Status pages are updated by people, so they often lag the first minutes of an incident, and they never show problems that only affect your account. Two cheap checks catch both:

  • Track the error rate of your send calls. Count non-2xx responses and timeouts per minute in your logs or metrics, and alert when it jumps. A rise in 5xx or timeouts with a green status page is worth a support ticket.
  • Send a canary email. Every few minutes, send a message to a mailbox you control and alert if it does not arrive in time. That catches delivery problems the API cannot see, such as mail accepted but stuck.

Between them, you usually know about a problem before the vendor posts it, and you know whether it is yours.

What to do during a Mailgun outage

1. Never send in the request path. Write emails to a queue or table and send from a background worker, so an outage delays email instead of breaking signups and checkouts.

2. Retry the right things. Retry 429, 500 and network errors with exponential backoff and jitter (for example 1, 2, 4, 8, 16 seconds). Do not retry 400, 401, 403 or 404 until you fix the cause.

3. Guard against duplicates. If a request timed out, it may have been sent. Keep a sent flag per email in your own database, and attach your own id with a custom header or variable so you can match events afterwards.

4. Fail over to a second provider. For login codes and password resets, a long wait is as bad as a failure. Keep a second provider with your domain already verified, and switch when retries are exhausted. With Mailcandor the fallback call is plain JSON:

async function sendViaMailcandor({ from, to, subject, html }, idempotencyKey) {
  const res = await fetch('https://api.mailcandor.com/v1/emails', {
    method: 'POST',
    headers: {
      Authorization: `Bearer ${process.env.MAILCANDOR_KEY}`,
      'Content-Type': 'application/json',
      'Idempotency-Key': idempotencyKey,
    },
    body: JSON.stringify({ from, to, subject, html }),
  });
  if (!res.ok) {
    const { error } = await res.json();
    throw new Error(`${error.type}: ${error.message}`);
  }
  return res.json(); // { id, status: "queued" }
}

The Idempotency-Key makes the fallback itself safe to retry. If you send through Mailgun over SMTP, the failover can be even simpler: switch the SMTP host to smtp.mailcandor.com, port 465 or 587, username mailcandor and your API key as the password.

5. Clean up afterwards. Check the queue drained, find any permanently failed messages, and read the incident report in the status page history.

How Mailcandor compares

Mailcandor is a separate email API that delivers through Amazon SES, so a Mailgun incident does not affect it, and it publishes its own status page that probes every 5 minutes. It can have incidents too, which is why the queue and retry advice applies whatever you use.

Compared with Mailgun’s free plan (100 emails a day, 1 domain, 1 day of logs, per mailgun.com/pricing, checked 16 November 2026), Mailcandor’s free Starter plan gives 3,000 emails a month and 100 a day, with unlimited domains and inbound on every plan. Mailcandor does not accept Mailgun’s API shape, so moving is a small rewrite or an SMTP change: see the Mailgun migration guide, Mailcandor vs Mailgun, or pricing. Access is by request.

Questions

Where is Mailgun's status page?

At status.mailgun.com. It lists Email Services (API, SMTP, Outbound Delivery, Inbound email processing, Events and Logs, Stats and Analytics), Deliverability Services and the Control Panel (checked 16 November 2026).

Mailgun returns 401 but the status page is green. Is Mailgun down?

No. Mailgun's API docs say a 401 means the API key is invalid or missing. Check the key, the Authorization header format and that you are calling the right region.

Why does Mailgun fail for my EU domain?

Mailgun has separate US and EU API base URLs, api.mailgun.net and api.eu.mailgun.net. Mailgun's docs say to use the base URL for the region where the domain was created, so an EU domain called on the US URL fails.

What do Mailgun status codes 429 and 420 mean?

Mailgun's API overview says 429 means a rate limit was exceeded, and that the recipients limit on the messages endpoint returns 420 instead. Back off using the X-RateLimit-Reset header.

How can I be alerted when Mailgun is down?

Mailgun's status page offers email, SMS, webhook and Atom or RSS subscriptions. A webhook subscription can trigger an automatic failover in your app.

Related

Send with someone on your side.

Unlimited domains on every plan, a person before any block, and 3,000 emails a month free. Tell us what you send and we set you up within one business day.