The difference between nofollow and dofollow links is one attribute. A dofollow link is a normal link with no rel value restricting it, so it can pass ranking signals to the page it points at. A nofollow link carries rel="nofollow", which asks Google not to associate your site with that page or pass credit to it.
That is the short version. In practice there are now three attributes, not one, and Google treats all of them as hints rather than strict rules.
This guide covers what each attribute means, what changed in 2019 and 2020, whether nofollow links are worth having, when to use them on your own site and how to check any link in under a minute.
What is a dofollow link?
A dofollow link is an ordinary HTML link that has no nofollow, sponsored or ugc value in its rel attribute. There is no such thing as rel="dofollow" in HTML. “Dofollow” is just the industry’s name for a link that has not been qualified, so search engines can follow it and count it as a vote.
Here is what one looks like in the code.
<a href="https://example.com/guide/">guide to boiler servicing</a>
Google says it uses links “as a signal when determining the relevancy of pages and to find new pages to crawl” in its link best practices. Unqualified links from relevant, trusted sites are the kind most link building aims for, which is why they get so much attention.
What is a nofollow link?
A nofollow link is a link with rel="nofollow" added. It tells Google you would rather not associate your site with the linked page or pass ranking credit to it. Google’s documentation says links with these rel attributes “will generally not be followed”, although the target can still be found and crawled through other routes.
Here is the same link, nofollowed.
<a href="https://example.com/guide/" rel="nofollow">guide to boiler servicing</a>
Today nofollow is the catch-all value for any link you do not want to vouch for when the more specific values do not fit.
Nofollow, sponsored and ugc: the three rel values
Google now recognises three values for qualifying outbound links. Its page on qualifying outbound links sets out when to use each one.
| Attribute | Use it for | Notes from Google |
|---|---|---|
rel="sponsored" |
Adverts, paid placements, affiliate and other paid links | Nofollow is still acceptable for these, but sponsored is preferred |
rel="ugc" |
Links inside user-generated content, such as comments and forum posts | You can drop it for members who have made high-quality contributions over time |
rel="nofollow" |
Any other link you do not want to vouch for | Use it when the other values do not apply |
| No rel value (“dofollow”) | Editorial links you trust and chose to give | Can pass ranking signals |
You can combine values. Google accepts a space or comma separated list, such as rel="ugc nofollow". Nofollow can also be applied to every link on a page with the robots meta tag, while sponsored and ugc only work on individual links.
Is nofollow a hint or a directive?
Nofollow is a hint. On 10 September 2019 Google announced that nofollow, sponsored and ugc would all be treated as hints about how to handle a link, rather than instructions to ignore it, as Search Engine Land reported at the time. Google may still use a nofollowed link for ranking, spam analysis or discovery if it decides to.
The change came in two steps. The hint model applied to ranking straight away and was extended to crawling and indexing in March 2020. Google also said there was no need to change nofollow links you already had.
Two practical points follow from this:
- If you want to keep a page out of Google’s index, nofollow is the wrong tool. Google’s own advice is to allow crawling and use a noindex rule.
- If you want Google to stop crawling a section of your own site, use a robots.txt disallow rule rather than nofollowing your internal links.
Are nofollow links worth getting?
Yes, often. A nofollow link from a relevant, well-read site can send real visitors, put your name in front of the right audience and lead to other people linking to you editorially. Because nofollow is a hint, Google may also choose to count it. You just cannot rely on it passing ranking credit.
The value of a link is not only about the attribute. Ask what it does for the business:
- Referral traffic. A mention in a popular industry forum or a busy news article can bring visitors who are ready to act, whatever the rel value.
- Discovery. Journalists, bloggers and buyers who find you through a nofollowed link may later link to you without one.
- Brand visibility. Being cited on the sites your customers read builds recognition, which helps every other channel.
- A natural profile. Real websites pick up a mix of link types. A profile made only of followed, keyword-rich links from low-quality sites is the pattern Google’s spam policies describe.
Where I would push back is on link building that chases nofollow links in bulk, such as blog comment drops or forum signatures. Those bring neither traffic nor trust. One useful link from a site your customers actually read is worth more than a hundred of those.
For the wider picture of which links are worth your time, see my guide to building high-quality backlinks.
When should you use nofollow on your own site?
Use a rel value on outbound links you do not want to vouch for, or links that exist because money or another benefit changed hands. Google’s link guidance says to use nofollow “only when you don’t trust the source, and not for every external link on your site.” Linking out normally to good sources is fine.
A sensible policy for most business websites:
- Mark paid links, sponsored posts and affiliate links with
rel="sponsored". - Mark links in blog comments, reviews, forums and other user posts with
rel="ugc". Check whether your comment system adds it automatically rather than assuming it does. - Use
rel="nofollow"for anything else you are not willing to vouch for, such as a link you must include but cannot assess. - Leave editorial links to sources you trust as normal links. That includes citing official documentation, partners you genuinely recommend and useful references.
- Do not nofollow your own internal links. They help Google find and understand your pages. If you want Google to skip a section, robots.txt is the right tool.
If you sell links on your site and leave them followed, that breaks Google’s spam policies on paid links, and you can be hit with an “unnatural links from your site” manual action. My article on why black hat SEO techniques are dangerous covers that risk in more detail.
How to check if a link is nofollow or dofollow
You can check any link in your browser without paid tools. It takes less than a minute.
- Right-click the link and choose “Inspect” (Chrome, Edge, Firefox) to open the developer tools at that element.
- Look at the highlighted
<a>tag. If it containsrel="nofollow",rel="sponsored"orrel="ugc", it is qualified. - If there is no rel attribute, or the rel value is something unrelated like
noopener, it is a normal followed link. - Check the page’s robots meta tag too (search the source for
name="robots"). A page-level nofollow applies to every link on that page.
For links pointing at your own site, the Links report in Google Search Console is useful, but it has a blind spot. Google’s Links report documentation says the report does not specify whether a link is marked as nofollow. You will need to check important links by hand or use a crawler or backlink tool that reports the attribute. My Google Search Console guide explains where to find the report.
Common nofollow mistakes
- Nofollowing every outbound link. It does not protect your rankings, and Google advises against it.
- Using nofollow to hide pages. It will not keep a page out of the index. Use noindex.
- Leaving paid links followed. Sponsored posts, paid directory listings and gifted-product reviews need sponsored or nofollow.
- Judging a link only by its attribute. A followed link from an irrelevant, spammy site is worth less than a nofollowed mention on a site your buyers read.
- Thinking “dofollow” is a setting. Adding
rel="dofollow"does nothing, because it is not a value search engines use. A link is followed by default.
FAQs
Do nofollow links help SEO?
They can, indirectly and sometimes directly. Google treats nofollow as a hint rather than a rule, so it may count some nofollowed links. More reliably, nofollow links bring referral visitors and visibility, and those people can go on to link to you editorially. Do not build a strategy around them, but do not dismiss a good one either.
Is there a dofollow attribute?
No. There is no rel="dofollow" value that search engines recognise. “Dofollow” is shorthand for a normal link with no nofollow, sponsored or ugc value. If you want a link to be followed, you do not need to add anything. Just leave out the qualifying rel values.
Should affiliate links be nofollow or sponsored?
Affiliate links are paid links, because you earn money when people use them, and Google’s guidance says paid links should be marked with rel="sponsored". Nofollow is still accepted for these links, but sponsored is the preferred value because it tells Google more precisely why the link exists. You can also use both together, for example rel="sponsored nofollow".
What ratio of nofollow to dofollow links is natural?
There is no ratio published by Google, and any number you see quoted is an industry estimate rather than a rule. A natural profile simply reflects how people link to you: some followed editorial links, some nofollowed mentions in news, forums and social posts. Focus on relevance and quality, not on hitting a percentage.
Want a second opinion on your link profile?
Getting the attributes right on your own site takes an afternoon; knowing which links are worth earning takes longer. If you want help reviewing your backlinks or planning link building that suits your business, have a look at my link building services.




