Skip to content
ONLINE 101010 TECH 010101 TIPS
  • AI
  • How-To
  • Social
  • Streaming
  • Gaming
  • Reviews
  • Videos
  • News
Go Ad-Free + PerksGo Ad-Free

Explore

  • AI
  • How-To
  • Social
  • Streaming
  • Gaming
  • Reviews
  • Videos
  • News

About & help

  • About Us
  • Editorial Standards
  • Contact Us
  • Terms of Use
  • Privacy Policy
  • Advertise
0%
In this article
    1. Home/
    2. Social Media/
    3. How To Delete Your DM History On Discord

    How To Delete Your DM History On Discord

    Craig Snyder
    October 25, 2019
    5 min read
    Share

    Online Tech Tips is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

    - discord-ghost

    When Discord was released, it changed the concept of instant messaging and group chats forever. A decade before it existed, you might have found yourself using AOL Instant Messenger, MSN Messenger, or the newer Skype—two of which no longer exist, and the latter of which has suffered greatly from Discord’s popularity.

    Before Discord, we never knew what it was like to have a messaging service permanently store our conversation history in the cloud. To locally store running logs on AIM or MSN, you’d need some sort of a third-party plugin. On Skype, text logs are now kept in the cloud for just 30 days.

    Table of Contents

      To some, holding onto message history forever is a great thing. For others, it’s a nightmare. In January of 2017, Discord outlined how they’re able to store billions of messages in a blog post, and it seems like this policy won’t be changing any time soon. Discord also offers no way for users to mass delete their DM history on Discord.

      So, what happens if you’ve sent thousands of direct messages and decide you no longer want them to exist forever? There are several solutions, but none of them are perfect.

      Deleting Discord DM History on Discord With Hotkeys

      The most intuitive way to delete a Discord message is by

      1. hovering over it to reveal the right-side hamburger menu icon.
      2. clicking on the icon.
      3. selecting Delete.
      4. confirming the deletion by clicking the Delete button.
      - discord-delete

      However, this requires consistent use of the mouse, slowing down the process tremendously. Therefore, you should know about the sequence of keyboard commands that mimic this procedure.

      Here’s a breakdown of the sequence:

      1. Go into a Discord DM.
      2. Press Up once to select your most recent message.
      3. Press Up again to activate the editor.
      4. Press Ctrl + A to select all of the text in the field.
      5. Press Backspace to delete the text.
      6. Press Enter once to confirm the edit.
      7. Press Enter again to confirm deletion on the prompt.

      This seems like a long and exhausting process, but in practice, you get into a rhythm, and deleting each message takes only a second. It requires much less of a steady hand than constantly moving your cursor to different areas of the screen to click multiple different buttons.

      Deleting Discord DM History With AutoHotkey

      Now that we’ve established that DMs can be deleted without using the mouse, that opens up the possibility of automating the process with a simple AutoHotkey script.

      We’ve covered AutoHotkey in the past, such as our HelpDeskGeek article on five of the most useful AutoHotkey scripts, and installing the application is free and only takes a minute. However, this option is only available to Windows users as AutoHotkey does not currently work on macOS.

      Ideally, you’ll want the following things from your AutoHotkey script:

      1. A toggle key for turning it on and off
      2. The full keyboard sequence with pauses in between each step
      3. A way to continuously load earlier messages

      Here is an example script I’ve written:

      F1::
      Toggle := !Toggle
      loop {
      if not Toggle
      break
      if WinExist(“ahk_exe discord.exe”)
      WinActivate
      SendInput {Up}
      Sleep 100
      SendInput {Up}
      Sleep 100
      SendInput ^a
      Sleep 100
      SendInput {Backspace}
      Sleep 100
      SendInput {Enter}
      Sleep 100
      SendInput {Enter}
      Sleep 100
      SendInput {WheelUp}
      Sleep 200
      }
      return

      This script uses the F1 key as a toggle to enable or disable message deletion. For this to work, you need to already be in an active DM window before toggling the script on. The pauses (Sleep) between each keypress are so that machines with less processing power don’t get ahead of themselves and skip a key. If you find that this script runs but is behaving strangely, try increasing the value of each Sleep at increments of 50.

      There is a caveat to this script though, which is that it will break upon reaching a Discord call message. Here is what those look like:

      - discord-call-message

      Reaching one of these messages will prevent you from pressing the Up key to select your previous messages before it. However, improvements to the script may be possible that allow a workaround for this.

      Deleting Discord DM History With Bots

      Let us first clarify that we will not be providing instructions on how to use a Discord bot to delete your DM history, but we are letting readers know that this is possible.

      In the past few years, Discord has gone from discouraging the use of self-bots to outright labeling it as a violation of its terms.

      Thanks for the heads up. We do not endorse the use of self-bots, and strongly recommend that users avoid using them.

      — Discord (@discord) April 10, 2017

      That being said, using self-bots puts your account at risk of termination, so we cannot suggest doing it. However, many users report that using self-bots for purposes that aren’t public, disruptive, or harmful has never led to reprimand from Discord. Make a decision at your own discretion.

      A self-bot is simply a user account running on a Discord API token. Today, Discord requires that bots are tracked and tagged through its Developer Portal. A self-bot circumvents this and gives a standard user account access to making API requests, allowing them to automate a wide range of tasks. Deleting messages is one of them.

      The Discord API currently supports a POST request that fires a Message Delete Bulk gateway event, allowing bots to quickly delete all messages that are less than two weeks old. Older messages can be queued and deleted individually (at a rate limit).

      With Discord seemingly content with storing our messages forever, it’s on us to come up with solutions to mass delete them and preserve our privacy. The above three options are all a bit shoddy, but it’s the best we have until Discord offers a solution.

      Weekly Newsletter

      Get the best of Online Tech Tips in your inbox

      One email a week: new and updated guides from Online Tech Tips, plus the most-watched videos from our YouTube channel.

      One email a week. Unsubscribe anytime.

      Tags: Discord

      Was this helpful? Share it.

      Send it to someone who is stuck on the same thing, or post it.

      MessagesWhatsAppEmailXFacebookLinkedInRedditBlueskyTelegramThreads
      5-Site All-Access Pass · From $2.50/mo

      Found this guide helpful? Unlock the full ad-free toolkit.

      • Ad-Free Across All 5 AKIC Sites — OTT, Help Desk Geek, Switching to Mac, The Backroom Tech & Xbox Advisor
      • 15 Collector’s Field Guides — 8-Page Illustrated PDF manuals for offline troubleshooting
      • 2-Page Article Quick-Guide PDFs & Audio Summaries on every tutorial
      • Pro AI Tech Assistant — ask any tech question, save specs & export PDFs
      Go Ad-Free + Perks — $2.50/mo → Already a member? Sign in
      Written by

      Craig Snyder

      Craig is a long-time writer, coder, and marketer with years of experience in the technology and gaming spaces. Since 2008, he's worked remotely with some of the most notable publications in these industries, specializing in Windows, PC hardware and software, automation, and the like. Read Craig's Full Bio

      View Craig's Profile

      Search

      Topic Hub

      Social Media

      All Social Media

      Popular in Discord

      • 01 How to Fix Discord Screen Share Black Screen on Windows and Mac
      • 02 Fix Discord Audio Issues with AirPods & Bluetooth Headphones
      • 03 How to Fix a Discord Awaiting Endpoint Error

      Related Topics

      • Discord (in this article)
      • YouTube
      • Instagram
      • TikTok
      • Facebook
      • Reddit
      • WhatsApp
      • X (Twitter)

      All Core Topics

      AI How-To Reviews Social Media (current topic) Streaming Gaming
      Interactive Tool

      Streaming Bundle & Rotation Cost Calculator

      FREE

      Add up your monthly streaming bills, detect bundle discounts, and build a 12-month rotation plan to cut costs.

      Open Streaming Calculator →
      ⚡ 5-Site All-Access Pass

      Go Ad-Free + Unlock Pro Tech Perks

      • 100% Ad-Free Reading across Online Tech Tips & 4 sister sites
      • 15 Collector’s 8-Page PDF Field Guides (Windows 11, Mac, Security & Home Network Guides)
      • Audio Briefings & 2-Page Quick Guides on every article
      • Pro AI Tech Assistant — ask any tech question, copy code & export PDFs
      Go Ad-Free — From $2.50/mo Already a member? Sign in with Google →

      Weekly Newsletter

      One email a week. Unsubscribe anytime.

      Recent Posts

      • How to Create Custom Audio Overviews in Google NotebookLM - How to Create Custom Audio Overviews in Google NotebookLM
        How to Create Custom Audio Overviews in Google NotebookLMDec 1, 2026
      • Google adds an AI training opt-out that preserves Search, Maps and Shopping history - Google adds an AI training opt-out that preserves Search, Maps and Shopping history
        Google adds an AI training opt-out that preserves Search, Maps and Shopping historyNov 30, 2026
      • AI Audio Transcription Buying Guide: Free and Paid Tools for Recordings - AI Audio Transcription Buying Guide: Free and Paid Tools for Recordings
        AI Audio Transcription Buying Guide: Free and Paid Tools for RecordingsNov 30, 2026

      Our Publishing Family

      Online Tech Tips is part of the AK Internet Consulting publishing family.

      • HELP DESK GEEK
      • THE BACK ROOM TECH
      • SWITCHING TO MAC
      • XBOX ADVISOR

      Weekly Newsletter

      One email a week. Unsubscribe anytime.

      About Online Tech Tips

      Online Tech Tips has published easy-to-follow technology tutorials, honest reviews, and practical how-to guides since 2007 — helping millions of readers solve tech problems and get more from their devices.

      Learn More →

      Advertise →

      © 2007-2026 Online Tech Tips.com, LLC.
      All Rights Reserved.

      • Home
      • About Us
      • Editorial Standards
      • Contact Us
      • Terms of Use
      • Privacy Policy
      • Advertise
      Online

      Share this article

      How To Delete Your DM History On Discord

      Send to someone

      MessagesWhatsAppEmail

      Post on

      XFacebookLinkedInRedditBlueskyTelegramThreads