How to fix "multiple SPF records found"
Your domain has more than one DNS TXT record starting with v=spf1, and the rules allow only one. Merge them into a single record, delete the extras, and your email authentication works again.
SPF is a short line in your domain's DNS that lists which services may send email as you. When a domain publishes two or more of these lines, receiving mail servers do not pick one. They treat SPF as broken (the technical name is a permerror) and may ignore it, send your mail to spam, or reject it. This page shows how to find the extra records, merge them safely and check the result.
What the problem is and what you see
An SPF record is a DNS TXT record whose value begins with v=spf1. The standard (RFC 7208) says a domain must not have more than one. It usually happens like this: you set up Google Workspace or Microsoft 365 and add an SPF record. Later you add a newsletter tool, an invoicing system or a CRM, and each one tells you to add its own SPF record. Nobody removes the old one, so you end up with two or three.
You rarely see an error on the website itself. Instead you may notice:
- Customers saying your emails arrive in spam or do not arrive at all
- A DNS or email checker reporting multiple SPF records, or SPF result
permerror - Bounce messages or reports mentioning SPF failure
- Warnings from Gmail or Yahoo about authentication
Why it matters
Email is how quotes, invoices, password resets and order confirmations reach people. If SPF is broken, mailbox providers have less reason to trust your messages, and more of them end up in the spam folder (see why emails go to spam for the other common causes). It also weakens your protection against someone sending fake email in your name.
SPF also feeds into DMARC. DMARC passes if SPF or DKIM passes and lines up with your domain, so a broken SPF record puts all the weight on DKIM. If DKIM is also misconfigured, your mail fails completely. Do not rely on one safety net.
How to check if you have it
You can check for free in a few minutes.
- Online checkers: enter your domain into a free SPF or DNS lookup tool such as MXToolbox (SPF Record Lookup) or Google's Admin Toolbox Dig. Both show the TXT records and flag duplicates.
- Command line on Mac or Linux: run
dig TXT yourdomain.com +short - Command line on Windows: run
nslookup -type=TXT yourdomain.com - Your DNS dashboard: open the DNS records page and look at all TXT records on the root domain (shown as
@or blank).
Count the values that start with v=spf1. More than one means you have the problem. Only look at the exact domain you send from. A record on mail.yourdomain.com is separate from one on yourdomain.com, and having one each is fine.
SiteMonday looks at this in week 10, the domain, SSL and email deliverability service, and lists it in the ranked fix list with the other findings. The manual checks above work at any time.
How to fix it
The goal is one record that contains everything you really use. Do not just delete one of them, because that can silently stop a service from sending.
- Copy every
v=spf1record into a text file so you have a backup. - List what each record covers. Look for lines beginning
include:, plus anyip4:orip6:entries. - Work out which services still send email for you: your mailbox provider, newsletter tool, website forms, invoicing, helpdesk. Ask your web developer if unsure. Drop entries for services you stopped using.
- Build one record. It starts with
v=spf1, then all theinclude:and IP entries, and ends with a singleallterm. - Edit one of the existing records to hold the merged value and delete the others.
- Save, then wait for DNS to update (often minutes, sometimes a few hours).
Example. These two separate records:
v=spf1 include:_spf.google.com ~all
v=spf1 include:sendgrid.net ~all
become this one record:
v=spf1 include:_spf.google.com include:sendgrid.net ~all
Use the exact include: values your providers give you in their setup instructions. The ones above are examples. For the ending, ~all (soft fail) is common and -all (hard fail) is stricter. Never use +all, which allows anyone to send as you. See SPF softfail or plus all if you are unsure.
Watch the 10 lookup limit. SPF allows at most 10 DNS lookups in total, counting each include:, a, mx, exists and redirect, including lookups nested inside the includes. Going over is another permerror. If you pile on many services, a checker will tell you the lookup count. Removing unused services is the simplest fix.
Where to do it on common platforms
The record lives wherever your domain's DNS is hosted, which is not always where you bought the domain. Check your nameservers if you are unsure. Menu names vary, but you usually look for DNS, DNS Zone or Manage DNS, then TXT records.
- Cloudflare: DNS, then Records, filter by type TXT.
- GoDaddy and Namecheap: open the domain, then DNS or Advanced DNS.
- cPanel: Zone Editor, then Manage next to your domain.
- Hostinger: Domains, then DNS / Nameservers, then the DNS records tab.
- Google Workspace: Google only gives you the value to publish. The record itself is edited at your DNS host. See the Google Workspace guide.
- Microsoft 365: the same applies. The value is
include:spf.protection.outlook.com, and you edit it at your DNS host. See the Microsoft 365 guide.
Some DNS hosts show a TXT value with quotation marks. That is normal, so do not add extra ones inside the value.
How to confirm the fix worked
- Run the same lookup again (
dig TXT yourdomain.com +shortor an online checker). You should see exactly one value starting withv=spf1. - Check that the SPF test passes and reports no permerror and no more than 10 lookups.
- Send a test email from each service you use (your mailbox, the newsletter tool, a website form) to a Gmail address. Open the message, choose Show original, and look for
SPF: PASS. - If a service fails, its
include:is probably missing from the merged record. Add it and test again.
If mail still lands in spam with SPF passing, the cause is elsewhere, such as DKIM, DMARC or sender reputation. DMARC alignment failure is the usual next thing to check.
How to stop it coming back
- Before adding a service, edit the existing SPF record rather than pasting in a new one. When a provider says add this TXT record, check whether one already exists.
- Keep a note of which services send email for your domain and why each is in the record.
- Remove entries when you cancel a service.
- Tell whoever manages your DNS (agency, developer, IT person) that there must only ever be one SPF record.
- Recheck after any email or hosting change, and about every few months.
SiteMonday finds and explains the problem. Making the DNS change is up to you or your developer.
Step by step for your platform
- Multiple SPF records on one domain on Google Workspace
- Multiple SPF records on one domain on Microsoft 365
- Multiple SPF records on one domain on Cloudflare
- Multiple SPF records on one domain on GoDaddy
- Multiple SPF records on one domain on Namecheap
- Multiple SPF records on one domain on cPanel
- Multiple SPF records on one domain on Hostinger
Questions
Can I have two SPF records if they are for different services?
No. A domain must publish only one SPF record, so all services must be combined into one record. Two records cause a permerror even if each one is correct on its own.
Can I have separate SPF records on subdomains?
Yes. Each hostname is checked on its own, so `yourdomain.com` and `news.yourdomain.com` can each have one SPF record. The rule is one per hostname.
Will deleting the extra record stop my email?
Only if you remove a service that is not included in the remaining record. Merge the entries first, then delete the duplicates, and send test emails afterwards.
How long does the change take?
Often a few minutes, but it can take several hours depending on the record's TTL (cache time) at your DNS host. Recheck later if you still see the old records.
Does this affect my Google search ranking?
Not directly. The effect is on email delivery and trust, which can affect enquiries, orders and password resets reaching your customers.
What if I go over the 10 lookup limit when merging?
Remove services you no longer use first. If you still exceed it, ask a developer or your email provider about reducing lookups, for example by replacing some `include:` entries with fixed IP ranges where the provider supports that. Only do this if the provider publishes stable ranges, because IPs can change and silently break sending.