Discord IDs are numbers, not usernames — here's how to find them

A Discord ID is a long string of numbers that Discord assigns to every user, server, and message. Your username is what you choose to display — like "SkyWalker42" or "CoffeeAddict" — but your ID is hidden by default. If you need someone's ID, you have to ask Discord to show it to you, either through Developer Mode or by right-clicking their name in a server.

The fastest way depends on where you are. If you're in a server with the person, right-clicking their name and selecting "Copy User ID" takes five seconds. If they're not in a server with you, you'll need Developer Mode turned on in your Discord settings, then you can search for them by username and view their ID from their profile.

Key Takeaways

  • Discord IDs are numbers assigned by Discord; usernames are what people choose to display, and they're not the same thing.
  • The easiest method is right-clicking someone's name in a server where you're both members and selecting "Copy User ID" from the menu.
  • If you need an ID for someone not in your servers, turn on Developer Mode in User Settings under Advanced, then search for their username in the search bar.
  • Developer Mode also lets you right-click on messages, servers, and channels to copy their IDs for bots, webhooks, or other tools that need them.
  • A Discord ID stays the same even if someone changes their username, so it's useful for tracking or permissions when usernames change.

Right-clicking a username in a server (the fastest way)

If you and the person are both in the same Discord server, this is the quickest method. Open the server, find their name in the member list or in a chat message, and right-click on it. A menu will appear with several options, including "Copy User ID" near the bottom. Click that, and the ID is copied to your clipboard — you can then paste it anywhere you need it.

This works whether you right-click their name in the member sidebar, in a message they sent, or in a reply. The ID you get is always the same, no matter which part of their profile you click from.

Using Developer Mode to search by username

If the person is not in any of your servers, you'll need to turn on Developer Mode first. Open Discord, click the gear icon in the bottom left to open User Settings, then go to Advanced. Toggle Developer Mode on. You'll now see a search icon at the top of Discord — click it and type the person's username.

When you search, Discord will show you users, servers, and messages that match. Click on the user result, and their profile card will open. At the bottom of that card, you'll see their ID displayed. You can click the ID to copy it.

Developer Mode stays on until you turn it off, so you only need to do this once. After that, you can search for any username and pull up their profile whenever you need their ID.

Copying IDs from messages and other Discord objects

Once Developer Mode is on, you can right-click almost anything in Discord and copy its ID — not just users, but also messages, servers, channels, and roles. This is useful if you're setting up a bot, creating a webhook, or managing permissions that require specific IDs.

For example, right-click a message and you'll see "Copy Message ID." Right-click a channel name and you'll see "Copy Channel ID." This same method works for servers, roles, and emojis. The ID always appears in the same format: a long string of numbers.

Why usernames and IDs are different

Discord lets people change their username whenever they want — you can be "CoolGamer" today and "NewName" tomorrow. But your ID never changes. That's why bots, permission systems, and other tools use IDs instead of usernames. If a bot was set to give permissions to "CoolGamer" and that person changed their name, the bot would lose track of them. Using the ID means the bot always knows who you are, no matter what name you're using.

This also means that if you're trying to track someone or set up a system that needs to remember a specific person, their ID is more reliable than their username.

What to do if you can't find someone's ID

If you've searched for someone's username and they don't appear in the search results, they may have set their profile to private or they may not exist. Discord's search only shows users who have made their profile visible to some degree. If you know them personally, you can ask them directly for their ID — they can find it by going to their own profile and copying it from there.

Another option: if they're in a server you're both in, use the right-click method instead. That will always work as long as you're in the same server together.

Frequently Asked Questions

Can someone see my ID if I don't want them to?

Your ID is visible to anyone in a server with you if they right-click your name. It's not a secret. However, your ID alone doesn't let someone do anything to your account — they would still need your password or access to your email to cause problems.

Do Discord IDs change if someone changes their username?

No. Your ID stays the same for life, even if you change your username, discriminator, or display name multiple times. This is why bots and permission systems use IDs instead of names.

What's the difference between a username and a discriminator?

A username is what you choose, like "SkyWalker." A discriminator is a four-digit number Discord used to add after usernames (like "SkyWalker#1234") to make sure no two people had the exact same name. Discord removed discriminators in 2023, so now usernames are unique on their own. Your ID is separate from both.

Can I find someone's ID if they're not in any of my servers?

Yes, if you turn on Developer Mode and search for their username. Their profile will show up in the search results, and you can copy their ID from their profile card. This only works if their profile is set to be searchable, which is the default setting.

Why would I need someone's Discord ID?

Bots often need IDs to assign roles, send direct messages, or track permissions. Some games and websites also ask for your Discord ID to link your account. Developers and server admins use IDs to set up automated systems that need to identify specific people or channels.