# Comment spam

> Comment spam is junk posted in blog or forum comments, usually to plant links. See Google

Canonical: https://scaplet.com/glossary/comment-spam

Glossary Glossary · 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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fcomment-spam%20(%22Comment%20spam%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fcomment-spam%20(%22Comment%20spam%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fcomment-spam%20(%22Comment%20spam%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fcomment-spam%20(%22Comment%20spam%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 2 minutes.

1. [What counts as comment spam 01](#what-counts-as-comment-spam)
2. [Defenses Google recommends 02](#defenses-google-recommends)
3. [Mark user links 03](#mark-user-links)
4. [Common mistakes 04](#common-mistakes)

_01_Explained

## 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](/glossary/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](/glossary/anchor-text). Spammers want those links for ranking, which is why most defenses target the link or the reward for posting.

_02_At 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](/glossary/noindex) for new users

How it works

Add the `noindex` [robots meta tag](/glossary/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

_03_Check it

## Mark user links

Google recommends marking user-generated content links, such as comments and forum posts, with the `ugc` value. You can combine values, for example `rel="ugc nofollow"`. Google says you might remove the attribute for members who have consistently made high-quality contributions over time.

The attribute helps, but it doesn't remove spam from your page. Visitors still see the junk, so combine it with moderation.

A comment link

```
<a rel="ugc nofollow" href="https://example.com/">Commenter's site</a>
```

_04_Worth 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. 01 [Prevent user-generated spam on your site and platform](https://developers.google.com/search/docs/monitor-debug/prevent-abuse) developers.google.com · checked 2026-10-25
2. 02 [Spam policies for Google web search](https://developers.google.com/search/docs/essentials/spam-policies) developers.google.com · checked 2026-10-25
3. 03 [Qualify your outbound links to Google](https://developers.google.com/search/docs/crawling-indexing/qualify-outbound-links) developers.google.com · checked 2026-10-25

Questions

## Asked a lot.

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

_01_ What 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.

_02_ Does 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.

_03_ Can 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.

_04_ Should 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.

## Keep learning

[All glossary](/glossary)

[Learn User-generated content Quality and policies](/glossary/user-generated-content) [Related Link building Links](/glossary/link-building) [Read next Nofollow Crawling and indexing](/glossary/nofollow) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Client-side rendering](/glossary/client-side-rendering) [Competitor analysis](/glossary/competitor-analysis) [Consent mode](/glossary/consent-mode)

More in Quality and policies
[Panda update](/glossary/panda) [Penguin update](/glossary/penguin) [Scaled content abuse](/glossary/scaled-content-abuse) [Search Quality Rater Guidelines](/glossary/search-quality-rater-guidelines) [Site reputation abuse](/glossary/site-reputation-abuse) [User-generated content](/glossary/user-generated-content) [White hat SEO](/glossary/white-hat-seo) [YMYL](/glossary/ymyl) [AI-generated content](/glossary/ai-generated-content) [Black hat SEO](/glossary/black-hat-seo) [Brand authority](/glossary/brand-authority) [Cloaking](/glossary/cloaking) [Comment spam](/glossary/comment-spam) [Core update](/glossary/core-update) [Domain age](/glossary/domain-age) [Doorway pages](/glossary/doorway-pages) [E-E-A-T](/glossary/e-e-a-t) [Expired domain](/glossary/expired-domain) [Google penalty](/glossary/google-penalty) [Google spam policies](/glossary/spam-policies) [Gray hat SEO](/glossary/gray-hat-seo) [Helpful content update](/glossary/helpful-content-update) [Link spam](/glossary/link-spam) [LSI keywords](/glossary/lsi-keywords)

Terms on this page
[Link spam](/glossary/link-spam) [Anchor text](/glossary/anchor-text) [Noindex](/glossary/noindex) [Robots meta tag](/glossary/robots-meta-tag)

Free · 2 minutes

## Know the term. _Now check your site._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
