When someone in my server first asked me to send them my discord user id for a bot setup, I genuinely had no idea what they meant. I assumed it was the same as my username. It is not — and once I understood what it actually is, it changed how I use Discord entirely.
Here is everything you need to know about the discord user id.
What Is a Discord User ID?
A discord user id is a unique numerical identifier permanently assigned to your Discord account by Discord's backend. It is a long numeric string — 17 digits to 20 digits — that never changes regardless of what you do to your username, display name, or profile picture.
Unlike your username which can change at any time, the discord user id stays the same from the moment of your account creation to forever. It is a permanent reference for your specific object on the platform that systems and bots can rely on with no ambiguity.
Every entity on Discord has its own ID — not just users. Servers, channels, messages, roles, and even custom emojis all have unique IDs assigned by Discord's backend.
What Does a Discord User ID Look Like?
A discord user id is always numeric — it contains no letters, no symbols, and no formatting. It is a plain numeric string of 17 digits to 20 digits.
Example: 449710278012174346
That is what a real discord user id looks like. No letters, no dashes, just numbers. It is sometimes called a snowflake — a term Discord uses for its ID format because each one encodes the exact moment of account creation inside the number itself.
This is different from your discriminator (the old username#0000 tag) — the discriminator was a 4-digit add-on to your name. The discord user id is a completely separate long numeric string that you cannot see without enabling dev mode.
Why Discord Uses IDs Instead of Names
Names on Discord are not stable identifier options because username can change at any time, display names differ per server, and multiple users can have similar names. A discord user id solves all of this by being permanent, unique, and trackable with no ambiguity.
Discord ID vs Username:
| Feature | Discord User ID | Username |
|---|---|---|
| Changes over time | Never | Yes |
| Unique | Always | Not always |
| Visible by default | No | Yes |
| Used by bots and API | Yes | No |
| Human readable | No | Yes |
This distinction matters for technical operations, automation, and moderation workflows.
How Discord Uses IDs
Bot development — Bots use Discord IDs to track user actions, respond to commands, and manage permissions reliably even when usernames change.
Moderation — Moderators reference IDs when issuing bans, timeouts, tracking reports, and auditing server activity. Banned accounts keep their ID even after being removed, so ban lists stay accurate.
API automation — Discord's API requires IDs to fetch user data, send messages, manage servers, and automate workflows at scale.
Logging analytics — IDs ensure logging and analytics remain accurate even when visible names change across the server.
How to Find Your Discord User ID
To copy any discord user id you first need to enable developer mode.
Desktop:
- Click the settings gear icon in the bottom left
- Go to App Settings → Advanced
- Toggle developer mode on
Mobile:
- Tap your profile picture in the bottom bar
- Tap the settings gear icon in the top right
- Scroll to Advanced → toggle developer mode on
Once dev mode is active, right click on desktop or long press on mobile reveals copy user id on any user, server, channel, message, or role.
Finding your own ID: Right click your own name in any channel or server member list → copy user id. On mobile, tap your profile picture → three dots → copy user id.
Finding another user's ID: Find them in the server member list, direct messages, or chat messages. Right click (desktop) or long press (mobile) → copy user id from the dropdown menu.
How to Use a Discord User ID
Mention a user with their ID
You can ping any user using the mention syntax <@USER_ID> even if they are not in the channel or you do not know their current username. Pasting <@449710278012174346> in any message pings that user directly.
There are multiple mention syntax formats:
| Format | Use | Example |
|---|---|---|
<@USER_ID> | Ping a user | <@80351102246789l2> |
<@!USER_ID> | Ping by nickname | <@!80351102246789l2> |
<#CHANNEL_ID> | Channel mention | <#4107358863630952029> |
<@&ROLE_ID> | Role mention | <@&65510959543432l96> |
<:NAME:ID> | Custom emoji | <:mnt:ul296754654256398347> |
<a:NAME:ID> | Animated emoji | <a:blinky:36293828205674390> |
This message formatting syntax is the standard way bots and webhooks reference users, channels, and roles in messages.
Report users
Discord will not accept screenshots alone for reports because they are too easily faked. Submitting a discord user id in a report is Discord Support's preferred method of tracking reports and verifying reported users and material.
Ban by ID
You can ban by ID — even if the user has left the server. Server admins can blacklist a discord user id directly. Bots use IDs to blacklist users from commands across multiple servers.
Find messages from banned or deleted accounts
The find messages feature lets you search for messages from banned accounts or deleted accounts using their ID. In the API, you can query deleted accounts by ID even after the username is gone.
Searching by user ID in Discord desktop:
Use the direct messages search or server search bar. Typing from:<@USER_ID> finds all messages from that user even if they changed their name or left the server.
Security and Privacy
A discord user id does not grant access to an account. It does not grant access to any private data, messages, or settings. It is a technical identifier — not a credential or password.
Nothing bad can happen if someone has your discord user id. It is completely public information, similar to knowing someone's username. You cannot hack account access using only a discord user id.
However, IDs can be logged across servers and track activity over time. This is important to know for multi-account management — Discord uses additional signals beyond IDs including IP address, browser fingerprint, cookies, local storage, device consistency, login behavior, and behavioral patterns to detect account linkage even when different IDs are used.
Related Guides
- How to Find Your Discord ID
- Discord ID Lookup — Complete Guide
- How to Get a Discord ID — All Methods
- What Is a Discord Timestamp?
Also try our free tools:
- Discord Snowflake ID Decoder — paste any Discord user ID to get the account creation date
- Discord Timestamp Generator — generate timestamp codes for any server event
- Unix Timestamp Converter — convert Unix numbers to readable dates
Frequently Asked Questions
Ready to generate Discord timestamps?
Open the Generator