How do I unban someone (/unban) and what if it fails?
/unban lifts a ban. Since a banned person is no longer on the server, you identify them by their account ID. Permission required: Ban Members.
- Open the ban list Discord › Server Settings › Bans.
- Copy the ID of the account to unban
- Type
/unbanand paste it inidRequired field. Add araisonif you wish. - Confirm
If it fails
| Message | Cause |
|---|---|
| Invalid ID (17 to 20 digits) | The ID is not in the right format. |
| This user is not banned on this server | The account is not in the ban list (already unbanned, or wrong ID). |
| I don't have the required permissions | The bot no longer has the Ban Members permission. Check its role. |
A temporary ban
A
/tempban is lifted when it expires; you can also lift it earlier with /unban.Still stuck?
Contact support with the title of this article, the step where you are stuck and what you see on screen.
Contact support More articles: ModerationLast checked: 13 November 2026.