AhrefsBot
AhrefsBot is run by Ahrefs. It is one of the SEO tools. It builds the data behind Ahrefs, an SEO tool, and Yep, Ahrefs’ search engine.
- Operator
- Ahrefs
- User agent
Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)Source- robots.txt token
AhrefsBot- Follows robots.txt
- Ahrefs says AhrefsBot follows robots.txt. “Both bots strictly respect robots.txt on both disallow and allow rules, as well as crawl-delay directives.” Source
What AhrefsBot does
- It builds the data behind Ahrefs, an SEO tool, and Yep, Ahrefs’ search engine. Source
- Ahrefs says Crawl-delay can’t be followed while it renders JavaScript, so you may see more requests than your delay allows. Source
Checked against Ahrefs’s documentation on October 30, 2026.
Data licensed CC BY 4.0. Cite as: Botmotive, “AhrefsBot: what Ahrefs’s bot does and whether to block it”, https://botmotive.io/bots/ahrefsbot, checked October 30, 2026.
Should you block AhrefsBot?
Block it if you don’t use Ahrefs. It sends you no visitors, and its crawl only feeds the data Ahrefs’s customers see about your site.
What to weigh:
- Visitors it sends. SEO crawlers collect data for a tool’s users. They don’t send you visitors.
- Real or fake. Ahrefs publishes no way to check a visit is really AhrefsBot, so any bot can use its name.
- robots.txt. Ahrefs says it follows robots.txt, so a robots.txt line is enough to block it.
- Load. Every page it fetches costs your server some time and bandwidth. Botmotive’s report shows how many pages it fetches and what they cost you.
- Something in between. You can keep it out of some folders only, or slow it down with a rate limit. Botmotive’s fixes include a rate limit.
How to check a visit is really AhrefsBot
Anyone can send a user agent that says AhrefsBot. Look up the IP address’s hostname (reverse DNS): it ends in ahrefs.com or ahrefs.net. Or check the IP against Ahrefs’ published ranges. The published list.
Botmotive doesn’t check AhrefsBot visits yet. It labels them by user agent and marks them unverifiable.
How to block AhrefsBot
Add these lines to your robots.txt:
User-agent: AhrefsBot
Disallow: /For the choices behind blocking AI bots, see AI bots, robots.txt and licensing.