Skip to content

Delete Comments in Bulk

The Delete Comments page provides tools to permanently remove comments from your WordPress database. To open it, go to Settings > Disable Comments and from the Delete Comments tab, click the link to delete comments in the database.

❗ Important: Deleting comments is permanent and cannot be undone. Always create a backup of your database before using these tools.

In this article

Remove All Comments

This tool lets you delete all comments from your database. You can choose which post types to delete comments from:

  1. Open the Delete Comments page from Settings > Disable Comments (click the link to delete comments in the database).
  2. In the Remove all comments section, select the post types you want to delete comments from using the checkboxes.
  3. Use the Select All Post Types checkbox to select or deselect all types at once.
  4. Click the Delete button to permanently remove comments for the selected post types.

The button displays the total number of comments that will be deleted based on your selection.

📝 Note: If WooCommerce is active on your site, an additional Delete Woocommerce order notices? option appears that lets you include WooCommerce order notes in the deletion. Order notes are stored as comments in WordPress, so be careful not to delete them unintentionally.

A confirmation dialog will appear before any comments are deleted, reminding you that the action cannot be undone.

Remove Spam Comments

This tool deletes only comments marked as spam from your database.

  1. Open the Delete Comments page from Settings > Disable Comments (click the link to delete comments in the database).
  2. In the Remove spam comments section, click the Delete button.

The button shows the current count of spam comments that will be removed.

Remove Unapproved Comments

This tool deletes only comments that are pending approval (not yet published).

  1. Open the Delete Comments page from Settings > Disable Comments (click the link to delete comments in the database).
  2. In the Remove unapproved comments section, click the Delete button.

The button shows the current count of unapproved comments that will be removed.

Remove Trashed Comments

This tool deletes only comments that are in the trash.

  1. Open the Delete Comments page from Settings > Disable Comments (click the link to delete comments in the database).
  2. In the Remove trashed comments section, click the Delete button.

Screenshot of the Delete Comments page showing spam, unapproved, and trashed deletion options

The button shows the current count of trashed comments that will be removed.

Best Practices

  • Back up your database before deleting comments. Use a backup plugin or your hosting provider's backup tools.
  • Start with spam and trash — remove spam and trashed comments first, as these are typically safe to delete.
  • Review unapproved comments before deleting them, as they may contain legitimate comments waiting for moderation.
  • Use post type selection when deleting all comments to avoid accidentally removing comments from post types where you still want them.
Was this helpful?