Log in
Sign up with Google

SEO tool crawler · Ahrefs

AhrefsBot is Ahrefs’ SEO tool crawler

AhrefsBot is the crawler that powers the database of Ahrefs, an SEO and marketing intelligence platform, and the Yep search engine.

Verifiable operator Respects robots.txt Renders JavaScript

Our take

Your call

It respects robots.txt but mainly benefits Ahrefs users, so allowing it depends on whether you value its data and Yep visibility.

User agent

Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)

Activity

AhrefsBot is crawling more than last month

Requests per site per dayLAST 28 DAYS
Sep 28Oct 7Oct 16Oct 25
What it crawls30 DAYS
  • Content pages 95%
  • Images & assets 3.5%
  • Sitemaps & feeds 1.2%
  • Other 0.1%

01 · Operator

Who operates AhrefsBot

Company
Ahrefs
Official docs
ahrefs.com

02 · Behavior

What AhrefsBot does

AhrefsBot crawls the web automatically to build the Ahrefs database, which also powers the Yep search engine. It obeys robots.txt and Crawl-delay for HTML pages; when rendering JavaScript it may fetch several assets at once. It is not triggered by individual users.

03 · Impact

Why AhrefsBot matters for your site

If you allow it

  • Your backlinks and pages show up correctly in Ahrefs data used by marketers
  • Helps your pages appear in Yep search

If you block it

  • Competitors can use Ahrefs to analyze your site
  • Crawl load with no direct traffic from Ahrefs itself

04 · Allow

How to allow AhrefsBot

robots.txt

User-agent: AhrefsBot
Allow: /

Cloudflare

# Security › WAF › Custom rules › Create rule
Expression: (http.user_agent contains "AhrefsBot")
Action:     Skip › All Super Bot Fight Mode rules

# Also check Security › Bots: "Block AI bots" can block it regardless of robots.txt.

WordPress

# WordPress serves a virtual robots.txt. Edit it with your SEO plugin:
# Yoast: SEO › Tools › File editor · Rank Math: General Settings › Edit robots.txt
User-agent: AhrefsBot
Allow: /

nginx

# nginx serves every user agent by default.
# Make sure no rule like this blocks it:
# if ($http_user_agent ~* "AhrefsBot") { return 403; }

Apache

# Apache serves every user agent by default.
# Make sure .htaccess has no rule like this:
# RewriteCond %{HTTP_USER_AGENT} AhrefsBot [NC]
# RewriteRule .* - [F,L]

05 · Block

How to block AhrefsBot

AhrefsBot follows robots.txt, so one rule is enough. Use a server or CDN rule only to stop spoofed copies.

robots.txt

User-agent: AhrefsBot
Disallow: /

Cloudflare

# Security › WAF › Custom rules › Create rule
Expression: (http.user_agent contains "AhrefsBot")
Action:     Block

WordPress

# WordPress serves a virtual robots.txt. Edit it with your SEO plugin:
# Yoast: SEO › Tools › File editor · Rank Math: General Settings › Edit robots.txt
User-agent: AhrefsBot
Disallow: /

nginx

# In your server { } block:
if ($http_user_agent ~* "AhrefsBot") {
    return 403;
}

Apache

# .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} AhrefsBot [NC]
RewriteRule .* - [F,L]
</IfModule>

06 · User agents

User agents we see for AhrefsBot

User agentShareLast activeStatus
Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/) 56% Yesterday Unverified
Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/) 44% Yesterday Verified

07 · Verification

Is it really AhrefsBot?

Anyone can copy a user agent. Real AhrefsBot requests come from the IP ranges published at api.ahrefs.com/v3/public/crawler-ip-ranges. A reverse DNS lookup of a real request resolves to ahrefs.com</code>, <code>ahrefs.net, and that hostname resolves back to the same IP.

IP addresses we saw from verified AhrefsBot requests

IP rangeShareLast active
202.8.40.0/22 12% Yesterday
176.31.139.0/27 3.2% 9 days ago
37.59.204.128/27 2.9% 9 days ago
5.39.1.224/27 2.9% 9 days ago
94.23.188.192/27 2.8% 9 days ago
51.75.236.128/27 2.8% 9 days ago
5.39.109.160/27 2.8% 9 days ago
54.37.118.64/27 2.7% 9 days ago
51.68.247.192/27 2.6% 9 days ago
92.222.108.96/27 2.6% 9 days ago

Top 10 of 40 ranges. Always check against the operator’s current list; ranges change.

FAQ

Questions about AhrefsBot

Does blocking AhrefsBot affect Google rankings?

No. AhrefsBot only feeds Ahrefs and Yep; Google uses its own crawler, Googlebot.

Does AhrefsBot obey Crawl-delay?

Yes, for HTML pages. Ahrefs notes crawl-delay cannot be followed when rendering JavaScript, so asset requests may arrive more often.

How do I verify AhrefsBot?

Check that reverse DNS ends in ahrefs.com or ahrefs.net, or match the IP against the ranges at api.ahrefs.com/v3/public/crawler-ip-ranges.

Last updated Oct 25, 2026

Your site

See which pages AhrefsBot crawls on your website

Log Hero reads your server logs and shows every AI bot, every page, every day.

Sign up with Google

Free during early access