Dofollow vs Nofollow Links: What They Are and Which Ones Matter

A dofollow link is an ordinary link that search engines can follow and count as a signal for the page it points to. A nofollow link carries a small instruction in its code asking search engines not to treat it as an endorsement. Understanding the difference between dofollow vs nofollow links helps you judge which backlinks are worth earning, how to mark the links on your own site, and how to stay clear of what Google calls unnatural links.
What is a dofollow link?
There is no “dofollow” tag. Any standard link without a restricting attribute is followed by default:
<a href="https://example.com/">Example</a>
When a relevant, trusted site links to you this way, it passes authority and helps your pages rank. These are the links SEO campaigns try to earn.
What is a nofollow link?
A nofollow link adds a rel attribute:
<a href="https://example.com/" rel="nofollow">Example</a>
It was introduced to deal with comment spam. Most social networks, forums, comment sections and many directories add it automatically to links users post.
The two newer attributes: sponsored and ugc
rel="sponsored"marks paid links, adverts and affiliate links.rel="ugc"marks links inside user-generated content such as comments and forum posts.
Google treats all three attributes as hints about how to handle a link. They can be combined, for example rel="nofollow sponsored".
How to check whether a link is dofollow or nofollow
- Right-click the link and choose Inspect.
- Look at the highlighted
<a>tag. - If you see
rel="nofollow",sponsoredorugc, the link is not a standard followed link. If there is no such attribute, it is followed.
Backlink tools such as Ahrefs or Google Search Console’s Links report show the same information for links pointing to your site.
Do nofollow links have any value?
Yes. A nofollow link from a well-read site can still send visitors, put your name in front of journalists and site owners who may link properly later, and make your link profile look natural. A profile made up only of followed links from obscure sites looks manufactured. Aim for links that real people will click; the attribute matters less than the audience.
When to use each attribute on your own site
- Followed (no attribute): editorial links to sources you trust and would recommend.
- Sponsored: paid placements, affiliate links, links given in exchange for products or services.
- UGC: comments, reviews and forum posts written by visitors.
- Nofollow: links you do not want to vouch for and that fit neither category above.
Do not nofollow links to your own pages to steer authority around the site; clear internal linking works better.
What makes a link unnatural
Google’s spam policies treat links intended to manipulate rankings as link spam. Common examples:
- buying or selling followed links;
- excessive link exchanges;
- large-scale guest posting or directory and bookmarking submissions with keyword-rich anchor text;
- automated link building;
- links hidden in widgets or footers across many sites.
Sites that rely on these risk having the links ignored or, in serious cases, a manual action. If you have inherited links like this, stop building them, ask for removal where you can, and use the disavow tool only when there is a clear problem.
How to earn links worth having
- Publish original data, guides or tools that others want to cite.
- Get listed with real local organisations: chambers of commerce, trade associations, suppliers and partners.
- Contribute expert comment to journalists and industry publications.
- Fix broken links pointing to your old pages with redirects.
Next step
If you are unsure what your current backlinks look like, a free growth audit includes a review of them. Related reading: our backlink guide, keyword research in SEO and SEO services in Toronto. Google’s own explanation is in its guide to qualifying outbound links.
More on this topic: How to Keep Your Website Ranking Number 1 on Google and Google AdSense Approval Checklist.
Frequently asked questions
What is a dofollow link?
It is a normal link with no restricting rel attribute. Search engines can follow it and count it as a signal for the page it points to.
Are nofollow links bad for SEO?
No. They are a normal part of any link profile and can bring visitors and visibility. Google treats nofollow as a hint, not a strict rule.
Should affiliate links be nofollow?
Affiliate and paid links should be marked with rel sponsored. Nofollow is also accepted.
How many dofollow links do I need to rank?
There is no fixed number. A few links from relevant, trusted sites are worth more than many from low-quality ones, and competition for the keyword decides how many are needed.
About the author
Sakshi Gupta is the Digital Marketing Manager at DigitalNeurals. She works on SEO, content and paid media strategy, and writes practical guides to help businesses choose and run their digital marketing.
