Fix Gmail's 550 5.7.1 error by reading the reason after the code
550 5.7.1 is the code Gmail uses for several different blocks, so the sentence after the code is what tells you why: Gmail judged the message likely spam, the sending IP or domain has a very low reputation, the headers break the email format standard, the IP isn't allowed to send mail directly, or a mail policy at the recipient's organization or yours stopped it. Each reason has its own fix, and most of them are at the server or service that sent the message.
What each 550 5.7.1 bounce means
| Bounce says | What it means |
|---|---|
| likely unsolicited email | Gmail's filters judged the message to be spam and blocked it outright. Google says a message can be blocked for words that look like spam or for a sender with a history of spam, and that it blocks only some of the mail that looks like spam. Google's help page explains it. |
| very low reputation of the sending IP address | Mail from the server's IP address has a poor record at Gmail. On a shared IP, every sender's mail affects that reputation, yours included. |
| very low reputation of the sending domain | Mail from your domain has a poor record at Gmail. Google tracks reputation by domain as well as by IP address, and its sender guidelines name both. |
| not authorized to send email directly to our servers | The IP address is in a range its internet provider doesn't authorize to send mail, typically home broadband. Send through your provider's SMTP relay or your mail service instead, as Google's help page suggests. |
| IPv6 sending guidelines regarding PTR records | The message arrived over IPv6 and fell short on PTR records or authentication. Google says this can mean the sending server's PTR record isn't set up for IPv6, and its sender guidelines suggest asking your email service to confirm it uses an IPv6 PTR record. |
| a policy that prohibits the email that you sent | A mail rule at the recipient's organization, or at yours, blocked the message, for example over its words, its attachments or who may exchange mail with that address, as Google's policy error help describes. When the bounce also says gcdp, a Google Workspace administrator's custom rule caused it. Only that organization's administrator can change the rule. |
| This email has been rate limited | A Gmail limit stopped the message. Google's error reference points to its sending and receiving limits: an account that sent more mail or reached more recipients than Gmail allows, or a recipient getting mail too fast. |
Header problems that also bounce as 5.7.1
No valid From address
The message has no From header, or the From header doesn't hold a valid address.
More than one From
The message has several From headers, or one From header with several addresses. Gmail accepts exactly one address there.
A bad From domain
The domain in the From header isn't a valid domain name under the email format standard.
No valid Message-ID
Gmail turns away messages without a valid Message-ID header.
Duplicate or malformed headers
A header that belongs once per message, such as To, Subject or Date, appears more than once, or a header isn't formed correctly.
Unicode or encoded words in a header
A header holds a Unicode character where Gmail doesn't allow one, or uses encoded-word syntax in a header that doesn't permit it.
Each of these is its own 550 5.7.1 text in Google's SMTP error reference. The rules come from RFC 5322, and Google's sender guidelines summarize them.
How to fix the 550 5.7.1 error
- Copy the sentence after the codeGmail shares the code across every reason above, so the sentence is what matters. Match it against the table before you change anything, because a reputation block and a header error need different fixes.
- Check your spam rate in Postmaster ToolsGoogle's Postmaster Tools shows the spam rate Gmail users report for your domain. Google's sender guidelines require senders to keep that rate below 0.3%.
- Check the sending server's DNSThe sending IP needs a PTR record that resolves to a hostname, and that hostname needs an A or AAAA record that points back to the same IP, for each IPv4 and IPv6 address the server sends from.
- Fix the headers your code buildsSend one From header with one address, a valid Message-ID and each single-use header only once. Then send yourself a test message and read its raw headers to confirm.
- Send only to people who askedConfirm each address when someone subscribes, stop mailing addresses that bounce and make unsubscribing easy. Google says recipients who want your mail are less likely to report it as spam, and spam reports lower a domain's reputation over time.
Frequently asked questions
Can I ask Google to unblock my IP address or domain?
No. Google's help page on blocked IPs says it can't allowlist IP addresses or make exceptions, and its sender guidelines say it doesn't accept allowlist requests from email providers. Fix what the bounce names instead.
Why do I get 550 5.7.1 on a shared IP?
Google says the activity of every sender on a shared IP affects the reputation of all of them, and that sending from a shared IP with a poor reputation can get your mail rejected with 5.7.1. Google's sender guidelines cover shared IPs. If the problem is someone else's mail on the IP, ask your email service about a different IP.
Is 550 5.7.1 an authentication error like 5.7.26?
Mostly not. Gmail uses 5.7.26 when neither SPF nor DKIM passes, when SPF fails against a -all record or when a DMARC policy rejects the message. It uses 5.7.27 when a bulk sender's message fails SPF, 5.7.30 when it fails DKIM, and 5.7.40 when a bulk sender's domain has no DMARC record or one without a policy. The 5.7.1 texts cover spam, reputation, header format, mail policies and rate limits, though the IPv6 text mentions authentication too. Google's SMTP error reference lists every code.
What does 550 5.7.1 mean from Google's SMTP relay?
If you send through Google Workspace's SMTP relay, two 5.7.1 bounces are about the relay itself. Invalid credentials for relay means the IP registered in the relay settings doesn't match the domain of the sending account, and Daily SMTP relay sending limit exceeded means your organization reached the relay's daily limit. Both are for your Workspace administrator, not a Gmail block. Google's SMTP error reference lists them.
More on why Gmail turns mail away
- SPF, DKIM and DMARCFind out why your emails land in spam, and who else can send mail as you.
- Gmail error 550 5.7.26Read which check Gmail says failed, then fix SPF or DKIM for the service that sent the message.
- Gmail, Yahoo and Outlook sender requirementsCompare provider requirements and see which a record check covers and which depend on how you send.
- Why your site's emails go to spamWork through authentication, sender setup, reputation and message content.