How to Delete a WordPress Comment: Step-by-Step (2026)
Table of Contents
Deleting a WordPress comment takes about three clicks once you know where to look — but there are actually several different ways to do it, depending on whether you want to trash one comment, bulk-delete dozens, permanently remove them all, or auto-block certain comments before they ever appear.
This guide covers every method: single delete, bulk delete, permanent deletion from Trash, auto-delete via Discussion settings, and — if you manage a large WordPress site — how to bulk-manage comments through an AI assistant using Easy MCP AI.
What “Delete” Means in WordPress Comments
WordPress uses a two-stage deletion system for comments, the same way it does for posts:
- Trash — the comment is hidden from the site but recoverable. This is what “Move to Trash” does from any comment action.
- Delete Permanently — the comment is gone for good, with no recovery. This option only appears inside the Trash view (or the Spam view).
By default, WordPress holds trashed comments for 30 days before auto-deleting them. Until then, you can restore any trashed comment.
Method 1: Delete a Single Comment from the Comments Screen
This is the most common path. It works for any comment regardless of status (pending, approved, spam).
Step 1 — Open the Comments screen. In your WordPress admin, click Comments in the left navigation menu. The URL is yoursite.com/wp-admin/edit-comments.php.
Step 2 — Find the comment. Use the filter tabs at the top — All, Pending, Approved, Spam, Trash — or the search box at the top right to locate the comment you want to remove.
Step 3 — Hover over the comment row. When your cursor is over the comment text, a row of action links appears below it: Approve / Unapprove, Reply, Quick Edit, Edit, Spam, and Trash.
Step 4 — Click “Trash”. The comment moves to the Trash immediately. The page refreshes and the comment disappears from the current view. You will see an “Undo” link appear briefly at the top of the screen if you want to reverse the action.
Step 5 — Delete Permanently (optional). If you want the comment gone for good right now, click the Trash filter tab at the top of the Comments screen. Find the comment, hover over it, and click Delete Permanently. Alternatively, click Empty Trash to permanently delete every comment currently in the Trash.
Screenshot guide: The Comments screen shows each comment with the commenter’s name, email, IP address, the comment text, and the post it was left on. The Immediate Actions row (Trash, Spam, etc.) only appears on hover.
Method 2: Delete Multiple Comments in Bulk
When you need to remove many comments at once — for example, clearing a wave of spam — the bulk action workflow is faster than clicking each one individually.
Step 1 — Open the Comments screen. Go to Comments in your WordPress admin left menu.
Step 2 — Filter to the comments you want. Click the appropriate tab — Pending, Spam, or All — to narrow the list. You can also use the search box or the “Show all comment types” dropdown to filter by type (comments vs. pings/trackbacks).
Step 3 — Select comments. Check the box to the left of each comment you want to delete. To select all comments visible on the current page, check the checkbox in the table header row, then uncheck any you want to keep.
Step 4 — Choose “Move to Trash” from Bulk Actions. Open the Bulk Actions dropdown above the table and select Move to Trash, then click Apply. All selected comments move to Trash at once.
Step 5 — Permanently delete from Trash. Click the Trash tab, select the comments (or check all), then either choose Delete Permanently from the Bulk Actions dropdown and click Apply, or click Empty Trash to wipe the entire Trash in one shot.
| Task | Bulk Actions option | Where |
|---|---|---|
| Move to Trash | Move to Trash | Any comment list view |
| Mark as Spam | Mark as Spam | Any comment list view |
| Delete permanently | Delete Permanently | Trash or Spam view only |
| Wipe entire Trash | Empty Trash button | Trash view |
| Approve pending | Approve | Pending or All view |
Method 3: Delete a Comment from the Dashboard Activity Widget
If you only need to handle a handful of comments quickly, the WordPress Dashboard offers a shortcut.
Step 1 — Go to Dashboard → Home. The Activity widget on the dashboard shows your most recent comments.
Step 2 — Hover over a comment. The same Immediate Actions appear: Approve, Reply, Edit, Spam, Trash.
Step 3 — Click “Trash”. The comment is sent to Trash. For permanent deletion, you still need to visit the Comments screen → Trash tab.
Method 4: Auto-Delete Comments via Settings → Discussion
WordPress can automatically delete certain comments before they ever appear — useful for blocking known spam phrases or keywords permanently.
Step 1 — Go to Settings → Discussion. In the left admin menu, click Settings, then Discussion.
Step 2 — Find “Disallowed Comment Keys”. Scroll to the Disallowed Comment Keys section (previously called “Comment Blacklist” in older WordPress versions).
Step 3 — Add keywords, phrases, IP addresses, or URLs. Enter one item per line. Any comment that contains a matching word, phrase, email, URL, or IP is deleted immediately and without notification when it is submitted.
Warning from the official WordPress docs: Comments deleted this way are gone permanently with no recovery and no admin notification. Use this for content you are absolutely certain you never want, not just moderation candidates. For content that needs review before deletion, use the Comment Moderation section above it instead (which holds comments for manual approval rather than deleting them).
Method 5: Delete All Comments in Bulk from the Trash or Spam Filter
If your site has accumulated hundreds or thousands of trashed or spam comments, “Empty Trash” and “Empty Spam” are the fastest tools.
Trash: Comments → Trash tab → click Empty Trash button. All trashed comments are permanently deleted regardless of whether they are individually selected.
Spam: Comments → Spam tab → click Empty Spam button. All spam-marked comments are permanently deleted.
Both buttons appear at the top and bottom of their respective filtered views.
Managing WordPress Comments with AI via Easy MCP AI
Manual comment management is fine for a site with light traffic. On a high-volume site — or any site where you want to apply rules, bulk-triage, or automate repetitive comment work — it becomes time-consuming.
Easy MCP AI is a free, open-source WordPress plugin that turns your site into a remote MCP server, letting AI clients like Claude, ChatGPT, or Cursor read and manage your WordPress content through natural language. Comments are part of the 96 core WordPress tools in Easy MCP AI’s full suite of 215 tools — which also covers posts, pages, media, users, taxonomy, menus, blocks, and more.
What you can do with AI + Easy MCP AI
- Ask Claude to list all pending comments and decide which ones to approve or trash
- Bulk-trash comments from a specific IP address or email domain across all posts
- Get a summary of comment activity on a particular post
- Delete all comments older than a given date that are still in the Trash
- Flag comments containing specific words and move them to Spam
Because Easy MCP AI runs on your own WordPress server, all operations go through WordPress’s own permission system — the same capability checks that govern manual comment moderation. Credentials are encrypted AES-256-GCM with per-provider HKDF-derived keys and nothing leaves your server until Claude actively calls a tool.
Setup: Connect WordPress Comments to Claude
Step 1 — Install Easy MCP AI. Install and activate Easy MCP AI from the WordPress plugin directory. It is free with no usage limits or paid tiers.
Step 2 — Copy your MCP server URL. Go to Easy MCP AI → Dashboard and copy your MCP server URL.
Step 3 — Add as a connector in Claude. In Claude, go to Settings → Connectors → Add custom connector, paste the URL, and authorize via OAuth.
Step 4 — Start managing comments by conversation. Open a Claude conversation and describe what you want to do.
Example prompts after connecting
- “Show me all pending comments across my site.”
- “Trash every comment from the email domain spammerdomain.com.”
- “How many comments does my most popular post have? List any that are still pending.”
- “Move all comments in the Trash that were trashed more than 7 days ago to permanent deletion.”
- “List all spam comments and mark the ones that look like genuine mistakes as approved.”
Manual vs. AI-assisted comment management
| WordPress dashboard (manual) | Easy MCP AI (AI-assisted) | |
|---|---|---|
| Delete one comment | 3–4 clicks | One sentence |
| Bulk-trash by criteria | Filter + checkbox + dropdown | Describe the criteria in plain English |
| Triage pending comments | Open each, read, decide | Ask Claude to review and recommend |
| Cross-post comment audit | Check each post individually | One prompt covers all posts |
| Speed on high-volume sites | Slow | Fast |
Key Facts
- WordPress uses a two-stage deletion system: “Move to Trash” is reversible; “Delete Permanently” is not
- Delete Permanently is only available inside the Trash or Spam filter views — not from the main comments list
- Empty Trash and Empty Spam buttons delete every comment in those views at once, without requiring individual selection
- Disallowed Comment Keys (Settings → Discussion) auto-deletes matching comments silently on submission — with no recovery and no notification
- The WordPress Dashboard Activity widget provides quick Trash/Spam actions without visiting the Comments screen
- Bulk Actions available on the main Comments screen: Unapprove, Approve, Mark as Spam, Move to Trash
- WordPress auto-purges Trash comments after 30 days by default
- Easy MCP AI includes comment tools as part of its 96 core WordPress tools (215 tools total), enabling AI-driven bulk comment management via natural language
Conclusion
Deleting a single WordPress comment takes a hover and a click. Bulk-deleting dozens takes a checkbox selection and the Bulk Actions dropdown. Permanent deletion — which cannot be undone — is only available from inside the Trash or Spam views, which is intentional: WordPress makes you take a deliberate second step to prevent accidental data loss.
For sites where comment volume makes manual triage impractical, Easy MCP AI connects your WordPress comment management to AI assistants like Claude, so you can bulk-triage, filter by criteria, and take action across all your posts in a single conversation.
→ Get Easy MCP AI from the WordPress plugin directory