How to Set Up SPF for HubSpot

Authorize HubSpot to send marketing and transactional email on behalf of your domain by adding the correct SPF include.

Quick Answer — The Record You Need

Record Type

TXT

Host / Name

@

Value
v=spf1 include:_spf.hubspot.com ~all

If HubSpot uses a transactional email partner (e.g., SendGrid), you may need their include as well.

Step-by-Step Setup

1

Log in to HubSpot

Go to app.hubspot.com and sign in to your account.

2

Navigate to domain settings

Go to Settings > Website > Domains & URLs > Email Sending Domains. Click "Connect a domain".

3

Enter your sending domain

Enter the domain you send email from. HubSpot will generate the DNS records you need.

4

Add the SPF record

Add include:_spf.hubspot.com to your existing SPF record.

v=spf1 include:_spf.hubspot.com ~all
5

Verify in HubSpot

Click "Verify" in HubSpot. The platform will check your DNS records.

Before & After

Before
v=spf1 include:_spf.google.com ~all
After
v=spf1 include:_spf.google.com include:_spf.hubspot.com ~all

Common Gotchas

  • HubSpot uses _spf.hubspot.com for their SPF include. Do not use hubspot.com directly.
  • HubSpot transactional email may route through a different provider. Check the DNS records HubSpot provides in your account for the most accurate SPF include.
  • If you exceed 10 SPF DNS lookups, HubSpot supports Domain Connect for automatic DNS configuration with compatible providers.

Verify Your Setup

After adding your DNS records, use our free SPF checker to verify everything is configured correctly. DNS changes typically propagate within minutes, but can take up to 48 hours.

Frequently Asked Questions

What SPF record do I need for HubSpot?

Add include:_spf.hubspot.com to your SPF record. For example: v=spf1 include:_spf.hubspot.com ~all.

Does HubSpot support Domain Connect for SPF?

Yes. If your DNS provider supports Domain Connect (e.g., GoDaddy), HubSpot can configure DNS records automatically.

Do I need separate SPF for HubSpot marketing and transactional email?

Check your HubSpot account settings. HubSpot may use different infrastructure for transactional email, which could require an additional SPF include.

Related Guides