The fastest way to get a user ID from a username
Discord assigns every user a unique number called a user ID, separate from their username. To find someone's user ID from their username, you need to enable Developer Mode in Discord, then right-click their username and select "Copy User ID". This works in direct messages, servers, and member lists.
If you do not have Developer Mode on yet, open Discord settings, go to Advanced, and toggle Developer Mode on. Once enabled, the copy option appears on any username you right-click.
User IDs are long numbers (usually 17 or 18 digits) that stay the same even if someone changes their username. Usernames can change anytime, but the ID does not.
Key Takeaways
- Enable Developer Mode in Discord settings under Advanced to unlock the ability to copy user IDs.
- Right-click any username in Discord and select "Copy User ID" to get the full numeric ID.
- User IDs remain constant even when someone changes their username or display name.
- User IDs work across all Discord platforms — desktop, web, and mobile — once Developer Mode is on.
- You can only copy a user ID for someone whose profile you can see, such as members in a shared server or people in your direct messages.
Turning on Developer Mode step by step
Developer Mode is a Discord setting that shows technical information, including the copy ID option. To turn it on, open Discord and click the gear icon in the bottom left corner to open User Settings.
In the left sidebar, scroll down and click Advanced. At the top of the Advanced page, you will see a toggle for Developer Mode. Click it to turn it on. The toggle will turn blue when it is active.
Close the settings window. Developer Mode stays on until you turn it off again, so you only need to do this once.
Copying a user ID after Developer Mode is on
Once Developer Mode is enabled, finding a user ID takes one right-click. Locate the person's username anywhere in Discord — in a server member list, in a direct message conversation, in a comment, or in a server channel. Right-click their username.
A menu will appear with several options. Look for "Copy User ID" near the bottom of the menu and click it. The ID is now copied to your clipboard and ready to paste anywhere you need it.
If you do not see "Copy User ID" in the menu, Developer Mode is not on. Go back to User Settings, Advanced, and make sure the toggle is blue.
Where you can and cannot find user IDs
You can copy a user ID from anyone whose profile appears in Discord — members of servers you share, people in your direct messages, or users in public servers. You can right-click usernames in member lists, chat messages, replies, and profile cards.
You cannot copy a user ID from someone you have never interacted with and do not share a server with. If you search for a username in Discord's search bar, you cannot right-click the results to get an ID. You would need to join a server they are in or have them send you a direct message first.
Why user IDs matter and how they differ from usernames
A username is what you see displayed in chat — it can contain letters, numbers, and some symbols, and a person can change it anytime. A user ID is a permanent number assigned by Discord when the account is created. It never changes, even if the person changes their username five times.
User IDs are useful when you need to tag someone in code, set up Discord bots, or keep a record of someone's account that will not break if they rename themselves. Some Discord bots and integrations ask for a user ID instead of a username because the ID is reliable and permanent.
Copying user IDs on mobile Discord
Developer Mode works the same way on the Discord mobile app as it does on desktop. Open the app, tap your profile icon at the bottom right, go to User Settings, tap Advanced, and toggle Developer Mode on.
Once it is on, find the person's username in a server or direct message, press and hold their name, and select "Copy User ID" from the menu that appears. The process is identical to desktop, just using touch instead of a right-click.
Frequently Asked Questions
Can I find someone's user ID if I only know their username and we are not in the same server?
No. You can only copy a user ID from someone whose profile you can access in Discord. If you do not share a server or direct message conversation, their username will not appear in a place where you can right-click it. You would need to join a server they are in first.
Does turning on Developer Mode change anything else about my Discord account?
No. Developer Mode only adds the copy ID option and a few other technical details to right-click menus. It does not change your privacy settings, who can message you, or anything visible to other users. Only you see the difference.
What if I copy a user ID but forget who it belongs to?
User IDs alone do not tell you who they belong to. If you need to remember, write down the username next to the ID when you copy it. Some Discord bots can look up a user ID and show you the username, but that requires the bot to have access to Discord's data.
Can someone see that I copied their user ID?
No. Copying a user ID is invisible to the other person. They will not receive a notification or know that you looked up their ID. It is the same as right-clicking any other information in Discord.
Do I need to copy the user ID every time, or can I save it?
You can paste the ID anywhere you need it — a text file, a note app, a bot command, or anywhere else. Once you have copied it, you can use it as many times as you want without copying it again.