Find Your Discord ID: User, Server, Message
In this article
Your Discord ID is a unique string of numbers that identifies your user account, a server, or a specific message. You need it for things like adding bots, creating support tickets, or reporting issues. The quickest way to find any ID is to turn on Developer Mode in Discord's settings, then right-click (or long-press on mobile) the item you want the ID for and select "Copy ID." Here's exactly how to do it, step by step.
What You'll Need
- Access to the Discord app on desktop (Windows/Mac), web browser, or mobile (iOS/Android).
- Permission to open Discord's settings (any user can do this).
- For server and message IDs, you need to be a member of that server (or at least have access to the message, e.g., in a DM).
Step-by-Step
Step 1: Enable Developer Mode
Developer Mode adds the "Copy ID" option to menus. The exact menu labels can differ slightly by version and device, but the process is consistent.
- Open Discord and click the gear icon (⚙️) at the bottom left corner (desktop) or tap your avatar in the bottom bar (mobile) to open User Settings.
- Scroll down to the Advanced section (on desktop, it's under "App Settings" in the left sidebar; on mobile, it's under "App Settings" too).
- Toggle on Developer Mode. The switch will turn blue/green.
Step 2: Find Your User ID
- On desktop: Click your username at the bottom left corner of the Discord window (next to the gear icon). A popup menu appears. Click Copy User ID.
- On mobile: Tap your avatar in the bottom navigation bar. Then tap the three dots (⋯) in the top right corner of your profile. Select Copy User ID.
- The ID is now on your clipboard. Paste it anywhere (like a text editor) to see it.
Step 3: Find a Server ID
- On desktop: Right-click the server icon in the left sidebar (the list of servers). From the menu, select Copy Server ID.
- On mobile: Tap and hold the server icon in the server list. A menu appears; tap Copy Server ID.
- Paste to save it.
Step 4: Find a Message ID
- On desktop: Right-click the message (the text itself) in the chat area. From the context menu, select Copy Message ID.
- On mobile: Tap and hold the message bubble. In the popup menu, tap Copy Message ID.
- Paste to save it.
That's it. You now have the numeric ID you needed.
Common Mistakes
- Forgetting to enable Developer Mode: Without it, the "Copy ID" option simply won't appear. Double-check that the toggle is on.
- Copying the wrong ID: Right-clicking a server icon copies the server ID, not your user ID. Right-clicking a message copies the message ID. Make sure you're copying from the correct target.
- Using the wrong number: Your user ID is not your username or your discriminator (the #1234). It's a long number, usually 17-19 digits.
- On mobile, tapping instead of long-pressing: A simple tap on a message might just select it or open the reply bar. You need to press and hold to get the context menu with "Copy ID."
Tips
- After copying an ID, paste it into a notepad or a DM to yourself so you don't lose it.
- You can also use the search bar in Discord: type
from:yourusernameto find your own messages, then right-click to copy the message ID from there. - If you need to reference a message in a support ticket, include the message ID along with the server ID and channel name—it helps staff locate it quickly.
- Developer Mode also lets you copy channel IDs and emoji IDs, which can be useful for advanced bot setup.
Troubleshooting
"Copy ID" option is missing:
Make sure Developer Mode is actually enabled. Go back to User Settings > Advanced and ensure the toggle is on. Also, try restarting Discord after enabling it—sometimes the menu doesn't refresh immediately.
On mobile, long-pressing does nothing:
If you're on a message and long-press doesn't bring up the menu, try tapping the three dots (⋯) next to the message (on iOS) or the overflow menu (on Android). That menu also has "Copy Message ID" if Developer Mode is on.
I copied an ID but it looks like a username:
You likely copied the username text instead of the ID. Right-click the actual user icon or the server icon, not the name text. The ID is always digits only.
Can't find Developer Mode in settings:
On some older versions, it might be under "Appearance" or "Behavior" instead of "Advanced." Use the search bar in settings (if available) and type "Developer Mode." If you still can't find it, update Discord to the latest version.
If all else fails:
Restart Discord completely (close and reopen). If you're on a web browser, try a different browser or the desktop app. If you're still stuck, check Discord's official support page for the latest instructions.
Frequently Asked Questions
Do I need Developer Mode for every ID?
Yes, for user, server, message, and channel IDs, Developer Mode must be enabled. It's a one-time toggle.
Can I find my user ID without Developer Mode?
No, not directly through the app. But you can use the Discord web API (if you know how) or ask a bot that can see your ID—though enabling Developer Mode is far simpler.
Is my Discord ID the same as my username?
No. Your username is your display name (like "CoolGamer"). Your ID is a unique numeric identifier that stays the same even if you change your username.
Can I copy a message ID from a direct message (DM)?
Yes, the same method works in DMs. Right-click or long-press the message in the DM chat and select "Copy Message ID."
Why would I need a message ID?
It's often required when reporting a message to Discord's Trust & Safety team, or when a bot developer asks for the exact message to debug an issue.
Does the ID change if I delete and recreate a server?
Yes, a new server gets a new ID. The old ID becomes invalid. The same applies to messages—deleting a message makes its ID useless.