TechBuzzPro

How to Get a Message ID on Discord

· 5 min read · Discord

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To get a message ID on Discord, turn on Developer Mode in your settings, then right-click (or long-press on mobile) the message and select "Copy Message ID." That's the whole trick — the ID is a unique number Discord assigns to every message, and you'll need it for things like creating message links, using bots, or reporting messages. Here's the full breakdown.

What You'll Need

  • A Discord account (free or paid, either works)
  • Access to the message you want the ID for — either on the desktop app, browser version, or mobile app
  • Permission to view that message (you need to be in the server or DM where it was sent)

Step-by-Step

Step 1: Enable Developer Mode

Developer Mode is a hidden setting that adds extra options like "Copy ID" to menus. It's off by default, so you'll need to turn it on first.

On Desktop (Windows, Mac, Linux) or Browser:

  1. Open Discord and click the gear icon (⚙️) at the bottom-left, next to your username.
  2. In the left sidebar, scroll down to Advanced (under "App Settings").
  3. Toggle on Developer Mode.

On Mobile (iPhone, iPad, Android):

  1. Tap your profile picture in the bottom-right corner (or top-right on some layouts).
  2. Tap Settings (gear icon) in the top-right.
  3. Scroll down and tap Advanced (under "App Settings").
  4. Toggle on Developer Mode.

Note: Menu labels can differ slightly depending on your app version, device, or region, but the option is always under "Advanced" in settings.

Step 2: Find the Message

Go to the server or direct message where the message you want the ID for is located. You can scroll to it, or use search (Ctrl+K on desktop, or the search bar on mobile) to jump to it.

Step 3: Copy the Message ID

Now that Developer Mode is on, you'll see a "Copy ID" option when you interact with the message.

On Desktop/Browser:

  1. Right-click the message you want the ID for.
  2. In the context menu, click Copy Message ID.
  3. The ID is now on your clipboard — paste it anywhere (like a notepad or a chat) to see it.

On Mobile:

  1. Long-press (tap and hold) on the message.
  2. Tap Copy Message ID from the pop-up menu.
  3. Paste it wherever you need it.

That's it — you now have the message ID. It looks like a long string of digits, e.g., 123456789012345678.

Alternative: Get the ID via a Message Link

If you can't right-click or long-press (e.g., on a locked-down server), you can still get the ID from a message link:

  1. Right-click the message (or long-press on mobile) and choose Copy Message Link.
  2. Paste the link somewhere. It will look like: https://discord.com/channels/123456789/123456789/123456789
  3. The last number in that link is the message ID.

Common Mistakes

  • Forgetting to turn on Developer Mode — Without it, you won't see "Copy Message ID" anywhere. The option simply doesn't appear.
  • Right-clicking the wrong spot — Make sure you right-click directly on the message text or the message area, not on a reaction or an attachment (though right-clicking an attachment also gives the option).
  • Copying the channel ID instead — When you right-click a channel name, you get "Copy Channel ID." That's different. Make sure you're on a message, not the channel header.
  • Using the mobile app without long-pressing — On mobile, a simple tap won't show the menu; you must press and hold.

Tips

  • Keep Developer Mode on — It doesn't affect your normal usage, and you'll need it again for other IDs (user, channel, server).
  • Use the ID in Discord's API or bots — Many bots accept a message ID as an argument, e.g., for editing or deleting a specific message.
  • Store IDs safely — Message IDs are not secret, but they can be used to fetch message content via the API if the message is public. Don't share them if you want to keep a message private.
  • On mobile, you can also tap the three dots next to the message — On some versions, that menu includes "Copy Message ID" as well.

Troubleshooting

I don't see "Copy Message ID" in the menu. First, double-check that Developer Mode is enabled. Go back to Settings > Advanced and make sure the toggle is blue. If it's on, try restarting the app (close and reopen). If it still doesn't appear, you might be on an older version — update Discord from your app store or the desktop download page.

I'm on a server where I can't right-click messages. Some servers may have permissions that restrict certain actions, but right-clicking is usually always available. If it's not, try using the message link method described above. If you can't even copy a link, you may not have permission to view that message at all — ask the server admin.

The ID I copied is wrong — it's a channel or server ID. Make sure you right-clicked the message itself, not the channel name in the header or the server name. The message ID is the one that appears when you right-click a specific message bubble.

On mobile, long-press doesn't work. Try tapping the three dots (⋯) next to the message — on some versions, that menu contains "Copy Message ID." If not, ensure Developer Mode is on and try again. If it still fails, restart the app.

Frequently Asked Questions

What is a Discord message ID used for?

It's a unique identifier for that specific message. Bots use it to reference, edit, delete, or fetch messages. You might also need it when reporting a message to Discord's Trust & Safety team.

Can I get a message ID without Developer Mode?

Yes, by copying the message link and extracting the last number from the URL. But that's more tedious — turning on Developer Mode is the easiest way.

Is the message ID the same as the channel ID?

No. Every message, channel, server, and user has its own unique ID. They can look similar (all long numbers), but they're distinct.

Do message IDs ever change?

No, once a message is sent, its ID is permanent. Even if the message is edited or deleted, the ID stays the same.

Can I copy a message ID from a message I sent in a DM?

Yes, the process works the same in DMs as in servers. Just enable Developer Mode and right-click or long-press the message.

Why would I need a message ID for reporting?

When you report a message to Discord, they may ask for the message ID to locate it quickly. It's more precise than a screenshot or a link.