550 5.7.26GmailHard bounce (5xx)

Fix Gmail 550 5.7.26 Unauthenticated Email Error

Why Gmail rejects mail with 550 5.7.26, how to check SPF, DKIM, and DMARC alignment with dig, and exact DNS fixes for transactional and bulk senders.

Verified 2026-12-046 min read
Exact SMTP / API response (550 5.7.26)
550-5.7.26 This mail has been blocked because the sender is unauthenticated. Gmail requires all senders to authenticate with either SPF or DKIM.

Check your domain's SPF, DKIM, and DMARC live

Scan your sending domain in one click to spot missing records, SPF lookup overflows, and Gmail bulk-sender gaps.

Run check

What Gmail 550 5.7.26 means

Gmail issues 550-5.7.26 as a permanent rejection (hard bounce) whenever a message fails Google's authentication gate. Two distinct variants share this code:

  1. All senders: Neither SPF nor DKIM passed for the sending domain.
  2. Bulk senders (5,000+ messages/day to @gmail.com): Your message must pass both SPF and DKIM, carry a valid DMARC record (p=none minimum), and align either SPF (Return-Path) or DKIM (d=) with the From: domain. Gmail also returns 550-5.7.26 when your own DMARC policy is p=reject and a message fails alignment.

Because 550 is a 5xx response, your mail server will not automatically retry delivery.

Verify the exact failure in 60 seconds

Before changing DNS records, inspect the actual records Gmail sees from Google's public resolver (8.8.8.8):

# 1. Check SPF (must return exactly ONE v=spf1 TXT record)
dig @8.8.8.8 TXT yourdomain.com +short | grep spf1
 
# 2. Check DMARC (must exist at _dmarc.yourdomain.com)
dig @8.8.8.8 TXT _dmarc.yourdomain.com +short
 
# 3. Check DKIM (replace selector with your ESP's selector)
dig @8.8.8.8 TXT selector._domainkey.yourdomain.com +short

Next, send a test email to any Gmail address you control, open the message, click More -> Show original, and inspect the SPF, DKIM, and DMARC rows:

  • SPF: PERMERROR: You either have two v=spf1 records or more than 10 DNS lookups. See our SPF 10-lookup PermError walkthrough.
  • SPF: FAIL or SOFTFAIL: The sending IP or provider include: is missing from your SPF record, or your ESP sends from a subdomain that lacks its own SPF record.
  • DKIM: FAIL: The public key in DNS does not match the private signing key, or an intermediary modified the body/headers after signing.
  • DMARC: FAIL while SPF or DKIM passes: Your message is signed or authorized under your ESP's default domain instead of your From: domain (alignment failure).

You can also run all of these checks in one step with our free domain email deliverability audit.

Step-by-step fix

1. Fix SPF without breaking the 10-lookup cap

Every domain can have at most one v=spf1 TXT record. If you have two, merge them into a single line:

# Wrong (causes instant PermError)
v=spf1 include:_spf.google.com ~all
v=spf1 include:sendgrid.net ~all
 
# Right
v=spf1 include:_spf.google.com include:sendgrid.net ~all

If your sending tool uses a custom bounce subdomain (for example mail.yourdomain.com), SPF is evaluated on that Return-Path domain, not the root domain. Confirm the TXT or CNAME record your provider gave you is active on that exact subdomain.

2. Enable custom-domain DKIM signing

Default provider signing (such as d=sendgrid.net or d=amazonses.com) passes raw DKIM, but it fails DMARC alignment because d= does not match your From: domain.

  1. Generate domain authentication keys in your email provider's dashboard.
  2. Add the CNAME or TXT records at <selector>._domainkey.yourdomain.com.
  3. If your DNS host is Cloudflare, set every DKIM CNAME to DNS only (grey cloud) so Cloudflare does not proxy and break the record.
  4. Verify with dig @8.8.8.8 CNAME <selector>._domainkey.yourdomain.com +short.

3. Publish a DMARC record

Add a TXT record at _dmarc.yourdomain.com. Start with monitoring (p=none) so you do not accidentally block legitimate streams while checking reports:

v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

Once every sending service (billing, helpdesk, marketing, transactional app) passes aligned SPF or DKIM, move to p=quarantine and then p=reject.

4. Isolate transactional and marketing subdomains

If your app sends password resets from the same root domain where marketing blasts run, one misconfigured campaign tool can push your root SPF over 10 lookups or damage domain reputation. Send app emails from a subdomain like mail.yourdomain.com with its own clean SPF and DKIM records.

Or skip managing DNS alignment across multiple email tools

Running separate providers for transactional email, newsletters, and lifecycle sequences multiplies the number of SPF includes and DKIM keys you have to keep aligned.

Sequenzy handles transactional emails, lifecycle sequences, and campaigns on one verified sending domain:

  • Guided DNS verification for DKIM, SPF, return-path alignment, and DMARC before you send your first email.
  • Built-in domain health monitoring so broken DNS records or rising bounce rates are caught before Gmail starts returning 550 5.7.26.
  • One-click Domain Connect support for supported DNS registrars, plus automated bounce suppression.

Official sources

Frequently asked questions

Related error guides