Block form or pop-up form submissions from specific email domains
Last updated: August 3, 2021
You can prevent visitors with email addresses at certain domains from submitting your HubSpot form or pop-up form.
Block email domains on a form
- In your HubSpot account, navigate to Marketing > Lead Capture > Forms.
- Hover over the form name and click Actions > Edit form.
- In the form editor, hover over the Email field and click edit Edit.
- Enter the domains you want to block in the Email domains to block field, separated by commas. Enter only the root domain without the www prefix or @ symbol (e.g., enter gmail.com , not www.gmail.com or @gmail.com).
- (Optional) Select the Block free email providers checkbox to block HubSpot's default list of free domains.

- In the top right, click Publish to take your changes live.
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.
Block email domains on a pop-up form
- In your HubSpot account, navigate to Marketing > Lead Capture > Forms.
- Hover over the pop-up form name and click Actions > Edit form.
- Click the Form tab.
- In the left pane, click the pencil icon edit on the right of the Email field.
- Enter the domains you want to block in the Email domains to block field, separated by commas. Enter only the root domain without the www prefix or @ symbol (e.g., enter gmail.com , not www.gmail.com or @gmail.com).
- (Optional) Select the Block free email providers checkbox to block HubSpot's default list of free domains.
When a visitor attempts to enter a blocked domain in the Email field on your pop-up form, they will see a message asking them to enter a business email address.

Thank you for your feedback, it means a lot to us.
Related content
-
Add videos to your HubSpot content
With HubSpot video, you can upload videos to the files tool, then add them to pages, marketing emails, blog...
Knowledge Base -
Create forms
Use forms to gather important information about your visitors and contacts. In HubSpot, you can easily create...
Knowledge Base -
Domains blocked from form submissions
To block form submissions that contain an email address with a disposable domain, you can turn on the Block...
Knowledge Base