Skip to content

Block form submissions from specific email domains

Last updated: August 15, 2025

Available with any of the following subscriptions, except where noted:

You can prevent visitors with email addresses containing specific domains from submitting your HubSpot form. To further protect your forms from spam submissions, learn how to turn on CAPTCHA on your forms

Block email domains on a form

You can block either specific email domains or HubSpot's default list of free domains on your forms. When a visitor attempts to enter a blocked domain in the Email field on your form, they will see a message asking them to enter a business email address.

The steps to block email domains differ based on whether you’re using the updated form editor or the legacy form editor.

Use the updated form editor

  1. In your HubSpot account, navigate to Marketing > Forms.
  2. Create a new form or hover over an existing form and click Edit.
  3. In the left sidebar, click the settings settings icon.
  4. In the left panel, click the Submission Settings tab.
    • To block specific domains, enter domains in the Email domains to block field. 
    • To block submissions from HubSpot's default list of free domains, click to toggle the Block free email providers switch on.
  5. In the top right, click Review and update.

Form editor showing how to block certain email domains from submitting a form.

Use the legacy form editor

  1. In your HubSpot account, navigate to Marketing > Forms.
  2. Hover over a form and click Edit
  3. In the form editor, hover over the Email field and click the edit edit icon.
  4. In the Email domains to block field, enter the domains you want to block.
    • Each domain should be separated by commas.
    • Enter only the root domain without the www prefix or @ symbol. For example, enter gmail.com, not www.gmail.com or @gmail.com.
  5. To block HubSpot's default list of free domains, select the Block free email providers checkbox.
  6. In the top right, click Update or Publish

 

Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.