# Context: Audit identified links from known link farms and irrelevant sites
# Full domains (preferred for site-wide spam)
domain:spamsite-example.com
domain:linkfarm-network.net
# Individual page URLs (use when only one page from a domain is problematic)
https://www.example.com/spam-page-with-link-to-your-site
Use domain: prefix for domain-level disavows when the entire site is spam. This is more efficient than listing individual pages.
Use full URLs only when a single page from an otherwise legitimate domain contains a problematic link.
What to Include vs. Exclude
Include: Links you have documented evidence are harmful, manipulative, or from penalized sources
Do not include:
- Low-authority links that look natural but simply have low DA (not inherently spam)
- Nofollow links: these already pass no ranking credit
- Links from legitimate sites in your industry, even if you did not solicit them
- Competitor links you just do not like
Over-disavowing (including legitimate links) can hurt your rankings by removing link equity you should keep.
Step 5: Submit the Disavow File to Google
Once your disavow file is ready:
- Go to the Google Search Console Disavow Tool
- Select your property
- Click “Upload disavow list”
- Select your .txt file and confirm
Google typically processes disavow files within a few weeks. The links you disavow will not be removed from your backlink profile in third-party tools like Ahrefs: they will still appear in reports, but Google will ignore them when evaluating your site.
Keep a backup: Save your disavow file locally and update it over time as you identify new spam links rather than starting from scratch.
After Disavowing: What to Expect
Timeline: Google processes disavow files during its normal crawl cycle. Expect 2 to 6 weeks before any ranking impact becomes visible.
For algorithmic penalties: If you were experiencing Penguin-related ranking suppression, rankings may improve gradually over the next several weeks to months as Google recrawls and reassesses your backlink profile.
For manual actions: Disavowing is a prerequisite for manual action recovery, but not sufficient by itself. You must also:
- Fix the underlying issue (stop any link scheme participation)
- Submit a reconsideration request to Google through Search Console explaining what you found and what you did to fix it
Monitoring: Continue monitoring your backlink profile monthly. New spam links may appear, especially if your site has been a target of negative SEO attacks.
How to Prevent Spam Links
The best defense is ongoing monitoring and quick action:
Set up backlink alerts: Use Ahrefs Alerts or Google Search Console notifications to be alerted when new referring domains appear pointing to your site. Review new links promptly.
Monitor brand mentions: New links often accompany brand mentions. Tools like Google Alerts and Ahrefs Alerts track when your domain is mentioned online.
Disavow proactively: Do not wait for a penalty before disavowing. If you identify clearly spam links during a routine audit, disavow them before they accumulate.
Build a strong clean link profile: A strong base of high-quality legitimate backlinks makes your site more resilient to spam attacks. Google’s SpamBrain is better at ignoring isolated spam links when they represent a small percentage of an otherwise clean profile.
Frequently Asked Questions
How do I know if spam links are hurting my rankings?
Can disavowing links improve my rankings?
How long does it take to recover from a spam link penalty?
Should I disavow all low-authority backlinks?
Is the Disavow Tool still relevant in 2026?
Conclusion
Detecting and disavowing spam links is a defensive SEO practice: it protects your rankings from the damage caused by low-quality inbound links, whether accumulated through past black hat practices or deliberate negative SEO attacks.
Start with a thorough backlink audit using Ahrefs or SEMrush. Identify high-risk links using Moz Spam Score, relevance checks, and manual review. Attempt manual removal, then disavow what remains. Monitor your profile monthly and repeat the process when new spam links appear.
Used correctly, the Disavow Tool is a powerful tool. Used carelessly (disavowing legitimate links), it can reduce the very link equity you have worked to build.
Related reading: How to Disavow Links: Beginners Guide | What Is Black Hat SEO | What Is a Backlink | Best Link Building Strategies