How to Write a Valid Email Address: Rules and Examples
In this article
A valid email address has exactly one "@" sign, a username before it, and a domain after it that ends with a dot and a top-level part like .com or .org — for example, name@example.com. No spaces are allowed anywhere in the address.
Time 3 min · Steps 7 · Level Easy
The Seven Parts Every Valid Address Gets Right
- Start with a username. This is the part before the "@" — usually your name, a nickname, or a made-up handle like bluecat22. It can contain letters, numbers, periods, underscores, hyphens, and a few other symbols.
- Add exactly one "@" sign. The "@" separates the username from the domain. Two "@" signs, or none at all, makes the address invalid.
- Write the domain name. This is the part after the "@", like gmail, outlook, or the name of a company. It can contain letters, numbers, and hyphens.
- Put a dot before the ending. The domain needs at least one period, as in example.com. An address like name@example has no ending and will be rejected.
- Finish with a top-level domain. This is the part after the last dot: .com, .org, .net, .edu, .gov, or a country ending like .co.uk or .ng. It must be at least two letters.
- Leave out the spaces. Spaces are never allowed. If you want to separate words, use a period, hyphen, or underscore: jane.doe@example.com works; jane doe@example.com does not.
- Check the characters. Stick to letters, numbers, and the symbols . _ - + in the username. Avoid commas, quotes, semicolons, and non-English characters unless you know the service accepts them.
What Each Part Is Called
Every email address has the same three-part shape: username @ domain . top-level domain. In maria.lopez88@mail.example.co.uk, the username is maria.lopez88, the domain is mail.example.co.uk, and the final .uk is the top-level domain. The extra dots inside the domain are fine — a domain can have several labels, as long as each one is at least one character and the last one is at least two letters. The username can also contain dots, which many people use to separate a first and last name.
Characters That Break an Address
The fastest way to check an address is to scan for the characters that are never or almost never allowed. A space anywhere invalidates it. A comma, semicolon, or quotation mark almost always does too, and often means the address was copied with extra punctuation wrapped around it. A missing dot after the "@" — name@example — fails every mail service. Two "@" signs, such as name@@example.com, fails as well. An empty username (@example.com) or empty domain (name@) is not a real address.
One subtlety: the username cannot end with a dot on most major services, and consecutive dots like jane..doe are rejected by Gmail and Outlook when you create an account. Hyphens are allowed in the domain but cannot start or end a label, so -example-.com is invalid.
Rule of Thumb and the Big Misconception
Here is the rule of thumb worth memorising: something@something.something — no spaces, one "@", at least one dot after the "@". If an address fits that pattern, it is shaped correctly; if it does not, it is invalid no matter how plausible it looks.
The common misconception is that a correctly shaped address is a working address. It is not. The shape can be perfect while the mailbox does not exist — jane.doe@example.com is valid in form but bounces if nobody registered it. Shape is what a signup form checks instantly; existence is what the mail server discovers when it tries to deliver. That is why you can "write a valid email address" for a form and still have the message fail later.
Choosing a Username That Stays Valid and Useful
When you create a new address, the username is the part you control. Keep it between about 6 and 30 characters — very long usernames are rejected by some services, and very short ones are usually taken. Use only letters, numbers, periods, underscores, and hyphens. If your first choice is taken, adding a number or your profession works better than adding random symbols: maria.lopez.writer@example.com rather than maria!!!lopez.
Avoid characters that are easy to misread when you say the address aloud or write it by hand: the digit 1 versus the letter l, 0 versus O. This matters most on forms you fill in for other people — a pharmacy, a school, a delivery service — where a mistyped character means missed mail.
Fixing the Usual Typing Errors
Most invalid addresses come from four fixable slips. If a form says the address is invalid, check these in order: a space at the start or end (delete it — forms never trim it for you); a comma instead of a dot, easy to type on mobile keyboards; a doubled character like ..com or @@; and a missing ending like name@example. If you copied the address from a message, re-copy it without the surrounding angle brackets — the form only wants what is inside <name@example.com>.
If the address passes a shape check but mail still bounces, the domain may be misspelled. Reading the domain letter by letter against the real service name catches gmial versus gmail and outlok versus outlook, the two slips that swallow the most mail.
Valid and Invalid Examples Side by Side
Valid: name@example.com, maria.lopez88@mail.example.co.uk, blue_cat-22@my-site.org, a+b@example.net (the plus sign is accepted by many services and is used for filtering mail).
Invalid: name@example (no top-level domain), name@@example.com (two "@" signs), jane doe@example.com (space), name@example..com (doubled dot in the domain), @example.com (empty username), name@ (empty domain), name@example,com (comma instead of dot).
Test any address against the rule of thumb — something@something.something, no spaces — and it will tell you in seconds whether the shape is right.
Official source: Google Gmail Help