AhrefsBot IP ranges
- IPv4 ranges
- 81
- IPv6 ranges
- 0
- Last change
- 06.12.2026
- Last check
- 06.12.2026
Official source
One range per line, IPv4 first, then IPv6.
Add the lines to a server or location block. The last line blocks every other address.
Add the lines to an .htaccess file or a Directory block. Access is allowed only from the addresses in the list.
The rules allow TCP connections to ports 80 and 443 from the addresses in the list, with iptables and ip6tables.
The rules allow TCP connections to ports 80 and 443 from the addresses in the list. IPv6 ranges work when IPV6=yes is set in /etc/default/ufw.
The commands create a separate zone named ahrefsbot, allow TCP connections to ports 80 and 443 in it from the addresses in the list, and reload the configuration.
Add the lines to /etc/csf/csf.allow and restart the firewall with csf -r. The lines allow TCP connections to ports 80 and 443, and IPv6 ranges work when the IPV6 option is enabled in csf.conf.
The rules allow TCP connections to ports 80 and 443 from the addresses in the list. The inet filter table and the input chain must already exist.
5.39.1.224/27
5.39.109.160/27
15.235.27.0/24
15.235.96.0/24
15.235.98.0/24
37.59.204.128/27
51.68.247.192/27
51.75.236.128/27
51.81.103.240/28
51.81.104.32/28
51.81.105.16/28
51.81.110.16/28
51.81.110.48/28
51.81.110.80/28
51.81.111.0/28
51.81.111.64/28
51.81.111.112/28
51.81.111.128/28
51.81.163.16/28
51.81.163.48/28
51.81.163.64/28
51.81.164.144/28
51.81.164.192/28
51.81.165.80/28
51.81.165.208/28
51.81.169.112/28
51.81.169.192/28
51.81.170.0/28
51.89.38.128/28
51.89.39.48/28
51.89.59.32/28
51.89.69.32/28
51.89.69.96/28
51.89.71.80/28
51.89.71.144/28
51.89.72.0/28
51.89.74.192/28
51.89.83.48/28
51.89.129.0/24
51.161.37.0/24
51.161.65.0/24
51.195.183.0/24
51.195.215.0/24
51.195.244.0/24
51.222.95.0/24
51.222.168.0/24
51.222.253.0/26
54.36.148.0/23
54.37.118.64/27
54.38.147.0/24
54.39.0.0/24
54.39.6.0/24
54.39.89.0/24
54.39.136.0/24
54.39.203.0/24
54.39.210.0/24
92.222.104.192/27
92.222.108.96/27
94.23.188.192/27
142.44.220.0/24
142.44.225.0/24
142.44.228.0/24
142.44.233.0/24
148.113.128.0/24
148.113.130.0/24
167.114.139.0/24
168.100.149.0/24
176.31.139.0/27
198.244.168.0/24
198.244.183.0/24
198.244.186.193/32
198.244.186.194/31
198.244.186.196/30
198.244.186.200/31
198.244.186.202/32
198.244.226.0/24
198.244.240.0/24
198.244.242.0/24
202.8.40.0/22
202.94.84.110/31
202.94.84.112/31Why you need the AhrefsBot IP ranges
AhrefsBot is not a search engine crawler. It builds the link database of Ahrefs, an SEO tool used by marketers and SEO professionals. It crawls on a large scale, so many site owners limit its rate, while other bots pretend to be it. The list lets you know whether traffic that claims to be AhrefsBot really belongs to it.
Verifying AhrefsBot and slowing down its crawling
Ahrefs documents verification by reverse DNS, which returns a name ending in ahrefs.com or ahrefs.net, and by the ranges on this page. In robots.txt, it has two names: AhrefsBot for the main crawler and AhrefsSiteAudit for site audits that Ahrefs users run. Both support Crawl-delay, so you can slow them down rather than block them completely:
User-agent: AhrefsBot
Crawl-delay: 10- This list is published by AhrefsBot in an official file, and we check it every week. The service is not affiliated with ErezNet.
- On a Linux VPS, you get full root access and configure the firewall and the web server yourself with these lists.
AhrefsBot IP ranges FAQ
How do I verify that a request really came from AhrefsBot?
Check that the IP address of the request is in the list. An address that identifies itself as AhrefsBot but is not in the list does not belong to it. You can enter an address in the lookup on the IP ranges of well-known services page and see right away which service it belongs to.
Why should I allow AhrefsBot in my firewall?
So the crawler can crawl your site and your site can appear in search results. Automatic rules, such as rate limiting or blocking by country, can block crawlers by mistake, and allowing the addresses in the list prevents this.
How often is the AhrefsBot list updated?
We check the official AhrefsBot file once a week and update the page when something changes. The date of the last check is at the top of the page.