How to find a Discord ID
Copy a user, server, channel, message, or role ID on a computer. The phone steps cover all of them except roles. There's also help if Copy ID is missing.
Turn on Developer Mode in Discord's settings. On a computer, right click a person, server, channel, or message and copy its ID. The phone steps are below. For a role, use a computer.
Every ID is a long number, usually 17 to 19 digits. Bots and support teams ask for one because names can change and an ID can't.
1Turn on Developer Mode
You only need to do this once on each device.
On a computer
- Press the cog at the bottom left to open User Settings.
- Scroll down the menu on the left and open Developer. If you can't see it, open Advanced.
- Turn on Developer Mode.
Discord's newer help page calls this menu Developer, and the older one calls it Advanced.
On a phone
- Tap your profile picture at the bottom of the screen, then open Settings. It may be a cog at the top right.
- Scroll to App Settings and tap Advanced.
- Turn on Developer Mode.
Discord gives the same steps for iPhone and Android.
2Copy the ID
Each option below copies the number, so you can paste it where you need it.
User ID
You can do this in a server, a group chat, or a direct message. For your own ID, right click your name on a computer, or open your own profile on a phone.
- Computer: right click the person and press Copy User ID.
- Phone: open the profile, tap the three dots at the top right, then tap Copy User ID. If you see Copy User Info instead, tap that first.
Server ID
- Computer: right click the server's icon and press Copy Server ID.
- Phone: open the server, tap its name, then scroll down and tap Copy Server ID.
Channel ID
- Computer: right click the channel and press Copy Channel ID.
- Phone: press and hold the channel, then scroll down and tap Copy Channel ID.
To post a channel as a link people can press, put its ID in <#channel ID>.
Message ID
- Computer: right click the message and press Copy Message ID.
- Phone: press and hold the message and tap Copy Message ID.
The same menu has Copy Message Link. In a message link, the last number is the message ID.
Role ID
You need to be able to open the server's Roles page, so ask an admin if you can't.
- On a computer, open Server Settings, then Roles.
- Right click the role, or press the three dots next to it, and copy its ID. It may say Copy Role ID or Copy ID.
The option may look different in your app. The Discord help pages we checked don't cover role IDs on a computer or a phone.
If Copy ID is missing
- Check that Developer Mode is on, on the device you're using.
- Close Discord and open it again.
- Make sure you opened the menu for the right thing. Right click the server's icon for a server ID, or the channel's name for a channel ID.
- On a phone, scroll to the bottom of the menu. For a user ID, look under Copy User Info too.
Use an ID in a bot
With BotGhost, the no-code Discord bot maker, some blocks let you paste an ID. The Ban a Member block takes a user ID. Turn on Ban Users Not in the Server and it can also ban someone who hasn't joined yet, so they can't get in.
When you can skip the ID
- Pick it from a list. In Delete a Channel, choose a channel under From the server. You can still paste one under ID or variable.
- Use a variable.
{user_id},{channel_id}, and{server_id}fill in an ID when a command or event runs. In a command, for example,{user_id}is the ID of the person who used it.
Want to know how old an account is? Every ID includes the date it was made. Paste a user ID into the Discord snowflake decoder to see when the account was created. It doesn't show whose account it is.
A bot token isn't an ID. Anyone who has the token controls your bot, so keep it secret. Our guide shows how to get a Discord bot token.
Questions people ask
How do I find my own Discord ID?
Turn on Developer Mode. On a computer, right click your own name or picture in a server or a chat and press Copy User ID. On a phone, open your profile from a server or a chat, tap the three dots, and look for Copy User ID. It may be under Copy User Info.
Is my Discord ID the same as my username?
No. Your username is the name you chose, and you can change it. Your ID is a number, usually 17 to 19 digits, and it can't be changed.
How do I find a Discord ID on my phone?
Open Settings, then Advanced under App Settings, and turn on Developer Mode. Open the profile, server, channel, or message you want and look for the Copy option for that ID. For a user, it may be under Copy User Info. For a role, use a computer.
Can I find someone's Discord ID from their username?
You can if you can open their profile. Discord's steps copy an ID from someone's profile in a server, a group chat, or a direct message.
Is it safe to share a Discord ID?
Yes. An ID isn't a password, and nobody can log in with it. Anyone who can open your profile can copy it. Never share your password, a login code, or a token.