What Is a Disavow File?

Definition

A disavow file is a plain text file uploaded to Google Search Console that tells Google to ignore specific backlinks when evaluating your website. It's used to distance your site from spammy or harmful links that could negatively affect search rankings.

When to use a disavow file

Google is generally good at ignoring spammy links on its own. You should only consider disavowing links in specific situations:

  • Manual penalty: Google has issued a manual action for "unnatural links" in Search Console.
  • Negative SEO attack: A competitor has pointed thousands of spammy links at your site intentionally.
  • Past link schemes: You (or a previous SEO provider) participated in paid link schemes and want to clean up.

For most websites with a normal backlink profile, a disavow file is unnecessary. Disavowing the wrong links can actually hurt your rankings.

Test yourself

A competitor's low-DA blog links to your site. Should you disavow it?

🎉

Right! Low-DA links aren't automatically harmful. Google ignores most low-quality links on its own. The disavow tool is for serious problems like spam attacks or manual penalties.

💡

A single low-DA link is harmless. Google is smart enough to ignore it. Disavowing should only happen in serious cases: manual penalties, spam attacks, or cleaning up past link schemes.

Disavow vs. remove vs. ignore

ApproachWhen to useEffort
IgnoreRandom low-quality links that Google handles automaticallyNone
Request removalClearly spammy links where you can contact the webmasterMedium — requires outreach
DisavowManual penalties, negative SEO attacks, or links you can't get removedLow — upload a text file

Most SEOs over-use the disavow tool. For the vast majority of sites, Google's algorithms handle spam links without intervention.

How to create and submit a disavow file

  1. Identify harmful links. Use tools like Ahrefs, Semrush, or Moz to find links from spammy, irrelevant, or penalized domains. Look for patterns: foreign-language spam sites, link farms, or sites with extremely low Domain Authority.
  2. Try to remove them first. Contact the webmasters of spammy sites and ask them to remove the links. Document your removal attempts.
  3. Create the file. A disavow file is a plain text (.txt) file. List one URL or domain per line. Use domain: prefix to disavow all links from a domain.
  4. Upload to Search Console. Go to Google's Disavow Links tool and upload your file for the relevant property.

Disavow file format example

LineWhat it does
# Spam sites found 2026-03Comment (ignored by Google)
domain:spamsite.comDisavows all links from spamsite.com
domain:linkfarm.netDisavows all links from linkfarm.net
https://example.com/spammy-pageDisavows a single specific URL
Test yourself

When should you use Google's disavow tool?

🎉

Exactly! The disavow tool is a last resort, not routine maintenance. Google can usually identify and ignore spam links on its own. Only use it in serious situations.

💡

The disavow tool should only be used in serious situations: manual penalties, negative SEO attacks, or cleaning up past link schemes. Misusing it can hurt your rankings.

Build links you'll never need to disavow

MentionAgent earns editorial mentions on real, relevant blogs. These are the kind of high-quality links Google rewards, not penalizes.

Start Getting Mentioned For $99/mo

Frequently asked questions

Do I need a disavow file?

Probably not. Most websites don't need one. Google is good at ignoring spammy links automatically. You only need a disavow file if you've received a manual penalty, you're under a negative SEO attack, or you're cleaning up past link schemes.

Can disavowing links hurt my rankings?

Yes. If you accidentally disavow good links that are helping your rankings, your site can drop. Only disavow links you're confident are harmful. When in doubt, leave them alone.

How long does it take for a disavow file to work?

It can take weeks to months. Google needs to recrawl and reprocess the disavowed links. There's no instant effect. After uploading, be patient and monitor your rankings over the following months.

Can I undo a disavow?

Yes. Upload a new disavow file that removes previously disavowed domains or URLs. Google will eventually reprocess and start counting those links again. You can also remove the disavow file entirely.

Related terms