What makes an email address valid

A valid email address follows a specific format that email systems can recognize and deliver to. It has three parts: a local part (the username), an @ symbol, and a domain name. The local part can contain letters, numbers, periods, hyphens, and underscores. The domain is the part after the @ — it must have at least one period and end with a recognized top-level domain like .com, .org, .edu, or .gov.

Valid does not mean the address actually exists or that someone checks it. It just means the format is correct enough for an email server to attempt delivery. An address like jane.smith@company.com is valid. An address like jane.smith@company (missing the domain extension) is not, because email servers will reject it before even trying to send anything.

Most email services check the format when you sign up or enter an address. If you see an error message like "Please enter a valid email address," the system found a formatting problem — usually a missing @ symbol, a space in the middle, or a domain without a period.

Key Takeaways

  • A valid email address has the format username@domain.extension, with no spaces or certain special characters in the username part.
  • Email systems check format automatically, so you will see an error message if you type something that breaks the rules.
  • An address can be valid in format but not actually exist — validity only means the format is correct, not that someone owns it.
  • Common formatting mistakes that make addresses invalid include missing the @ symbol, including spaces, or leaving off the domain extension like .com.

The format rules email systems use

Email addresses follow rules set by the Internet Engineering Task Force, a standards organization. The username (local part) can be up to 64 characters and can include letters, numbers, periods, hyphens, underscores, and a few other symbols. It cannot start or end with a period, and it cannot have two periods in a row.

The domain name comes after the @. It can be up to 255 characters total and must contain at least one period. The part after the final period (the top-level domain) must be at least two characters and can only contain letters. Common ones are .com, .org, .edu, .gov, and country codes like .uk or .de.

Spaces, commas, and most special characters like ! or $ will cause the address to fail validation. Some email providers are stricter than others — Gmail, for example, ignores periods in the username part when checking if an address is new, so jane.smith@gmail.com and janesmith@gmail.com go to the same inbox. But the format itself still has to follow the basic rules.

How to check if an address is valid before sending

The simplest check is to look for the basic format: username, @, domain, period, extension. If any of those pieces are missing or obviously wrong, the address is not valid. If you are typing it yourself, most email clients will flag obvious problems as you type or when you try to send.

If you are checking an address someone else gave you, read it carefully for common typos. People often mistype domains — writing gmial.com instead of gmail.com, or forgetting the extension entirely. If the address looks correct but you are not sure, you can try sending a test message. If the address is invalid, the email will bounce back with an error message from the mail server.

There are websites that claim to validate email addresses by checking whether they actually exist, but these tools have limits. They can check the format, but they cannot reliably tell whether someone actually monitors that inbox — many servers do not respond to validation checks for privacy reasons. The only real way to know if an address is active is to send something and see if you get a response or a bounce-back.

Why format matters but existence does not

Email systems care about format because they need to route messages correctly. A malformed address cannot be routed, so the system rejects it when ready. This is why you see validation errors when you sign up for a service or enter a contact address.

But format validation does not tell you whether the address is real. Someone could have typed a perfectly valid address that no one has ever registered. Or they could have registered it years ago and stopped checking it. The format rules exist to keep the system working, not to verify that a person is on the other end.

This is why phishing and spam emails can come from valid-looking addresses that do not belong to the person they claim to be from. The format is correct, so it passes validation, but the sender is not who they say they are. Format validity and sender authenticity are two different things.

Common formatting mistakes that fail validation

Missing the @ symbol is the most common error. An address like janesmith.company.com looks almost right but will not work. The @ is required — it tells the mail server where the domain name begins.

Spaces anywhere in the address will cause it to fail. This includes spaces before or after the address, or in the middle. jane smith@company.com is invalid, as is jane@company .com (note the space before com).

Missing the domain extension is another frequent mistake. jane@company is not valid because there is no period and no top-level domain. It needs to be jane@company.com or jane@company.org.

Two periods in a row, or a period at the start or end of the username, will also fail. jane..smith@company.com and .jane@company.com are both invalid. Some email providers are more forgiving than others, but the standard rules do not allow these.

What happens when you enter an invalid address

Most services check the format as soon as you finish typing or when you try to submit the form. If the address does not match the required format, you will see an error message. The message usually says something like "Please enter a valid email address" or "Invalid email format."

If you are sending an email and the address is invalid, your email client may warn you before sending, or the mail server may reject it and send you a bounce-back message. The bounce-back will usually say something like "Invalid recipient" or "Malformed address."

If an address passes format validation but does not actually exist, you will not get an error right away. The email will appear to send, but it may bounce back later with a message like "User unknown" or "Recipient not found." This can take anywhere from a few minutes to a few hours.

Frequently Asked Questions

Can an email address be valid but not real?

Yes. A valid address follows the correct format, but that does not mean anyone owns it or checks it. Someone could type a perfectly formatted address that was never registered. The only way to know if it is real is to send something and see if it bounces back.

Why do some email providers ignore periods in the username?

Gmail treats jane.smith@gmail.com and janesmith@gmail.com as the same address, so both go to the same inbox. This is a choice Gmail made, not a rule of email itself. Other providers treat them as different addresses. The format is still valid either way.

What if I get an error message that says the address is invalid but it looks correct to me?

Check for spaces at the beginning or end, or in the middle of the address. Look for two periods in a row. Make sure there is an @ symbol and a domain extension like .com. If you still cannot find the problem, copy the address into a plain text editor to see if there are hidden characters.

Can I use numbers and special characters in the username part?

Numbers are fine — jane123@company.com is valid. Most special characters are not allowed, but periods, hyphens, and underscores work. So jane_smith@company.com and jane-smith@company.com are both valid, but jane!smith@company.com is not.

If an email bounces back, does that mean the address was invalid?

Not necessarily. The address could be valid in format but the inbox does not exist, or it could be valid and real but full or temporarily unavailable. A bounce-back tells you the message did not go through, but it does not always tell you why.