The quickest way to find a Discord user ID

The fastest method is to right-click the person's name in any Discord channel or direct message and select "Copy User ID" from the menu. This copies their numeric ID directly to your clipboard. If you do not see this option, make sure you are right-clicking on their username itself, not on a message they sent.

If you cannot right-click (on mobile, for example), open a direct message with that person, tap their profile picture at the top of the chat, and look for a string of numbers under their username. That number is their user ID. Write it down or take a screenshot before closing the profile.

Both methods work only if you already have the person added as a friend or can see them in a shared server. If neither is true, you will need to find their ID through a different route.

Key Takeaways

  • Right-clicking a username in any chat and selecting "Copy User ID" is the simplest method if you can see that person in Discord.
  • On mobile, open their profile from a direct message or server and read the number displayed under their username.
  • If you cannot see the person in any shared space, you can ask them directly or use a Discord bot command if you have their exact username and they are in a server with that bot.
  • User IDs are long numbers (usually 17 to 19 digits) and never change, even if someone changes their username.
  • Some Discord bots have a search command that returns user IDs when given a username, but this only works if the person is in a server where that bot is active.

Finding a user ID when you are not connected to them

If the person is not in your friends list and not in any server you share, you cannot see their profile directly in Discord. In this case, ask them for their user ID outright — most people can find it in seconds using the right-click method above and will share it with you.

If you need the ID without asking, the only reliable path is through a Discord bot. Many bots have a user search or info command (often written as /user [username] or !whois [username]) that returns the ID when given an exact username. However, this only works if both you and the person are in the same server where that bot is installed.

Some bots require you to know the person's full username including their discriminator (the four-digit number that used to appear after usernames). Discord removed discriminators in 2023, so modern usernames are unique on their own, but older accounts may still have them. If a bot does not find the person, try adding the discriminator if you know it, or ask the person directly.

Why you might need someone's user ID

User IDs are used for technical purposes — banning someone from a server, setting up bot permissions, or creating a direct message link that works even if the person changes their username. Usernames can change at any time, but user IDs never do, which is why bots and server settings use IDs instead of names.

If you are trying to report someone to Discord or to a server moderator, the user ID is often more reliable than the username because it cannot be faked or changed. When you report someone, include both their current username and their ID so the moderator can be certain they are looking at the right person.

Understanding the difference between username and user ID

A username is the name you choose and can change whenever you want. It appears in chat and on profiles. A user ID is a unique number assigned by Discord when the account is created and cannot be changed. The ID is hidden by default — you have to actively look for it or use the right-click method to see it.

Think of the username as a nickname and the user ID as a permanent account number. Two people can have similar usernames (like "Alex" and "alex123"), but no two accounts share the same user ID. This is why Discord's systems use IDs behind the scenes — they are the only way to be absolutely certain you are talking about the right person.

Using user IDs in Discord bots and commands

If you have a user ID and want to use it in a bot command, the format depends on the bot. Some bots accept the ID by itself, while others require you to wrap it in angle brackets like <@userid>. Check the bot's documentation or help command to see the correct format.

Many bots also let you mention someone by typing @ followed by their username, and the bot will convert that to their ID automatically. This is usually easier than copying and pasting the ID yourself, especially if you are not sure of the exact format the bot expects.

What to do if the right-click method does not work

If you right-click a username and do not see "Copy User ID" in the menu, check that you are using the desktop version of Discord (the web version or the app). The mobile app has the feature, but the menu is accessed differently — tap the profile picture instead of right-clicking.

If you are on desktop and still do not see the option, make sure you are right-clicking on the username text itself, not on the message or avatar. Sometimes clicking slightly to the left or right of the name makes the difference. If the option still does not appear, try refreshing Discord or restarting the app.

On very old Discord accounts or in certain server settings, the feature may be disabled or hidden. If this happens, the direct message method (opening their profile and reading the number) will almost always work as a backup.

Frequently Asked Questions

Can someone hide their user ID from me?

No. User IDs are always visible to anyone who can see that person's profile in Discord. There is no privacy setting to hide it. If you can see their username, you can see their ID using the right-click method or by opening their profile.

Will a user ID work if the person changes their username?

Yes. User IDs never change, even if someone changes their username multiple times. This is why bots and server settings use IDs instead of usernames — the ID will always point to the same account, regardless of what name they are currently using.

Is it safe to share my user ID with someone?

Yes. A user ID by itself cannot be used to hack an account or cause harm. It is just a number that identifies your account. However, do not share your password or authentication codes with anyone, even if they ask for your user ID first.

What if I have the username but Discord says the person does not exist?

The username may be spelled differently than you think, or the person may have changed it recently. Ask them to confirm their current username, or ask them to send you their user ID directly. Usernames are case-insensitive in Discord, so "Alex" and "alex" are the same account.

Can I search for someone by user ID instead of username?

Not in Discord's built-in search. Discord's search bar looks for usernames and messages, not IDs. However, some bots have reverse lookup commands that let you search by ID. Check your server's bot documentation to see if this feature is available.