Link Building

Nofollow, Sponsored, and UGC: Link Attributes Explained

Photo of Sarah Mitchell Sarah Mitchell September 3, 2026 · 5 min read

Nofollow, sponsored, and ugc are link attributes — specific values you add to a link’s rel attribute to tell search engines something about the nature of that link. They exist because not every link is an honest editorial vote of confidence: some are paid, some are placed by strangers in a comments section, and some you simply do not want to vouch for. Labeling links with the right attribute keeps you on the right side of Google’s guidelines and helps search engines interpret your outbound links correctly.

By default, a normal link passes signals to the page it points to — in effect, a vote that the destination is relevant and trustworthy. That is fine for links you genuinely endorse, but it becomes a problem for paid placements or links you cannot control, because Google does not want paid or spammy links to influence rankings. Link attributes let you keep linking to a page while telling Google, “do not treat this as my editorial endorsement.” This protects your site and keeps the link graph honest.

The rel attribute itself is just a small piece of HTML added to a link, for example <a href="https://example.com" rel="sponsored">. You do not need to touch the destination or the anchor text to add it — only the link’s own markup. Most content management systems and SEO plugins give you a checkbox to mark a link as nofollow or sponsored when you insert it, so applying these labels is usually a matter of a click rather than editing code by hand.

The three attribute values at a glance

Google introduced the more specific sponsored and ugc values in 2019 to sit alongside the original nofollow. Here is how they compare:

Attribute Markup Use it for
Nofollow rel=”nofollow” Any link you do not want to endorse or pass signals to
Sponsored rel=”sponsored” Paid links, advertising, and affiliate links
UGC rel=”ugc” User-generated links: blog comments, forum posts, profiles

You can also combine values when a link fits more than one category, for example rel="sponsored nofollow".

When should you use rel=”sponsored”?

Use rel="sponsored" on any link that exists because of payment or a commercial arrangement — advertising, sponsored posts, and affiliate links all qualify. Google’s guidelines are clear that links which pass ranking signals in exchange for money can be treated as a violation, so labeling paid links protects you from that risk. If you run affiliate links or accept paid placements, marking them as sponsored is the correct, safe practice. It tells Google the link is commercial rather than an unpaid editorial recommendation, which is exactly the distinction the attribute was created to capture.

When should you use rel=”ugc”?

Use rel="ugc" for links created by your users rather than by you — the classic examples are links inside blog comments, forum threads, and user profiles. Because you cannot vet every link a visitor adds, the ugc value signals that these links come from user-generated content and should be treated with appropriate caution. Many platforms apply this automatically to comment links. If your site accepts contributions or comments that can include links, ugc is the appropriate label, and it helps prevent your pages from being used to pass signals to spam. This matters because spammers actively target comment sections and open profiles precisely to plant links, and a site that lets those links pass full signals can attract exactly the kind of low-quality activity you want to avoid.

Nofollow, sponsored, and ugc links do not act as the same direct ranking endorsement that a standard followed link does, but they are not worthless. They can still send real referral traffic, build brand visibility, and form a natural, varied link profile — a profile made entirely of followed links can itself look unnatural. Since 2019, Google has also said it treats these attributes as hints rather than strict directives for crawling and indexing, meaning it may consider them in some cases. So pursue relevant links for the traffic and exposure, not only for a narrow ranking signal. A link from a busy, relevant site can drive interested visitors and awareness regardless of its attribute, and that exposure often leads to natural, editorial links elsewhere down the line. Our guide to link building for small businesses goes deeper on earning a healthy mix.

Applying the right attribute in practice

The practical rule is simple: for a paid or affiliate link use sponsored, for a user-added link use ugc, and use nofollow for anything else you do not want to formally endorse. Normal editorial links to sources you genuinely recommend should stay as regular followed links. If a link fits two categories at once — an affiliate link inside a user comment, say — you can combine values, and using the more specific label is better than a bare nofollow because it tells Google more precisely what kind of link it is.

Getting this labeling right keeps you compliant with Google’s guidelines, protects your site’s credibility, and makes your outbound linking honest — which is the foundation of sustainable link building alongside strong on-page SEO. It is also worth a periodic review: as you add affiliate partners, accept sponsored content, or open comments, check that new links carry the right attribute. When in doubt about a link’s nature, label it rather than leave it ambiguous — the small habit of tagging links correctly is far easier than untangling a guidelines problem later.

Share this article
Photo of Sarah Mitchell

Sarah Mitchell

SEO Director

More Articles

Sarah Mitchell is the SEO Director at AdvantageBizMarketing with over 12 years of experience in organic search strategy. Previously, she led technical SEO at two Fortune 500 agencies, where she oversaw site migrations for brands generating a combined $400M in annual e-commerce revenue. Sarah holds a Google Analytics certification and has spoken at BrightonSEO, SMX, and MozCon. She specializes in large-scale technical audits, JavaScript rendering optimization, and Core Web Vitals remediation. Her work has been cited in Search Engine Journal, Search Engine Land, and the Ahrefs blog.

The Weekly Briefing

One email every Tuesday with actionable SEO insights, case studies, and tactics that actually move rankings. No fluff. No spam.

Join 4,200+ marketers. Unsubscribe anytime.

Related Articles