Fix Gmail's 421 4.7.0 error before the retries run out
421 4.7.0 is Gmail turning a message away with a temporary code, and the words after the code say why: the connection expired, the sending IP has no working PTR record, the IP or domain has a very low reputation, the content looked suspicious, the recipient's domain requires TLS, or it accepts mail only from listed IP addresses. Your server retries a temporary error by itself, which clears a passing problem like an expired connection. A missing PTR record or TLS setup is still missing on the next try, so those need a fix at the sending server.
What each 421 4.7.0 message means
| Bounce says | What it means |
|---|---|
| Connection expired, try reconnecting | Gmail closed the connection because it expired, and the text itself tells you to reconnect. |
| Try again later, closing connection | Gmail dropped the session without a more specific reason. The text names the SMTP command it was answering, which helps you find the step in your mail log. |
| a PTR record, or the corresponding forward DNS entry | The sending IP has no PTR record, or the hostname in it doesn't resolve back to that IP, so Gmail rate limited mail from the address. Google's sender guidelines require valid forward and reverse DNS from every sender. |
| IP not in whitelist for RCPT domain | The recipient's domain takes mail only from IP addresses on its allowed list, and yours isn't there. Google's sender guidelines describe this 4.7.0 case. |
| TLS required for RCPT domain | The recipient's domain insists on an encrypted connection and yours wasn't. Google's sender guidelines require TLS from every sender anyway. |
| very low reputation of the sending IP | Gmail rate limited mail from that IP for now because its reputation is very low. |
| very low reputation of the sending domain | Despite the 421 code, Gmail says it blocked this message, because your domain's reputation is very low. |
| the nature of the content or the links within | Gmail blocked the message over its wording or the links in it, again with a 421 code. |
Temporary doesn't mean it fixes itself
Google's About SMTP error messages page says codes that start with 4 are temporary failures and the sending server tries again. RFC 5321 says the give-up time generally needs to be at least 4 to 5 days, after which the server returns the message to you.
That works when the cause goes away between attempts. A sending IP without reverse DNS, a server that never offers TLS or an IP missing from a recipient's allowed list gets the same answer each time, so the message sits undelivered for days and then bounces anyway. The 421 is your chance to fix it before that happens.
Check the reverse DNS of your sending IP
# Reverse lookup: replace the address with the sending IP from your mail log
dig +short -x 203.0.113.25
# Forward lookup: replace mail.yoursite.com with the hostname the reverse lookup returned; it must resolve to that same IP
dig +short A mail.yoursite.com
# For an IPv6 sending address, check the AAAA record instead
dig +short AAAA mail.yoursite.com
How to fix the 421 4.7.0 error
- Find the full response in your mail logYour mail server or email service records the whole 421 reply for each deferred message. Gmail uses the same code for eight different reasons, so the text is what tells you which fix applies.
- Give the sending IP reverse DNSWhoever controls the IP address, usually your host or email service, sets its PTR record. Point it at a hostname you own, then publish an A or AAAA record for that hostname with the same address.
- Turn on TLS for outgoing mailConfigure the sending server to start TLS when the receiving server offers it. That clears the TLS required deferral and meets Gmail's rule for all senders.
- Ask the recipient about their allowed listThe allowlist deferral comes from a setting at the recipient's organization, not from Gmail as a whole. Only their administrator can add your sending IP, so send them the address from your log.
- Send less until the deferrals stopFor the reputation and content cases, Google's sender guidelines say to reduce volume when messages start being deferred, wait for the error rate to fall, then increase slowly. Mail only people who asked for it while you recover.
Frequently asked questions
Is a message with a 421 4.7.0 error lost?
Not yet, for most of the 4.7.0 texts. A 421 reply is temporary, so the sending server keeps the message and tries again, as Google's About SMTP error messages page describes. The exceptions are the domain reputation and content texts, which say the message has been blocked even though the code starts with 4.
How is 421 4.7.0 different from 550 5.7.1?
Google's SMTP error reference uses nearly the same reputation wording under both codes. Under 421 4.7.0 the IP reputation text rate limits mail for now; under 550 5.7.1 the same complaint blocks the message, and your server won't retry it.
What does 454 4.7.0 mean?
It's about signing in to Google's SMTP relay, not about delivery to a Gmail inbox. The reference lists too many sign-in attempts and a temporary system problem under 454 4.7.0. Google's About SMTP error messages page suggests reusing open connections, retrying with exponential backoff and checking your SMTP relay settings.
More on Gmail deferrals and sender rules
- SPF, DKIM and DMARCFind out why your emails land in spam, and who else can send mail as you.
- Gmail error 550 5.7.1Read the reason Gmail gives after 5.7.1, then fix the reputation, header or server setup it names.
- Gmail error 421 4.7.28Find which quota the 4.7.28 text names, pause for 10 minutes, then resume on one connection and build up slowly.
- Gmail, Yahoo and Outlook sender requirementsCompare provider requirements and see which a record check covers and which depend on how you send.