/ Backlinks Fixes / Disavow File

How to Build and Submit a Disavow File

The Disavow Tool lets you tell Google "ignore these specific backlinks" — useful for toxic backlinks you can't get removed. Wrong syntax breaks the file silently. Wrong scope (disavowing healthy links) hurts you. This guide covers the correct syntax, scope decision, and submission process.

1. File format

Plain UTF-8 text file, max 100,000 lines, max 2MB.
One directive per line. Comments with #.

Example:
  # Disavow file for example.com - April 2026
  # Last updated: 2026-04-15
  
  # Spam network discovered Q1 2026
  domain:spammy-network.com
  domain:link-farm.net
  
  # Individual toxic pages
  http://otherwise-ok-site.com/spam-link-page
  https://random-blog.com/post-with-bad-link

  # PBN cluster
  domain:pbn-site-1.org
  domain:pbn-site-2.org
  domain:pbn-site-3.org

2. Domain vs URL scope

Use domain: when:
  - Entire site is spam (PBN, link farm, low-quality directory)
  - All links from the domain are toxic
  - You want to ignore future links from that domain too

Use URL when:
  - Otherwise-legitimate site has ONE bad page linking to you
  - You don't want to disavow other links from the domain
  - Comment-spam scenarios (one comment thread on otherwise-ok site)

When in doubt:
  - Spammy patterns: domain:
  - Single bad page on real site: URL
  - Most real-world cases: domain: (PBN clusters)

3. Common syntax mistakes

4. Submission

1. Google Search Console → no direct link, go to:
   https://search.google.com/search-console/disavow-links-tool/

2. Select the property
3. Click "Disavow links" (replaces any existing file)
4. Upload disavow.txt
5. Confirm

The new file fully REPLACES any previous disavow.
Don't upload partial files — include EVERYTHING you want disavowed.

5. Processing and effect

Timeline:
  - Upload: immediate
  - Google processes: 2-6 weeks
  - Effect: Google treats disavowed links as nofollow
  - Algorithmic recovery: 4-12 additional weeks

Effect on rankings:
  - Removes toxic signal (good)
  - Doesn't restore prior rankings automatically
  - Best paired with other quality work (content, real backlinks)

6. When NOT to use disavow

7. Maintain over time

Quarterly review:
  - Re-audit backlink profile
  - Add new toxic patterns found
  - Verify removed disavowed entries don't reappear
  - Update the dated comment line

Keep historical versions in case you need to revert.
💡 Disavow is the nuclear option. Most sites don't need it. If you do, build the file carefully, audit honestly, prefer domain-level for true spam networks, prefer URL-level for isolated cases on legitimate sites. Update quarterly.

7. The question this page should ask first: do you need one at all?

Almost every disavow guide teaches the syntax and skips the decision. The decision is the hard part, and for most sites the correct answer is no file at all.

Google's own guidance describes the tool as an advanced feature that most sites should not use. The reason is mechanical: Google's link spam systems already ignore links they distrust, and they do it without being asked. So the ordinary fate of a spammy link pointing at your site is not a penalty. It is nothing. The link simply does not count.

What a bad link usually does to you:
  - Nothing. It is ignored.

What people assume it does:
  - Applies a penalty to the site
  - Which they then try to "lift" with a disavow file

What a disavow file does in that scenario:
  - Asks Google to ignore links it already ignores
  - Changes nothing
  - While risking the links that were working

Which reframes the whole exercise. A disavow file is not a hygiene measure and it is not preventative maintenance. It is a specific remedy for a specific, rare situation — and used outside that situation it is a way of doing harm while feeling productive.

8. The two cases where it is the right tool

A manual action naming links. This is what the tool exists for. A human reviewer at Google has acted on your site, and Search Console tells you so, with an explanation. It is rare, it is unambiguous, and if you have not received one you do not have one — there is no such thing as a secret manual action.

Links you know you bought. If you or a previous agency paid for placements, ran a private blog network, or traded links at scale, you know which ones they are because there is a record. Disavowing those is defensible on the plain grounds that you know how they got there.

What does not qualify, and is the source of most misuse:

9. The asymmetry that should make you cautious

Weigh the two outcomes honestly, because they are not symmetric and the imbalance decides the question.

If you disavow a link Google already ignores:
  - Upside: zero. It was already discounted.

If you disavow a link that was helping you:
  - Downside: real, and you will not see it coming
  - Recovery: slow and uncertain — removing the entry
    does not promptly restore what the link was doing

Now add the mechanics of the tool. A domain: entry discards every link from that domain — including ones you never looked at, and including any it might send you in future. Teams working from a tool's toxicity list routinely disavow whole domains that were sending genuine referral traffic and genuine signals, and then find rankings have quietly softened with no obvious cause.

💡 Treat every line in the file as irreversible. Not because you cannot re-upload — you can, and the new file replaces the old — but because the effect of reversing it is neither prompt nor guaranteed. A line you are unsure about is a line that should not be in the file.

10. If you do build one, build it narrowly

The syntax rules above are correct and they are the easy part. The discipline that matters is scope.

  1. Start from evidence, not from a score. Which links do you know were placed rather than earned? That list is usually short, and it is the whole file.
  2. Look at every domain before you add it. Open it. If it is an obvious link farm, a domain: entry is right. If it is a real site with one bad page, use the URL form and leave the rest of the domain alone.
  3. Comment every entry with why and when. The file is a document you will read in two years, when the person who built it has gone and nobody remembers what the reasoning was. Undocumented lines are lines nobody will ever dare remove.
  4. Do not add "just in case" lines. There is no such thing as a free disavow. Every line is a decision to discard a signal permanently.

And keep a copy outside the tool, because a new upload replaces the previous file completely. Losing the file means losing the record of every judgement in it — which, given how hard those judgements are to reconstruct, is the one genuinely irreversible mistake available here.

11. The habit that removes the question entirely

Every disavow decision is a decision about links you did not want. There is a version of this problem where the question never arises, and it is worth naming, because most teams reading a disavow guide are there because of something they did.

Sites that need disavow files at scale are almost always sites that bought links. The pattern is consistent: an agency engagement, a period of aggressive placement, a change of strategy, and then an inherited profile that somebody is now trying to clean up. The file is an attempt to undo a purchase.

The uncomfortable arithmetic is that it usually cannot be undone in the way people hope. Google’s systems largely ignored the links already, so the money is gone and the disavow file recovers none of it — while every line risks discarding something that was working. The cleanup is not a refund.

Which points at the only durable answer: do not build a link profile you will later need to disown. Links that arrive because somebody found a page worth citing never need auditing, never need scoring, and never end up in a text file. That is not a moral position; it is the observation that the cheapest disavow file is the one you never have to write.

12. What to do instead of disavowing

If you have arrived here worried about your backlink profile and you do not have a manual action, the useful list is short and none of it involves the disavow tool.

1. Check Search Console for a manual action
   - No manual action = nothing has been applied to you
   - This takes thirty seconds and settles the question

2. Check whether anything actually happened
   - Did rankings move? Did traffic move?
   - A scary chart in a backlink tool with no movement
     in the results is a scary chart in a backlink tool

3. Stop the source
   - If links are being bought, stop buying them
   - This is the only step that changes the future

4. Build the pages worth linking to
   - The slow answer, and the only one that compounds

Then leave the profile alone. It is genuinely difficult to accept that the correct action is no action, particularly when a tool is showing a red score and a number that looks like a problem. But the score is a vendor’s opinion, Google has already made its own judgement, and the file you were about to upload would have told it something it never asked to know.

13. Frequently asked questions

How often should I update disavow?

Quarterly review. Add new toxic patterns. Avoid removing entries unless certain the source is no longer toxic. Updates need re-submission to take effect.

Can I disavow nofollow links?

You can but it has no effect — nofollow became a hint rather than a directive in 2019, so Google may or may not use those links at its discretion, but either way, disavowing them changes nothing you can observe. Save disavow for follow links that pass toxic signal.

What if I make a mistake?

Upload a corrected version. New uploads completely replace previous. Keep backups in case of mistakes.

Should small sites use disavow?

Usually not. Small sites rarely accumulate enough toxic links to need disavow. Focus on building positive signals first.

Do most sites actually need a disavow file?

No, and this is the most important thing on the page. Google's own guidance is that the tool is for advanced cases, and that most sites should not use it — because Google's link spam systems already ignore links they distrust, without being asked. The overwhelmingly common outcome of a bad link is not a punishment applied to your site; it is that the link does nothing. Disavowing on suspicion therefore buys you very little and risks something real: telling Google to ignore links that were quietly helping you.

When is a disavow file clearly the right tool?

When you have a manual action naming specific links, which is rare and is reported to you in Search Console with an explanation — that is the case the tool was built for. The other defensible case is links you know were paid for or placed as part of a scheme, because you have a record of it. What does not qualify is a toxicity score from a third-party tool: those scores are vendor heuristics, no search engine publishes or endorses them, and acting on one means disavowing links on the basis of a number Google has never seen.

Can a disavow file make things worse?

Yes, and it is the risk nobody plans for. Disavowing is irreversible in practice on any useful timescale: removing an entry does not restore the link's value promptly, and a domain-level entry discards every link from that domain, including ones you never looked at. Teams working from a tool's toxicity list routinely disavow entire domains that were sending genuine referral traffic and genuine signals — and then wonder why rankings softened. The asymmetry is stark: the upside of disavowing a link Google already ignores is zero, and the downside of disavowing a good one is real.

🔗 Audit backlinks

Identify candidates for disavow.

Backlinks Guide →
Related Guides: Backlinks Fixes  ·  Fix Toxic Backlinks  ·  Fix Spam Update  ·  Fix Broken Backlinks
💬 Got a problem?

About aiwebpageseo

aiwebpageseo.com is a data-driven SEO and AEO (Answer Engine Optimisation) platform providing a free suite of technical website tools. Rather than relying on AI-theorised assumptions, the platform analyses live URL performance, delivering objective diagnostics, page speed metrics, CLS debugging, and site crawl data alongside actionable technical tutorials.