Where to find a Discord user ID

A Discord user ID is a unique number assigned to every account on Discord. You can find it in three ways: by enabling Developer Mode and right-clicking a username, by copying it from a user's profile card, or by looking at the URL when you visit someone's profile page. The ID appears as a long string of numbers, usually between 17 and 19 digits.

The fastest method is Developer Mode. Open Discord, go to User Settings > Advanced, toggle on Developer Mode, then right-click any username in chat and select "Copy User ID". The number is now in your clipboard.

If you do not want to enable Developer Mode, open the user's profile by clicking their name or avatar, then look for a "Copy User ID" button or option in the profile card itself. On the web version of Discord, you can also visit a user's profile directly and find their ID in the browser URL bar — it appears after the last forward slash.

Key Takeaways

  • Developer Mode is the quickest way to get a user ID: enable it in User Settings > Advanced, then right-click any username and select "Copy User ID".
  • You can also find a user ID by opening their profile card and looking for a copy button, or by checking the URL when viewing their profile on the web.
  • User IDs are permanent numbers unique to each account and do not change if someone changes their username or display name.
  • You need a user ID to mention someone in code, set up bot commands, manage permissions, or troubleshoot account issues with Discord support.

Enabling Developer Mode in Discord

Developer Mode is a Discord setting that unlocks extra options when you right-click on usernames, messages, and channels. To turn it on, open Discord and click the gear icon in the bottom left to open User Settings.

Navigate to the Advanced tab on the left sidebar. At the top of the Advanced section, you will see a toggle labeled "Developer Mode". Click it to turn it on. The toggle will turn blue when it is active. You can now close User Settings.

Once Developer Mode is on, right-click any username in a chat, direct message, or member list. A context menu will appear with several options. Select "Copy User ID" and the number will be copied to your clipboard. You can paste it anywhere you need it.

Finding a user ID without Developer Mode

If you prefer not to enable Developer Mode, you can still find a user ID through the profile card. Click on any username or avatar to open that user's profile. On the profile card that appears, look for a button or option that says "Copy User ID" — it is usually near the top or bottom of the card.

On Discord's web version, you can also find the ID in the URL. Visit a user's profile by clicking their name, then look at the address bar at the top of your browser. The user ID appears at the end of the URL after the last forward slash. For example, a URL might look like discord.com/users/123456789012345678, where the long number at the end is the user ID.

This method works on both desktop and mobile web browsers, though the mobile app does not display the URL in the same way.

Why you need a user ID

User IDs are used in several situations. If you are writing a Discord bot or using the Discord API, you need user IDs to mention people in code, set up permissions, or retrieve user data. Bots often require a user ID to perform actions like assigning roles or sending direct messages.

User IDs are also useful when troubleshooting account problems with Discord support. If you report an issue or need help, support staff may ask for your user ID or the ID of another user involved in the problem. This helps them locate the exact account in their system.

Additionally, some Discord servers use bots that require you to provide your user ID to set up custom commands, moderation rules, or verification systems. In these cases, you will need to know how to find and share your own ID or someone else's ID.

The difference between user ID and username

A user ID and a username are not the same thing. Your username is the name you choose when you create your account — it is what other people see and can change it anytime. A user ID is a permanent number that never changes, even if you update your username, display name, or avatar.

For example, you might have the username "SkyWalker" today and change it to "NightOwl" tomorrow, but your user ID stays the same. This is why bots and Discord support use user IDs instead of usernames — they need something that will not change.

When you see someone's profile, their current username appears at the top, but the user ID is the number you copy. If someone changes their username later, their ID remains the same, so any bot commands or permissions tied to that ID will still work.

Finding your own user ID

To find your own user ID, use the same methods as finding anyone else's. Enable Developer Mode, then right-click your own username in any chat and select "Copy User ID". Alternatively, click on your profile picture in the bottom left corner of Discord, and your profile card will open — look for the "Copy User ID" option there.

You can also find your own ID by going to User Settings > My Account and looking for it displayed on that page, though the exact location varies depending on your Discord version and platform.

Frequently Asked Questions

Can someone see my user ID if I share it?

Yes, but sharing your user ID is generally safe. A user ID alone does not give someone access to your account. However, you should still be cautious about sharing personal information online. Only share your user ID with people or services you trust, such as bot developers or Discord support.

Does my user ID change if I change my username?

No. Your user ID is permanent and never changes, no matter how many times you change your username, display name, or avatar. This is why bots and Discord support use IDs instead of usernames.

Where do I use a user ID in a Discord bot?

The exact use depends on the bot and what you are trying to do. Some bots use user IDs in commands like /ban [user ID] or /role [user ID]. Check the bot's documentation or help command to see the correct format for that specific bot.

Is a user ID the same as a server ID or channel ID?

No. Discord assigns unique IDs to users, servers, channels, roles, and messages. Each type of ID is different and used for different purposes. A user ID identifies a person, while a server ID identifies a Discord server and a channel ID identifies a specific text or voice channel.

What if I cannot find the "Copy User ID" option?

Make sure Developer Mode is turned on in User Settings > Advanced. If it is on and you still do not see the option, try right-clicking in a different location — the option should appear when you right-click a username in chat or in the member list. On mobile, you may need to long-press instead of right-click.