What is the optimal length for an email address in a database?

The maximum length of an email address is 254 characters.

Every email address is composed of two parts. The local part that comes before the ‘@’ sign, and the domain part that follows it. In “[email protected]”, the local part is “user”, and the domain part is “example.com”.

The local part must not exceed 64 characters and the domain part cannot be longer than 255 characters.

The combined length of the local + @ + domain parts of an email address must not exceed 254 characters. As described in RFC3696 Errata ID 1690.

I got the original part of this information from here

Leave a Comment