The maximum length of a Discord username is 32 characters. Discord’s current username rules allow a unique username of between 2 and 32 characters, with usernames written in lowercase and limited punctuation.
This system replaced Discord’s older format, in which many people could use the same visible name as long as they had different four-digit discriminators such as #1234. The newer username is unique across Discord, making it easier to find and add the right person. Periods and underscores are allowed, but consecutive periods are not.
The word “username” is sometimes confused with “display name.” A display name is the prominent name other users see and can contain spaces, special characters, and emojis; it can also be up to 32 characters long, but it does not need to be unique. Server nicknames are separate again and may vary from one community to another. Discord also limits username changes to twice per week, while display names can be changed much more freely.