Skip to content
MrKeyword
Backlinks

Nofollow vs dofollow links: what they mean for SEO

A dofollow link is a normal link that can pass ranking signals. A nofollow link carries rel="nofollow", which asks Google not to credit it. Since 2019 Google treats nofollow, sponsored and ugc as hints, not rules.

A dashboard of backlinks with their link attributes
The short version
  • A dofollow link is a normal link with no qualifying rel value, so Google can count it as a ranking signal.
  • A nofollow link carries rel="nofollow", which asks Google not to credit the link.
  • Since 2019 Google treats nofollow, sponsored and ugc as hints, not strict rules.
  • Nofollow links can still send visitors and may still be considered, but they are not a ranking plan on their own.
  • Check a link's rel in view source or the browser inspector, or run the domain through the free backlink checker.

What is a dofollow link?

A dofollow link is a normal link with no qualifying rel value, so Google can crawl it and count it as a ranking signal. There is no rel="dofollow" attribute; "dofollow" is SEO shorthand for a link that has not been marked nofollow, sponsored or ugc. An ordinary editorial citation is the classic example.

Google's guide to qualifying outbound links describes these values as a way to tell Google about the nature of a link. A link with none of them is treated as a normal link. That does not guarantee a ranking: links are one signal among many, as our guide to what backlinks are explains.

<a href="https://example.com/guide">useful guide</a>

What is a nofollow link?

A nofollow link carries rel="nofollow", which asks Google not to associate the linking site with the target or crawl the link. Site owners use it for links they do not want to vouch for, such as untrusted comments or user-submitted content. Google introduced the attribute in 2005 to fight comment spam.

Since 10 September 2019, Google treats nofollow as a hint rather than a rule. Its 2019 announcement said the link attributes are hints about which links to consider or exclude. Google says these links will generally not be followed, but the target can still be discovered another way, such as a sitemap or a link from another site.

<a href="https://example.com/guide" rel="nofollow">useful guide</a>

rel="sponsored" marks paid or compensated links, and rel="ugc" marks links inside user-generated content such as comments and forum posts. Google added both values in 2019 so site owners could be more specific than a blanket nofollow. Like nofollow, they are hints.

Google recommends sponsored for advertising, sponsorships and any link you were paid or compensated for. It recommends ugc for links in content your users create. You can combine values, for example rel="ugc nofollow" or rel="sponsored nofollow"; both are valid.

<a href="https://example.com/offer" rel="sponsored">our sponsor</a>
<a href="https://example.com/comment" rel="ugc">a reader's link</a>

Follow, nofollow, sponsored and ugc compared

AttributeMeaningWhen to usePasses ranking credit?HTML example
None ("dofollow")A normal link you stand behindEditorial citations and links you trustCan be counted as a normal link<a href="...">text</a>
rel="nofollow"Asks Google not to credit or follow the linkUntrusted or user-submitted links you do not vouch forA hint; generally not counted<a href="..." rel="nofollow">text</a>
rel="sponsored"Marks a paid or compensated linkAds, sponsorships and paid placementsA hint; generally not counted<a href="..." rel="sponsored">text</a>
rel="ugc"Marks a link in user-generated contentComments, forums and other user postsA hint; generally not counted<a href="..." rel="ugc">text</a>
From Google Search Central's guide to qualifying outbound links and its 10 September 2019 "Evolving nofollow" post, checked 13 November 2026.

Do nofollow links help SEO?

Nofollow links can still help a little, but they are not a reliable way to pass ranking credit. They send real visitors, they make your brand visible where your audience reads, and because Google treats them as hints it may still consider them. What they do not do is give you a dependable ranking boost the way an editorial dofollow link can.

So a nofollow link is not worthless, and it is not an insult. Google's link best practices tell site owners to use nofollow only for sources they do not trust, not on every external link. Plenty of reputable sites nofollow comment links or all user-submitted links by default. Build for readers and relevance first; treat the rel value as a detail, not the goal.

When should you use nofollow?

Use nofollow, sponsored or ugc when you do not want to vouch for a link or when the link is paid or user-generated. The right value depends on why the link exists:

  • Paid or compensated links: use rel="sponsored" (or nofollow). Google's link spam policy treats buying or selling links for ranking as spam, but advertising and sponsorship are fine when the link is qualified.
  • User-generated content: use rel="ugc" for comments, forum posts and other content your users add. You may drop it for members who consistently contribute high-quality content.
  • Untrusted sources: use rel="nofollow" for a link you cannot vouch for.
  • Normal editorial links: leave them as plain links. Do not nofollow every external link; that throws away a signal you could give a source you trust.

How to check if a link is nofollow

Open the page's source or use the browser inspector to read the link's rel attribute, or run the domain through the free backlink checker, which labels each link follow, nofollow, sponsored or ugc.

  • View source. Right-click the page and choose View page source, then search for the link's URL or anchor text. Read the <a> tag: rel="nofollow", rel="sponsored" or rel="ugc" means the link is qualified; no rel value means it is a normal dofollow link.
  • Inspect the element. Right-click the link and choose Inspect. The Elements panel shows the same <a> tag, which is easier on a page built by JavaScript.
  • Run the domain through the free backlink checker. It lists the links it has seen to a domain and shows follow, nofollow, sponsored or ugc for each one, so you can check many links at once instead of one page at a time.

See which links are follow or nofollowCheck any domain's backlinks and the rel value on each link, free.

Check backlinks

Questions and answers

Nofollow vs dofollow links questions

Is there a rel="dofollow" attribute?

No. There is no dofollow attribute. A dofollow link is simply a normal link with no nofollow, sponsored or ugc value, so Google can count it as a normal link.

Do nofollow links help SEO?

They can help a little, but they are not a reliable way to pass ranking credit. Nofollow links still send visitors and make your brand visible, and because Google treats them as hints it may still consider them. They are not a ranking plan on their own.

What is the difference between nofollow, sponsored and ugc?

All three are hints that ask Google not to count a link normally. Use sponsored for paid or compensated links, ugc for links in user-generated content such as comments, and nofollow for any other link you do not want to vouch for.

How do I check if a link is nofollow?

View the page source or inspect the link in your browser and read its rel attribute. You can also run the domain through a backlink checker that labels each link follow, nofollow, sponsored or ugc.

Should I nofollow all external links?

No. Google's link best practices say to use nofollow only for sources you do not trust, not on every external link. Leave normal editorial links as plain links and qualify paid or user-generated ones.

About this article

Written by the MrKeyword team, who build an SEO workspace on first-party Search Console and Bing data. Outside facts link to their original source below. We update this page when the product or the sources change.

Sources

  1. Qualify your outbound links to Google — Google Search Central, on rel nofollow, sponsored and ugc
  2. Evolving "nofollow" – new ways to identify the nature of links — Google Search Central Blog, 10 September 2019, on link attributes becoming hints
  3. Link best practices for Google — Google Search Central, on crawlable links, anchor text and when to use nofollow
  4. Spam policies for Google web search — Google Search Central, on link spam and qualified paid links
Keep reading

More on backlinks and authority, plus the feature and free tool for the same job. All backlinks and authority guides →

Check the rel value before you count the link.

Run any domain through the free backlink checker to see its links and whether each one is follow, nofollow, sponsored or ugc. Free plan for one website, no card; paid plans from $10 a month.