You cannot find a Discord ID from a username alone, but you can get it if you have direct contact with the person

Discord IDs and usernames are separate identifiers. A username is what you see in chat — something like "SarahGames" or "CoffeeNerd42". A Discord ID is a long number that Discord assigns to every account, like 123456789012345678. Discord does not publish a public directory that lets you search usernames and retrieve IDs. If you need someone's ID, the most straightforward way is to ask them directly.

If you already have the person added as a friend or can message them, you can also pull their ID from your own Discord client without asking. The method depends on whether you are on desktop, mobile, or web, and whether you have Developer Mode turned on.

Key Takeaways

  • Discord usernames and Discord IDs are different things — usernames are display names, IDs are numbers Discord assigns to accounts.
  • You can retrieve someone's ID if they are in a server with you, in your friends list, or if you can message them directly.
  • Developer Mode must be turned on in your Discord settings before you can right-click and copy user IDs.
  • If you need an ID for a stranger or someone not in your network, asking them directly is the only reliable method.

How to get an ID from someone in your friends list or a shared server

If the person is already your friend or in a server you both belong to, you can pull their ID without leaving Discord. On desktop, open Discord and find the person's profile — either by clicking their name in chat, in the member list, or in your friends list. Once their profile card appears, look for their username and avatar.

Next, enable Developer Mode if you have not already. Go to User Settings (the gear icon), select Advanced, and toggle Developer Mode on. Once it is on, return to the person's profile card and right-click on their username or avatar. A context menu will appear with the option "Copy User ID". Click it, and their ID is now copied to your clipboard. You can paste it anywhere you need it.

On mobile (iOS or Android), the process is similar but the menu looks different. Open the person's profile, tap the three dots in the top right corner, and look for a "Copy User ID" option. Not all mobile versions show this option in the same place, so if you do not see it when ready, try long-pressing on their username instead.

Why you might need someone's Discord ID

Discord IDs are used for specific technical purposes. Bots often require user IDs to perform actions like assigning roles, muting, or kicking members. Some Discord servers use ID-based commands for moderation or automation. If you are setting up a bot or managing a server, you may need to collect IDs from specific members.

IDs are also more reliable than usernames for identification because usernames can change, but IDs never do. If you are keeping a record of someone's account for moderation or administrative purposes, their ID is the permanent reference.

What you cannot do with just a username

Discord does not have a public search function that takes a username and returns an ID. You cannot look someone up on the Discord website or app by username alone and see their ID. Third-party websites that claim to do this are not connected to Discord and should not be trusted with your account information.

If someone gives you a username and you have no other connection to them, there is no legitimate way to find their ID. Attempting to use unofficial tools or databases to retrieve IDs of strangers violates Discord's terms of service and puts your account at risk.

Developer Mode and privacy

Enabling Developer Mode does not change your privacy settings or expose you to other users. It only adds the "Copy User ID" option to context menus on your own client. Other people cannot see that you have Developer Mode on. The feature is intended for server administrators, bot developers, and power users who need to work with IDs regularly.

Turning on Developer Mode is safe and reversible. You can toggle it off at any time in User Settings under Advanced. Disabling it straightforward removes the copy ID option from your menus — it does not delete anything or affect your account.

When to ask someone directly for their ID

If you need an ID from someone who is not in your friends list and not in any server you share, the only option is to ask them. Be clear about why you need it. For example: "I am setting up a bot for my server and need your Discord ID to assign you a role" is a legitimate reason. Most people will provide it if they understand the purpose.

If someone refuses to give you their ID, respect that. You cannot and should not try to find it through other means. Attempting to retrieve someone's ID without their knowledge or consent is a violation of their privacy.

Frequently Asked Questions

Can I find someone's Discord ID if I only know their username?

Not through official Discord tools. If they are in a server with you or in your friends list, you can retrieve it through your Discord client with Developer Mode on. If you have no connection to them, you must ask them directly.

Is it safe to use third-party websites that claim to look up Discord IDs?

No. These sites are not affiliated with Discord and often ask for login credentials or personal information. Using them violates Discord's terms of service and puts your account at risk of being compromised.

Do I need to ask permission before copying someone's ID?

If the person is in a server you manage or is your friend, you generally do not need to ask. If you are retrieving an ID for a stranger or someone you do not know well, it is respectful to explain why you need it first.

Will someone know if I copy their Discord ID?

No. Copying an ID is invisible to the other person. They will not receive a notification or see any indication that you have done it.

Can Discord IDs change?

No. Your Discord ID is permanent and never changes, even if you change your username, avatar, or other profile details. This is why IDs are more reliable than usernames for record-keeping.