Errors

SMTP error 421: service not available, what it means and how to fix it

Short answer

SMTP error 421 means "service not available, closing transmission channel". The server is refusing to continue the session right now and expects you to try again later. The enhanced code after it explains why: 4.4.x is a busy or timed-out server, 4.7.0 is a security or reputation reason, and Gmail's 4.7.28 is a rate limit. Your mail server retries automatically; fix the cause if it keeps happening.

Last checked 16 November 2026

SMTP error 421 means the server you connected to is not available to you right now and is closing the connection. It is a temporary error: your mail server will try again later. The enhanced code after 421 tells you why, from a busy server to a reputation-based rate limit.

The error message

The base reply, from RFC 5321:

421 <domain> Service not available, closing transmission channel

Real servers add an enhanced code and their own text. Some from Gmail’s SMTP error reference:

421 4.4.5 Server busy, try again later.
421 4.7.0 Try again later, closing connection.
421 4.7.0 TLS required for RCPT domain, closing connection.
421 4.7.28 Gmail has detected an unusual rate of email originating from your IP address [ip-address]. To protect our users from spam, email sent from your IP address has been temporarily rate limited.

What it means

RFC 5321 lets a server send 421 in reply to any command when it knows it must shut down the session, so it is the code a server uses when it ends the conversation on its own. The enhanced status code from RFC 3463 narrows it:

Enhanced code Category
4.3.x Mail system status, such as a temporary system problem.
4.4.x Network and routing, such as a busy server or a bad connection (4.4.2).
4.7.x Security or policy, such as reputation, authentication or TLS.

Why it happens

  • The server is busy or restarting (4.3.0, 4.4.5).
  • Too many connections from your IP at once.
  • Reputation rate limits: Gmail’s 4.7.28, Yahoo’s 421 4.7.0 with TS or TSS codes.
  • Missing PTR record on your IP (Gmail’s 421 4.7.0 version).
  • Authentication missing: Gmail’s 421 4.7.26, 4.7.27 and 4.7.30 for mail without SPF or DKIM.
  • TLS required by the recipient’s domain while your server sent in plain text.
  • On the client side, a blocked port, a firewall or the wrong server, shown by mail apps as “421 connection to server failed”.

How to fix it

  1. Read the enhanced code and text to find the category.
  2. Busy server: wait. Your server retries automatically.
  3. Too many connections: lower the number of simultaneous connections and messages per connection to that domain.
  4. Rate limits: slow down and retry with growing intervals. See Gmail rate limited, Outlook 4.7.650 and Yahoo deferrals.
  5. PTR record: ask your IP provider to set reverse DNS that matches a forward A record. See 5.7.25.
  6. Authentication: publish SPF, DKIM and DMARC for your domain:
    yourdomain.com.         TXT  "v=spf1 include:your-provider.example -all"
    _dmarc.yourdomain.com.  TXT  "v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com"
    Replace the include with your provider’s. The setup guide covers DKIM too.
  7. TLS: enable STARTTLS on your outbound server. See STARTTLS errors.
  8. Client errors: check the SMTP host, port 587 or 465, and that your network allows outbound SMTP. See SMTP connection timed out.

Which server sent it

Provider Typical 421 replies
Gmail 421 4.3.0, 4.4.5, 4.7.0 (PTR, reputation, content, TLS), 4.7.26 to 4.7.40 (authentication and DMARC for bulk senders), 4.7.28 (rate limits).
Microsoft Outlook.com uses 451 4.7.650 for reputation rather than 421; Exchange Online documents 4.7.500-699 throttling.
Yahoo 421 4.7.0 with TS or TSS tags, for complaints, volume or reputation. Yahoo’s page says 4xx errors can be retried later.
Generic servers 421 with “too many connections”, “try again later” or shutdown text.

Is it temporary?

Yes. Every 4xx reply is temporary, and your mail server keeps retrying for days before giving up. Do not resend by hand. If the same 421 persists, the cause is on your side (reputation, PTR, authentication, TLS) and retries alone will not fix it. When the queue lifetime runs out, the message bounces.

How Mailcandor handles it

When delivery is deferred, Mailcandor fires an email.delivery_delayed webhook event so your app knows the email is waiting, not lost. If it finally fails, the deliverability coach explains the bounce in plain English, and hard bounces are suppressed automatically. Look up any code with the free bounce code lookup, or browse all error codes. More free checks are on the tools page.

Questions

What does SMTP error 421 mean?

The receiving server is not available to you at the moment and is closing the connection. RFC 5321 defines 421 as "Service not available, closing transmission channel". It is temporary.

What is 421 4.7.0?

A temporary refusal for a security or policy reason. At Gmail it can mean your IP has no PTR record, low IP or domain reputation, suspicious content, or TLS required by the recipient's domain.

What does 421 connection to server failed mean in my email client?

Usually your client could not keep a session with your own outgoing server: wrong port, a firewall, or the server limiting connections. Check the SMTP settings in the client.

Should I resend after a 421?

No. Your mail server retries on its own. Resending by hand can create duplicates and adds volume, which makes rate limits worse.

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.