Are Email Addresses Case Sensitive? Do Capital Letters Matter?
In This Article
Email addresses are not case sensitive after the @, and capital letters there never matter. Before the @, capital letters matter only if the mail server that receives the message is set up to tell them apart, and the email standard advises against it.
“Case sensitive” means that capital and small letters count as different. So John.Smith@example.com and john.smith@example.com reach the same mailbox unless the mail server for example.com treats them as two names.
| Part of the address | Example | Case sensitive? |
|---|---|---|
| After the @: the domain | Example.COM and example.com | No, never |
| Before the @: the name | Smith and smith | Only if the receiving mail server makes it so |
The quotes from each mail service below come from its own pages, as they read on November 20, 2026. Each page is linked.
Are emails case sensitive?
The rules that mail servers follow to pass email to each other are in RFC 5321. It treats the two parts of an address differently.
For the part after the @, it says: “Mailbox domains follow normal DNS rules and are hence not case sensitive.”
The standard calls the part before the @ the local part. Most people call it the username. Section 2.4 says:
The local-part of a mailbox MUST BE treated as case sensitive. Therefore, SMTP implementations MUST take care to preserve the case of mailbox local-parts. In particular, for some hosts, the user “smith” is different from the user “Smith”. However, exploiting the case sensitivity of mailbox local-parts impedes interoperability and is discouraged.
In plain words:
- Every server that passes a message along must keep the capitals as they were typed.
- The server that receives the message may treat
Smithandsmithas two people. - The standard advises against that. A server that tells capitals apart can turn away a message when the sender types the name with different capitals.
The same standard says the local part “MUST be interpreted and assigned semantics only by the host specified in the domain part of the address” (section 2.3.11). Only the receiving server decides what the name means.
One name must work with any capitals. Every server that relays or delivers mail “MUST support the reserved mailbox “postmaster” as a case-insensitive local name” (section 4.5.1).
Does capitalization matter in an email address?
Capital letters after the @ never change where a message goes. Before the @, they matter only where the receiving server makes them matter. In practice:
- When you send: copy the name before the @ as you were given it.
- When you sign up at a website: type your address the same way each time. The email standard covers how mail moves between servers. Each website compares addresses with its own code.
- When you type a password: at Yahoo and Proton, capitals count. Yahoo’s help says “your Yahoo password is case sensitive” (Yahoo Help), and Proton’s says “Passwords are case-sensitive” (Proton).
Where the receiving server tells capitals apart, two addresses that differ only by capitals can belong to two people. At Outlook.com, a moderator on Microsoft’s Q&A site says, in a community answer, that Microsoft “does not allow recreating the same address with different capitalization, because it is already considered taken.”
If a message did not arrive, check these first:
| Check | Why |
|---|---|
| The spelling, letter by letter | A swapped or missing letter is a different address |
| The spam or junk folder | A filter may have moved it |
| Your own rules and filters | A rule may have moved or deleted it |
| Your blocked senders list | A blocked sender’s mail is refused or hidden |
| The sender’s own copy of the address | The sender may have saved a typo |
Can email addresses have capital letters?
Yes. The message format standard, RFC 5322, builds the local part from letters, digits and a few symbols, and its letters are “A-Z / a-z” (RFC 5234). The example in RFC 5321, the user “Smith”, starts with a capital letter.
Which characters an address can hold, where a space is allowed and how long an address can be are covered in What is an email address?.
A service can still give out names in small letters only. Google does this for Gmail run by an organization, and so does Pokemail. Both are covered below.
Are Gmail addresses case sensitive?
Google’s help pages do not say what Gmail does with capital letters in mail it receives. That leaves the standard’s rule: Google’s own mail server decides what the name before the @ means. The help pages do say how a username is made. The page Create a username says: “Usernames can contain letters (a-z), numbers (0-9), and periods (.).”
For Gmail run by a work, school or other organization, Google’s page Name guidelines for users & groups is plainer: “Must be lowercase. If you enter uppercase letters when creating a username, they’re converted to lowercase letters.”
Are Outlook, Yahoo, iCloud and Proton addresses case sensitive?
Each service decides for its own addresses, and the standard advises each one not to tell capitals apart. This is what each one’s own pages say.
| Service | What its own pages say about capitals in an address |
|---|---|
| Pokemail | Our mail server lowercases the address each message is sent to before it looks for the inbox. The details are below. |
| Outlook.com | Microsoft’s help articles on adding, changing and signing in with an address say nothing. A moderator on Microsoft’s Q&A site, listed as Microsoft external staff, answered on March 17, 2026: “Microsoft / Outlook.com email addresses are not case-sensitive for delivery or sign-in”. It is a community answer, not a help article. |
| Yahoo Mail | The help pages on signing up, signing in and account names say nothing. |
| iCloud Mail | Apple’s pages on iCloud Mail addresses, aliases and the primary address say nothing. |
| Proton Mail | ”Usernames and email addresses are not case-sensitive” (How to change your username). |
Are domain names case sensitive?
No, never. The DNS is the system that finds the server behind a name like example.com. Its standard says all its comparisons of names “are done in a case-insensitive manner” (RFC 1035), and RFC 4343 says it again: DNS names are “case insensitive”. That holds for the domain of an email address and for the domain of a website. Pokemail.App and pokemail.app are one site.
The rest of a web address can be different. The standard for web addresses, RFC 3986, says the scheme (such as https) and the host “are case-insensitive”, and that the other parts “are assumed to be case-sensitive unless specifically defined otherwise by the scheme”. So example.com/Page and example.com/page can be two different pages.
Do periods matter in email addresses?
At gmail.com, no. Google says “you own all dotted versions of your address”, so j.smith@gmail.com and jsmith@gmail.com reach the same inbox. Anyone who tries to create a Gmail account with a dotted version of your username gets “an error saying the username is already taken” (Dots don’t matter in Gmail addresses). For Gmail used through a work, school or other organization, the same page says “dots do change your address”.
At Proton Mail, dots, underscores and hyphens in a username “are treated as transparent”, so “username is the same as user_name and user.name” (How to change your username).
Elsewhere, the standard counts a dot as part of the name, and only the receiving server decides what it means. The +tag suffix is a different feature with different privacy effects; both are covered in the Gmail dot trick and plus addressing.
What does our own mail server do with capital letters?
We run a mail server that receives real messages from the public internet, so we have to make this decision rather than describe it.
When a message arrives, the recipient address in the delivery command is lowercased before the server works out which inbox it belongs to. Every lookup the server makes to find that inbox uses the lowercased form. So Ash@, ash@ and ASH@ reach the same inbox.
A new Pokemail inbox gets a random name of small letters and digits. You can also type a name of your own, and each capital you type turns into a small letter as you type it. People copy these addresses by hand into forms on other sites, and folding case on receipt makes a message arrive however the sender typed the address.
You can see it for yourself. Open Pokemail for a free disposable inbox, the kind people also call a burner email or a throwaway address. Send a message to it with the first letter typed as a capital, and it lands in the same inbox.
Should I lowercase email addresses in my database?
Yes, for comparison.
| Step | Do | Do not |
|---|---|---|
| Store | The address as the user typed it | Rewrite it before saving |
| Compare, log in, check uniqueness | A lowercased copy: a unique index on lower(email) or a citext column in PostgreSQL | Let Ash@ and ash@ become two accounts |
| Domain | Lowercase it always | Keep its capitals for any lookup |
Dots and +tags | Leave them as typed | Strip them for every provider |
| Send | The address as typed | Lowercase it on the wire |
If Ash@example.com registers and ash@example.com later tries to, they are the same person until proven otherwise. Letting the second through makes two accounts, and a password reset can then reach the wrong one.
Do not strip dots or plus tags by default. The standard leaves both to the receiving server, so stripping them can merge two people into one account. If you want to find duplicate Gmail accounts, make it a deliberate product decision with an explicit check for gmail.com, not a normalization step.
The same rule applies inside a test suite. If you generate addresses in code and later assert that your application stored the right one, fold both sides before comparing, or a capitalized local part will fail a test that is actually passing. Our temp mail API guide explains the generate-and-read loop that kind of test is built on, and the developer API quickstart shows it step by step.
Keep validation loose and let delivery be the real test. At least one @ with something on either side, surrounding spaces trimmed, nothing over 254 characters: that accepts every valid address. A regular expression that refuses + or insists on a particular top-level domain turns away real people. The only check that proves an address works is sending a message to it and watching it arrive.
Free temporary email in one click. No registration, no tracking. Auto-deletes in 60 minutes.
Frequently Asked Questions
Are email addresses case sensitive?
The part after the @ is never case sensitive. The part before the @ can be, but only if the receiving mail server is set up to tell capital letters apart, and the email standard, RFC 5321, advises against it.
Does capitalization matter in email addresses?
Not after the @. Before the @, capital letters matter only at a mail server that tells them apart. When you send, copy the name as you were given it. At a website, type your address the same way each time.
Can email addresses have capital letters?
Yes. The standard allows capital and small letters before the @. A service can still give out names in small letters only, as Google does for Gmail run by an organization.
Are Gmail addresses case sensitive?
Google's help pages do not say what Gmail does with capital letters in mail it receives. They say a Gmail username can contain letters (a-z), numbers and periods, and that a username in Gmail run by an organization must be lowercase.
Are domain names case sensitive?
No. The DNS compares names without regard to case, as RFC 1035 and RFC 4343 say, so Example.COM and example.com are the same domain. RFC 5321 repeats it for email: mailbox domains follow normal DNS rules and are not case sensitive.
Do periods matter in email addresses?
At gmail.com, no: Google says you own all dotted versions of your address. For Gmail used through an organization, Google says dots do change the address. Proton Mail treats dots in a username as transparent. Elsewhere, only the receiving server decides.
How long can an email address be?
254 characters. The standard allows 64 for the part before the @ and 255 for the domain, but the delivery command caps the whole path at 256 including its two angle brackets. A verified erratum to RFC 3696 states the 254 limit.
Should I lowercase email addresses in my database?
For comparison, yes. Lowercase the domain always, compare the local part without regard to case, and keep what the user typed for display and for sending. A unique index on lower(email), or a citext column in PostgreSQL, stops two accounts that differ only by case.
Can an email address contain a space?
Only inside a quoted local part, such as "john smith"@example.com, which RFC 5322 permits. If a user types a space into an address field, treat it as a typo.
Sources
- RFC 5321 rfc-editor.org
- Yahoo Help help.yahoo.com
- Proton proton.me
- community answer learn.microsoft.com
- RFC 5322 rfc-editor.org
- RFC 5234 rfc-editor.org
- Create a username support.google.com
- Name guidelines for users & groups knowledge.workspace.google.com
- adding support.microsoft.com
- changing support.microsoft.com
- signing in with support.microsoft.com
- signing up help.yahoo.com
- signing in help.yahoo.com
- account names help.yahoo.com
- iCloud Mail addresses support.apple.com
- aliases support.apple.com
- the primary address support.apple.com
- How to change your username proton.me
- RFC 1035 rfc-editor.org
- RFC 4343 rfc-editor.org
- RFC 3986 rfc-editor.org
- Dots don't matter in Gmail addresses support.google.com
What this page says of another service comes from that service's own pages, and what it says of Pokemail from the service itself, checked on November 20, 2026. How we write and check our posts.