Dofollow and nofollow 

Dofollow and nofollow: the difference for backlinks

Rheinwunder team member sitting at the meeting table with a notebook.
Ralph Grundmann · Last updated on 2 November 2026

Nofollow is a value of the rel attribute with which a website tells search engines that it does not want to be associated with the linked page. Links without such a value are commonly called dofollow. Since 2019, and for crawling and indexing since March 2020, Google has treated nofollow and the newer values sponsored and ugc as hints. Such links are generally not followed but can feed in as a signal. Here you can read what the values mean, how they look in the source code and what they mean for backlinks and link building.

A dofollow backlink is a link that leads from a website to your own website and is “followed” by search engines. This means that search engines follow the link and can use it for your website’s ranking. Dofollow links are the “standard links” you normally see on a website, and they are an important factor when search engines assess your website.

A nofollow backlink is also a link that leads from a website to your own website, but search engines generally do not “follow” it. This means that the link usually does not contribute to search engines’ assessment of your website. However, Google treats “nofollow” only as a hint and can still take such links into account in individual cases.

Nofollow links use the rel="nofollow" attribute in the hyperlink. Websites normally use it for references they want to “distance” themselves from, or to mark advertising links. Forums also use it so that links in spam comments pass on no value.

Nofollow does not reliably prevent the target page from being crawled. According to Google, it can be found by other means, such as sitemaps or links from other websites. To stop your own pages being crawled, use robots.txt. To keep a page out of the index, allow crawling and use noindex in the meta robots tag.

How the attributes look in the source code

An ordinary link has no special attribute. “Dofollow” is therefore not a value or tag of its own in HTML. It is the usual term for links without restrictions. You do not need a rel="dofollow".

<a href="https://www.example.com/">Example</a>
<a href="https://www.example.com/" rel="nofollow">Example</a>
<a href="https://www.example.com/" rel="sponsored">Advert</a>
<a href="https://www.example.com/" rel="ugc">Link from a comment</a>

You can see whether a link has such an attribute in your browser by right-clicking on the link and choosing “Inspect”. This command lists all links on a page that have a rel attribute in the console of the developer tools:

console.table([...document.querySelectorAll("a[rel]")].map(a => ({ link: a.href, rel: a.rel })));

For whole websites and for backlinks, you need a crawler or backlink tool that shows the attribute. According to Google, the Links report in Search Console does not indicate whether a link is nofollow.

Where nofollow comes from

Nofollow was created in 2005 to combat comment spam. Since 2019, Google has treated the value as a hint.

Year What changed
2005 Google introduces rel="nofollow" to combat comment spam.
2009 Matt Cutts of Google explains that internal nofollow links do not redirect PageRank to other links.
2019 Google adds sponsored and ugc and treats all three values as hints for ranking.
2020 Since March, the values have also been hints for crawling and indexing.

Since 2019, there have been two further values alongside nofollow. Google recommends them in “Qualify your outbound links to Google” as follows:

Value What it is for
rel="sponsored" Paid links and adverts. According to Google’s July 2021 blog post, explicitly including affiliate links.
rel="ugc" Links in user-generated content, such as comments and forums.
rel="nofollow" When neither of the other values applies and you do not want Google to associate your website with the linked page.

The values can be combined, for example rel="nofollow sponsored". When a link must be qualified and what counts as link spam is covered in our entry on backlinks.

The biggest difference between dofollow and nofollow links is that search engines follow dofollow links and use them to assess your website, whereas nofollow links generally do not contribute to this. When it comes to improving your position in the search results through SEO, dofollow links therefore count most.

What both types have in common is that they can bring visitors to your website. A person who reaches your website via a nofollow link can still become a valuable, returning visitor.

Dofollow vs. nofollow at a glance:

Feature Dofollow link Nofollow link
HTML No special rel value rel="nofollow"
Crawling Search engines can follow the link Generally not followed
Ranking Can contribute to the assessment Generally does not contribute, Google can treat it as a hint
Visits Can bring visits Can bring visits
Typical use Editorial links Links a website does not want to vouch for

The rel="nofollow" attribute applies to a single link, and the nofollow rule in the meta robots data applies to all links on a page.

Feature nofollow in a link nofollow in meta robots
Applies to One link All links on the page
Located in The link itself The head section or the X-Robots-Tag HTTP header
Effect on Google A hint, the link is generally not followed Google should not follow the links on the page

You do not need a tag for “dofollow” or “follow” here either. According to Google, all is the default value, and follow is not among the valid rules. On a page blocked by robots.txt, Google does not read these rules at all.

Dofollow links are usually the primary goal of a link building strategy, because search engines can use them to assess your website. Nofollow links can also have a certain value, especially for bringing traffic to your website and making your brand better known. Apart from that, nofollow links are part of every organic link profile.

On your own website, you use the values for outgoing links. Normal editorial links need no attribute. Mark paid links with sponsored, links in comments with ugc and other links you do not want to vouch for with nofollow.

Decision table: which value for which link?

Link Recommendation
Editorial recommendation No attribute
Advert, paid placement, advertorial sponsored
Affiliate link sponsored
Comment, forum post ugc
Source you do not want to vouch for nofollow
Press release or guest post Avoid optimised anchor text, or mark with nofollow
Internal link No attribute

If you are looking to buy dofollow backlinks, be aware that buying links for ranking counts as link spam under Google’s spam policies. Paid links are acceptable when they are marked with nofollow or sponsored. Our entry on backlinks has more on this.

Common mistakes

  • Confusing noopener with nofollow: rel="noopener" protects the original page when a link opens in a new tab. It has nothing to do with how the link is assessed.
  • Setting internal links to nofollow: this does not redirect link equity to other pages. A clear internal linking structure matters more.
  • Using nofollow to prevent indexing: the target page can still end up in the index. That is what noindex is for.


 Your next step 

Our page Link building and backlinks explains how we work. In an initial consultation, we clarify what makes sense for your website.


Request a consultation
 Frequently asked questions 

Nofollow and dofollow: key questions

What does nofollow mean?

Nofollow is a value of the rel attribute in a link. It tells search engines that the website does not want to be associated with the linked page. Google treats it as a hint.

What is a dofollow link?

A dofollow link is a normal link without the values nofollow, sponsored or ugc. Search engines can follow it and use it to assess the target page.

How do I create a dofollow link in HTML?

Write a normal link without a rel attribute, that is <a href="https://www.example.com/">Example</a>. The value “dofollow” does not exist in HTML.

How can I tell whether a link is nofollow?

Right-click on the link in your browser and choose “Inspect”. If the code contains rel="nofollow", the link is qualified in this way.

Are nofollow links of any use?

Yes, they can bring visits and make your brand better known. They generally do not contribute to ranking, but Google can take them into account in individual cases.

 Request a consultation 

Questions about this topic?

Tell us briefly what it is about. You will speak directly to Katharina Wiest.
Microsoft Partner Badge
SISTRIX-zertifizierte Agentur
4.9
Based on 32 reviews

Reviews from our Google Business Profile. We check every review against our client projects.

Request a consultation
Katharina Wiest
Katharina WiestTeam Lead Affiliate MarketingCall: +49 228 243 313 53

* Required

Please enter your name.

Please enter a valid email address, e.g. name@company.com.

For a call back.

Please enter your number with area code, e.g. +49 228 243 313 53.

Please tell us briefly what it is about.

Free and without obligation. We usually reply on the same working day.

Information on how we process your data: Privacy policy