Valid Email Syntax
The RFC structure every address must follow: local part, @, domain.
Valid syntax proves an address is well-formed, not deliverable.
Definition
Email syntax is the structural format an address must follow under RFC 5321 and RFC 5322: a local part, an @ symbol, and a domain with a valid top-level domain. A syntax check confirms an address is well-formed, but it never confirms the mailbox exists or accepts mail. That requires deeper checks like MX and SMTP verification.
Every verification we run starts with the same first question: is this even a well-formed address? Syntax is the cheapest, fastest check in the entire pipeline, and it is also the most misunderstood. A lot of tools treat a passed syntax check as proof an address is good, and a failed one as proof it is not. Neither is true. Syntax describes the shape of the text, nothing about the mailbox behind it.
What email syntax actually requires
The rules come from two internet standards. RFC 5321 defines the envelope address used during an SMTP conversation, and RFC 5322 defines the address format as it appears in message headers. Together they describe three parts: a local part, the @ symbol, and a domain. The local part identifies the mailbox, the domain identifies where that mailbox lives, and the @ is the one character that has to separate them exactly once.
RFC 5321 also sets hard limits that most real mail servers enforce: the local part can run up to 64 characters, and the full address up to 254. The domain itself has to resolve to a legal hostname, which in practice means it needs a dot and a real top-level domain, not just any string of characters after the @.
What a syntax check catches
A syntax validator is a set of deterministic, offline rules, so it runs instantly and catches the most obviously broken input before anything touches the network. The common failures are a missing @, a domain with no dot or an invalid top-level domain like .con, a blank local part, and stray spaces left over from a copy-paste. RFC 5321 also disallows doubled dots inside the local part, so [email protected] fails on syntax alone, not because the mailbox is unreachable, but because the string itself is malformed.
These checks are worth running first precisely because they are cheap. Rejecting a clearly malformed row before it consumes an MX lookup or an SMTP handshake saves time and avoids wasting a network round trip on input that could never have been valid.
Legal addresses that look wrong
The RFCs permit several forms that look suspicious to a hand-rolled validator but are entirely legitimate. A quoted local part, such as “john doe”@example.com, is allowed to contain spaces and otherwise-special characters as long as it is wrapped in quotes. Plus-addressing, where a sender appends a tag like [email protected], is a widely supported convention for filtering mail, not a malformed string. RFC 5321 additionally permits an IP-literal domain in place of a hostname, so user@[192.0.2.1] is valid syntax even though it never appears in ordinary use.
These edge cases are rare enough that most validators never see one in practice, but a strict validator that rejects them anyway is generating a false positive on a technically valid address, not correctly catching a real error.
Why regex validators over-reject
Most of the regex patterns copied around the internet approximate RFC 5321 and RFC 5322 instead of actually implementing them. A pattern loose enough to accept every legal form usually also lets through malformed strings, and a pattern tight enough to block every malformed string usually also blocks some of the legal edge cases above. Chasing a single regex that gets both sides right at once is a losing trade, since the specs were never designed to compress into one expression.
The more reliable approach treats syntax checking as a set of explicit, RFC-aware rules rather than one clever pattern, and errs toward letting an ambiguous-but-legal address through to the next layer of verification instead of rejecting it outright on a guess.
Syntax is layer one, not the whole answer
The address [email protected] is perfectly valid syntax and cannot receive mail. That gap is the entire reason syntax is treated as the first and fastest layer of email verification, never the last one. A real verification pipeline checks syntax, then confirms the domain has an MX record naming servers willing to receive mail for it, then opens a live SMTP conversation with the receiving server to ask whether that specific mailbox exists and accepts mail.
- Syntax checking is the first stage of the same engine behind the free email validator and the verification API, so a malformed address is caught before it ever reaches a network check.
- To see the full pipeline resolve a real address, from syntax through MX and a live SMTP handshake, run one through the free email checker.
- To watch the SMTP layer specifically, in isolation from syntax and MX, open a handshake with the SMTP test.
Treated correctly, a syntax check is a fast, cheap filter for obviously broken input, not a verdict on deliverability. For teams cleaning lists at scale, where the difference between filtering garbage rows and rejecting real customers comes down to exactly this distinction, the volume tiers are on the pricing page.
Explore more from Verifox
Email syntax sits inside a wider set of deliverability concepts. These are the terms most worth understanding next.
Common questions
Email syntax, answered
Most “invalid” addresses fail before a server is ever contacted — the syntax alone rules them out. Here’s what a valid address is allowed to look like, and where people get it wrong.
What is email syntax in simple terms?
It is the spelling rule for an email address: a name part, then an @, then a domain with a dot and a valid ending, like [email protected]. If an address is missing a piece or has an illegal character in the wrong place, it fails syntax before anyone even asks whether the mailbox is real.
Passing this check only means the address is well-formed. It says nothing about whether that mailbox actually exists or is currently accepting mail.
What are the official rules for email syntax?
The format is defined by two internet standards: RFC 5321, which governs the envelope addresses used over SMTP, and RFC 5322, which governs the address as it appears in message headers. Together they specify the local part, the @ separator, and the domain, along with which characters are legal in each.
RFC 5321 is stricter in practice, since it caps the local part at 64 characters and the full address at 254, limits most real-world mail servers actually enforce.
What mistakes does an email syntax check catch?
The obvious ones: a missing @, a domain with no dot or an invalid top-level domain, a blank local part, or doubled dots like [email protected], which RFC 5321 disallows. It also catches stray spaces and illegal characters that slipped in from a copy-paste or a bad form submission.
These are cheap, deterministic checks, so they run first, before any network request, and reject the most obviously broken rows in a list instantly.
Are there legal email addresses that look wrong?
Yes, more than most validators expect. Quoted local parts like “john doe”@example.com are legal and can contain spaces and otherwise-special characters inside the quotes. Plus-addressing, such as [email protected], is a normal, widely supported convention, not a malformed address.
RFC 5321 also permits an IP-literal domain, like user@[192.0.2.1], in place of a named domain. These forms are rare, but they are valid, and rejecting them outright is a false positive, not a correct catch.
Why do regex-based email validators over-reject?
Most regex patterns people copy from forums approximate the RFCs instead of implementing them, so they either miss real edge cases or reject legal ones like quoted strings, plus-addressing, and IP-literal domains. A pattern strict enough to exclude all malformed input tends to exclude some valid input too.
The safer failure mode is to reject only what is truly malformed and let ambiguous-but-legal forms through to the next layer, rather than build an ever-growing regex that still gets it wrong.
Does valid syntax mean an email address is deliverable?
No. Syntax only proves the address is well-formed text. It says nothing about whether the domain exists, whether it receives mail, or whether that specific mailbox is active. [email protected] is perfectly valid syntax and completely undeliverable.
That is why syntax is treated as the first, fastest layer of email verification, not the last one. Confirming deliverability needs the layers that come after it.
What happens after an address passes the syntax check?
Next comes a lookup for the domain’s MX record, which proves the domain is actually configured to receive mail at all. Only after that does verification open a live SMTP conversation with the receiving server to ask whether the specific mailbox exists.
Each layer answers a narrower question than the last, and syntax is simply the cheapest one to ask first. See the full pipeline on the free email validator.