Free auditStart free
GlossaryGlossary · Comment spam

Comment spam

Comment spam is junk posted in blog or forum comments, usually to plant links. See Google's view, the defenses that work, and how to mark user links.

2 min
read
3
sources
Oct 22, 2026
updated
Scaplet Editorial Team
author
In one line

Comment spam is spammy content that users add to a site through comment forms, most often to leave a link to the spammer's own site. Google classes it as user-generated spam under its spam policies. You can curb it with moderation, a clear abuse policy, reCAPTCHA-type challenges, blocklists, and rel="ugc" or nofollow on links in untrusted content.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

What counts as comment spam

Google's spam policies define user-generated spam as spammy content added to a site by users through a channel intended for user content, and note that site owners are often unaware of it. The examples Google lists include spammy accounts on hosting services, spammy posts on forum threads, comment spam on blogs, and spammy files uploaded to file hosting platforms.

Google's link spam examples include forum comments with optimized links in the post or signature, such as a short thanks followed by a signature stuffed with keyword-rich anchor text. Spammers want those links for ranking, which is why most defenses target the link or the reward for posting.

02At a glance

Defenses Google recommends

Defense

Abuse policy

How it works
Publish a clear policy and show it at sign-up; let trusted users report spammy content
Defense

Pattern tracking

How it works
Record signup and interaction data such as form completion time, requests from one IP range, user agents and chosen user names
Defense

Noindex for new users

How it works
Add the noindex robots meta tag to posts from users with no reputation, then allow indexing as they earn it
Defense

Link attributes

How it works
Add nofollow or ugc to all links in untrusted content
Defense

Moderation

How it works
Manual approval for suspicious interactions; Google notes comment moderation is built into most CMSes
Defense

Blocklists

How it works
Ban repeat offenders, for example by IP address in your firewall's deny list, or use a plugin such as Akismet on a CMS
Defense

Human checks

How it works
reCAPTCHA or similar verification at sign-up to block automated accounts
04Worth knowing

Common mistakes

Relying on attributes alone

ugc and nofollow signal how to treat the link. They don't clean up the page.

Letting spam sit

Google's policy covers spam that users add to your site, and says owners are often unaware of it.

Approving everything

Open comments without moderation or a challenge invite automated posting.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  1. 01Prevent user-generated spam on your site and platformdevelopers.google.com · checked 2026-10-25
  2. 02Spam policies for Google web searchdevelopers.google.com · checked 2026-10-25
  3. 03Qualify your outbound links to Googledevelopers.google.com · checked 2026-10-25
Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01What is comment spam?

Spammy content added to a site through a channel meant for user content, such as blog comments. Google's spam policies list comment spam on blogs as an example of user-generated spam.

02Does nofollow stop comment spam?

Not by itself. Google suggests nofollow or ugc on links in untrusted content, because spammers are often motivated by leaving a link, alongside moderation, blocklists and verification.

03Can comment spam hurt my site?

Google treats user-generated spam as a spam-policy issue, and says site owners are often unaware of it. Keep your public areas moderated.

04Should I noindex comments from new users?

Google suggests it as a deterrent: add noindex to posts from users without reputation, then allow indexing once they gain reputation.

Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly