SMTP error 421: service not available, closing connection

The receiving server is refusing to continue the conversation right now and is closing the connection. Your server retries automatically; here is what causes it and when to act.

Temporary failureUpdated November 12, 2026
Quick answerThe receiving server is refusing to continue the conversation right now and is closing the connection. It is temporary, so your server will retry automatically. Most often it is caused by: the server is overloaded or restarting.
TypeTemporary (4xx)
Usually sent byAny mail server
Retry helps?Yes, automatically

What 421 means

The receiving server is refusing to continue the conversation right now and is closing the connection. Because it starts with 4, the condition is temporary and the sending server is expected to try again later.

Typical bounce message

421 Service not available, closing transmission channel

The exact wording differs between providers, but the code is what matters. Many providers add a link after the text that explains their specific policy.

Common causes

  • The server is overloaded or restarting.
  • Your sending IP is being rate limited.
  • Greylisting of a first-time sender.
  • Too many connections from the same IP at once.

If you sent the email

  1. Wait: your mail server retries automatically for up to a few days.
  2. If it keeps happening, send more slowly and to fewer recipients at a time.
  3. Check that your sending IP is not on a blocklist.

If you manage the mail server or domain

  1. Lower your concurrent connections and messages per connection.
  2. Check the full text after 421 for a provider-specific reason.
  3. Make sure SPF, DKIM, DMARC and reverse DNS are all in place.

How to read this code

  • 421 is the basic SMTP reply code. The first digit, 4, means a temporary failure: the sending server should retry.

Because this is a temporary failure, your mail server keeps the message in its queue and tries again on a schedule. You only get a final bounce if the problem lasts until the retry period ends, often 1 to 5 days.

421 from each side of the email

If you areWhat you seeWhat to do first
The senderOften nothing at first. You may get a "delayed" warning after a few hours, and a final bounce only if retries run out.Wait: your mail server retries automatically for up to a few days
The recipientNothing. The message never reaches the inbox, so the recipient usually does not know it was sent.Tell the sender through another channel which address works, or ask your IT team to check your mailbox and filters.
The mail adminA deferred delivery in the server logs with status 4.0.0.Lower your concurrent connections and messages per connection

What the full bounce report looks like

Most mail servers send a delivery status notification in a standard format defined by RFC 3464. The human-readable part comes first, and a machine-readable part follows. For this error, the important lines look like this:

Final-Recipient: rfc822; someone@example.com
Action: delayed
Status: 4.0.0
Remote-MTA: dns; mx.example.com
Diagnostic-Code: smtp; 421 Service not available, closing transmission channel

Action tells you whether the server gave up (failed) or is still trying (delayed). Status is the enhanced code. Remote-MTA names the server that refused the message, which tells you whether the problem is at the recipient's provider or somewhere in between. Diagnostic-Code is the exact reply that server gave, and it is the line to copy when you ask for help.

How long servers keep retrying

A temporary error puts the message back in the sending server's queue. The server then tries again on a schedule, waiting longer between each attempt. The defaults vary by software:

Mail software or serviceTypical give-up time
Postfix5 days (maximal_queue_lifetime)
Sendmail5 days (Timeout.queuereturn)
Eximabout 4 days with the default retry rules
Microsoft Exchange Server2 days (message expiration timeout)
Exchange Online (Microsoft 365)24 hours

Admins can change all of these. If the cause is fixed while the message is still queued, it is delivered on the next attempt without anyone doing anything. Resending by hand during this time usually produces a duplicate later.

Diagnose it: 421 usually points to a network or routing problem

  1. Run an MX lookup for the recipient domain and confirm the hosts resolve to real addresses.
  2. From your mail server, test that you can reach port 25 on the receiving host. Many cloud and home networks block outbound port 25 by default.
  3. Check for DNS problems on your own server: a broken resolver makes every remote domain look unreachable.
  4. If the bounce mentions a timeout, compare the time it took with your server's connection timeout settings.

Stop it from happening again

  • Use reliable DNS resolvers on your mail server and monitor them.
  • Publish at least two MX records for your own domain so incoming mail has a backup path.
  • If you send from a cloud provider, use its approved relay or a transactional email service instead of sending directly on port 25.

Test your fix without bothering real people

Once you have changed a DNS record, a server setting or a message template, send a test to a free temporary inbox. It accepts mail from anywhere, shows the message within a second of arrival, and the Email X-ray on each message shows whether SPF, DKIM and DMARC passed. That tells you whether your authentication is working before you send to customers, and it keeps test messages out of real inboxes and out of your bounce statistics.

Codes in the same family

CodeMeaningType
451 4.4.0DNS query failed or routing problemTemporary
451 4.4.2Connection dropped or timed outTemporary
4.4.7Message delayed, delivery time expired soonTemporary
5.4.7Delivery time expiredPermanent
5.4.300Message expired (Microsoft 365)Permanent
550 5.4.1Recipient address rejected: access deniedPermanent
554 5.4.14Hop count exceeded, possible mail loopPermanent
5.4.6Routing loop detectedPermanent

A real-world example

A developer deploys a new app on a cloud server and its emails never arrive. The logs show connection timeouts to every receiving server. The cloud provider blocks outbound port 25 by default. Switching the app to send through an email service on port 587 fixes it.

Terms used on this page

SPF
Sender Policy Framework, a DNS record listing which servers may send mail for a domain, helping receivers detect spoofing.
DKIM
DomainKeys Identified Mail, a cryptographic signature added to emails so receivers can verify they weren't altered and came from the domain.
DMARC
A policy that tells receivers what to do with mail failing SPF or DKIM checks, and where to send reports.
DNS
The Domain Name System, which translates domain names into the information computers need, like IP addresses and mail servers.
Bounce
A message returned to the sender because it couldn't be delivered.
MTA
Mail Transfer Agent, server software that receives and relays email between servers.

Related guides

Related codes

FAQ

What does SMTP error 421 mean?

The receiving server is refusing to continue the conversation right now and is closing the connection. Because it starts with 4, the condition is temporary and the sending server is expected to try again later.

Is 421 a permanent error?

No. 421 is a temporary failure. The sending server keeps retrying automatically, usually for several days, before it gives up.

How do I fix 421?

If you sent the email: Wait: your mail server retries automatically for up to a few days. If you run the mail server: Lower your concurrent connections and messages per connection.

Does 421 mean I am blacklisted?

Usually not. 421 points to a network or routing problem, not to your reputation. Blocklist rejections normally use codes in the x.7.x family, often 550 5.7.1 or 554 5.7.1.

Can the recipient fix it?

Rarely. Most causes of this error are on the sending side or in the receiving server's policy, so the sender or the sender's mail admin has to act.

Will I see 421 in Gmail or Outlook?

Yes, if your message fails this way. Gmail shows it in a message from "Mail Delivery Subsystem", and Outlook shows it in a non-delivery report that starts with "Delivery has failed" or "Undeliverable". The code is printed in the technical details near the bottom.

Codes and meanings follow RFC 5321, RFC 3463 and related standards, plus the published error references of major providers. Provider wording changes over time.

Install TempMailify

Add TempMailify to your device for one-tap access, like a regular app.