How to Delete WordPress Comments (and Stop the Spam for Good)

If you’ve ever opened your WordPress dashboard to find a wall of junk comments about miracle pills and discount sneakers, you already know why you’re here. Deleting comments in WordPress is genuinely easy once you know where to click, and this guide will walk you through every method, from removing a single comment to wiping out hundreds of spam entries at once.

But here’s the friendly heads-up before we start: most people learning how to delete a WordPress comment are actually fighting spam, and deleting comments one by one is a bit like bailing water out of a leaky boat. I’ll show you the deleting part first because that’s what you came for, then I’ll show you how to plug the leak so you barely have to delete anything again.

Key Takeaways
• Delete a single comment by hovering over it under Comments and clicking Trash (or Spam).
• Delete many at once with checkboxes plus Bulk Actions → Move to Trash.
Trash is recoverable; Delete Permanently and Empty Spam are not.
• The real problem behind “delete comments” is almost always automated spam bots.
• The durable fix is prevention: an anti-spam filter, required moderation, and closing comments on old posts.
• Thousands of un-deleted spam comments bloat your database and slow your site, so cleaning up is a performance win too.

How do you delete a single WordPress comment?

Removing one comment takes about three seconds. Here’s the step-by-step:

  1. Log in to your WordPress dashboard.
  2. In the left-hand menu, click Comments.
  3. Find the comment you want to remove and hover your mouse over it. A row of action links appears beneath the comment text.
  4. Click Trash to send it to the recycle bin, or click Spam if it’s junk (this also helps your spam filter learn).
  5. The comment disappears instantly, and a small confirmation bar lets you Undo if you clicked by mistake.

That’s it. Use Trash when you simply don’t want a comment published, and use Spam when the comment is clearly automated junk, because marking it as spam trains your filter to catch similar comments automatically next time.

How do you bulk delete WordPress comments?

When you’re staring at dozens or hundreds of comments, deleting them one at a time is painful. WordPress has a built-in bulk tool for exactly this.

  1. Go to Comments in your dashboard.
  2. Tick the checkbox to the left of each comment you want to remove. To grab everything on the page at once, tick the checkbox in the column header at the very top.
  3. Open the Bulk Actions dropdown above (or below) the list.
  4. Choose Move to Trash to send them to the recycle bin, or Mark as Spam if they’re junk.
  5. Click Apply.

By default WordPress shows 20 comments per page. To clear more at once, click Screen Options in the top-right corner and raise the “Number of items per page” to something like 200, then apply. Now a single bulk action can clear a large batch in one click.

Here’s the thing almost nobody tells you when they explain how to delete a WordPress comment: you’re probably not fighting “comments,” you’re fighting spam, and deleting them by hand treats the symptom while the disease keeps producing more. Every blog with open comments becomes a target for automated spam bots, so you can delete all day and still wake up to a hundred fresh ones. The durable fix isn’t faster deleting, it’s prevention at the source. Turn on an anti-spam filter so junk is caught before it ever reaches you, require comment moderation so nothing publishes without your say-so, and close comments on old posts where most spam lands. Once those are in place, “deleting comments” shrinks from a daily chore to an occasional click, because the flood is stopped upstream. And there’s a hidden bonus: thousands of un-deleted spam comments quietly bloat your database and slow your site, so cleaning them out (and preventing more) is a performance win, not just tidiness. Stop the spam at the gate, and you’ll rarely need to delete a comment again.

What’s the difference between Trash and Delete Permanently?

This trips up a lot of new WordPress users, so let’s make it crystal clear. WordPress gives you two levels of removal, and the difference is whether you can get the comment back.

Action What it does Recoverable?
Trash Moves the comment to a recycle bin Yes, restore anytime before emptying
Empty Trash Permanently erases everything in the trash No, gone for good
Delete Permanently Skips the bin and erases immediately No, gone for good
Mark as Spam Moves to the Spam folder and trains your filter Yes, until you Empty Spam

The safe habit is to use Trash first. It acts as a safety net, so if you delete a legitimate comment by accident, you can open the Trash tab, hover over the comment, and click Restore. Only use Delete Permanently when you’re certain, and remember that Empty Trash clears the whole bin in one irreversible step.

How do you delete ALL spam comments at once?

When your Spam folder has filled up with hundreds of junk entries, you don’t need to select them by hand. WordPress has a one-click purge.

  1. Go to Comments.
  2. Click the Spam tab at the top of the list (it shows a number in parentheses, like “Spam (327)”).
  3. Click the Empty Spam button.
  4. Confirm, and every comment in the Spam folder is permanently deleted.

This is the fastest way to clear spam in bulk. Just remember it’s permanent, so glance through the list first if you’re worried a real comment got misfiled, which occasionally happens.

What do the WordPress comment statuses mean?

Every comment in WordPress lives in one of a few states. Understanding these makes managing comments much less confusing, because the tabs at the top of the Comments screen simply filter by status.

Status Meaning Where it shows
Pending Awaiting your approval; not visible to the public yet “Pending” tab
Approved Live and visible on your post “Approved” / “All” tabs
Spam Flagged as junk by your filter or by you “Spam” tab
Trash Marked for deletion but still recoverable “Trash” tab

A comment can move between these states freely. You can approve a pending comment, mark an approved one as spam, restore a trashed one, and so on. The key takeaway: nothing is permanently gone until you Empty Spam or Empty Trash.

Why do blogs get flooded with comment spam?

Now for the real story. Comment spam isn’t personal and it isn’t random. Automated bots crawl the web looking for any post with an open comment form, then submit junk by the thousands, usually to plant backlinks to dodgy websites. Your blog doesn’t need to be popular to get hit; the bots find new sites within days of launch.

This is why deleting feels never-ending. The bots don’t stop, so neither does the cleanup, unless you change the rules of the game. The rest of this guide is about doing exactly that.

How do you reduce comment spam at the root?

Prevention beats deletion every single time. Here are the layers of defense, from easiest to most thorough. Stack a few of these and your spam problem largely disappears.

1. Turn on an anti-spam filter. WordPress ships with Akismet, an anti-spam service that checks each comment against a massive database of known spam and quietly catches the junk before it reaches you. Install and activate it from Plugins → Add New, then connect an API key. From that moment, the overwhelming majority of spam lands in the Spam folder automatically instead of your moderation queue.

2. Require comment moderation. Go to Settings → Discussion and tick “Comment must be manually approved.” Now nothing publishes on your site until you approve it. Spam never appears publicly, which removes the bots’ incentive and protects your readers.

3. Require name and email, or registration. In the same Discussion settings you can require a name and email for every comment, or even require users to be registered and logged in. Each extra hurdle filters out a chunk of low-effort bots.

4. Add a CAPTCHA. A CAPTCHA or “I’m not a robot” challenge (added via a plugin) blocks automated submissions while letting real humans through. It’s one of the most effective single steps against bot spam.

5. Close comments on old posts. Most spam targets older, forgotten posts. In Settings → Discussion, enable “Automatically close comments on posts older than X days” and set it to something like 30 or 60 days. This shuts the door on the bots’ favorite entry point. For more on tuning these options, see the guide.

How do you disable comments entirely?

Sometimes the cleanest answer is to switch comments off. You can do this on a single post or across the whole site.

Disable on a single post:

  1. Open the post in the editor.
  2. In the right-hand Post settings panel, find the Discussion section.
  3. Untick Allow comments, then update the post.

Disable site-wide for new posts:

  1. Go to Settings → Discussion.
  2. Untick Allow people to submit comments on new posts.
  3. Save changes.

Note that disabling comments site-wide only affects new posts; existing posts keep their current settings until you change them (a bulk edit on the Posts screen can flip many at once). Adjusting who can do what here often overlaps with your broader setup, especially if multiple people moderate.

DarazHost WordPress hosting helps keep comment spam, and the database bloat it causes, under control. You get server-level security and firewalls that block bad bots before they ever reach your comment form, fast SSD storage with LiteSpeed so a busy comment section stays quick, and automatic backups taken before you mass-clean, so a slip of the finger is never a disaster. Easy database access lets you tidy up bloated comment tables in minutes, and our 24/7 support team is there if you get stuck. The result is a cleaner, faster WordPress that spends less time fighting spam and more time serving readers.

Why does deleting spam improve site speed?

Here’s the hidden cost of ignoring spam. Every comment, including the junk, is stored as a row in your WordPress database. Let a site accumulate tens of thousands of spam comments and that database swells, queries slow down, and backups take longer. Cleaning it out isn’t just about a tidy dashboard; it’s a genuine performance improvement.

After a big spam purge, it’s worth optimizing the underlying database tables (your host’s control panel usually offers a one-click “Optimize” option, or you can use a maintenance plugin). Combine that with the prevention steps above and you keep both your dashboard and your database lean. Strong and proactive go hand in hand here, because the same bots probing your comment form are probing everything else too.

For the full picture on running a fast, secure, well-managed WordPress site, see our pillar guide: WordPress Hosting: The Complete Guide to Choosing Speed, Security & Care.

Frequently asked questions

Can I recover a WordPress comment I deleted by accident? Yes, as long as you used Trash and haven’t emptied it. Open the Trash tab under Comments, hover over the comment, and click Restore. Once you click Delete Permanently or Empty Trash, though, the comment is gone for good.

Does marking a comment as spam delete it? Not immediately. Marking as spam moves the comment to the Spam folder and trains your filter to catch similar junk in future. It stays there until you click Empty Spam, which permanently deletes everything in the folder.

How do I delete thousands of spam comments quickly? Use Empty Spam to clear the entire Spam folder in one click. For comments scattered across other tabs, raise the items-per-page count in Screen Options, select all, and use Bulk Actions → Move to Trash. Then empty the trash.

Will deleting comments hurt my SEO? Deleting spam comments helps your SEO, since spam links and junk content can drag down quality signals. Deleting genuine reader comments removes useful, keyword-rich content, so only remove the junk and keep the real conversations.

What’s the best way to stop comment spam permanently? There’s no single switch, but stacking defenses works: activate an anti-spam filter like Akismet, require manual approval in Settings → Discussion, add a CAPTCHA, and auto-close comments on posts older than 30 to 60 days. Together these stop the flood at the source.

About the Author

Leave a Reply