Addresses look simple, but the standards are wider than most sign-up forms assume and narrower than some forms accept. This is a practical summary.
Structure
An address is local-part@domain with a single separating @ (quoting is the rare exception).
The local part
- Up to 64 octets.
- The usual form (dot-atom): Latin letters, digits,
! # $ % & ' * + / = ? ^ _ ` { | } ~ -and a dot, provided it does not start or end with a dot nor contain two consecutive dots. - Quoted text such as
"john doe"@example.comis theoretically allowed and rarely used. - The
+sign is valid:name+tag@example.comis a correct address (subaddressing), so do not reject it in forms. - Case sensitivity of the local part is theoretically permitted, but in practice the major providers do not distinguish.
The domain
- Total length up to 255 characters and each label up to 63, not starting or ending with a hyphen.
- Letters, digits and hyphens, case-insensitive.
- The top-level domain is not all digits.
- Internationalised domains (IDN): are sent as Punycode such as
xn--..., and RFC 6531 (SMTPUTF8) also allows Unicode in the local part, though support varies. - The form
user@[192.0.2.1](IP literal) is valid by the standard and rare in practice.
Total length
The practical limit of a full address is 254 characters (derived from the SMTP path limit of 256 octets).
A valid format does not mean an existing mailbox
A regular expression proves only the shape. An MX record (or A as a fallback) proves the domain accepts mail, not that name@ exists there. The only reliable method is a confirmation message containing a link that the address owner clicks.
Recommendations for forms
- Validate minimally: a single
@, a local part and a domain with a dot and a valid TLD. - Trim spaces at both ends and do not change the local part's case when storing.
- Do not reject
+or valid internationalised domains. - Suggest fixes for common typos (
gmial.com) but do not force them. - Confirm by email (double opt-in) if quality matters.
Put it into practice
Try your addresses in the Email Validator (syntax, domain and the reason for rejection), and extract them from text with the Email Extractor. See also the list hygiene guide.


