Guide

PerplexityBot and Perplexity-User: how to allow or block Perplexity's crawlers

Updated

PerplexityBot is the crawler that finds and links websites in Perplexity's search results; Perplexity says it is not used to crawl content for AI foundation models. To appear in Perplexity, allow PerplexityBot in robots.txt and let its published IP addresses through your firewall. Its second agent, Perplexity-User, fetches pages when a user asks a question and generally ignores robots.txt.

Written by Mattéo Springmann, who makes Lumi GEO, the Chrome extension mentioned at the end. Everything below works without it. Facts checked on November 12, 2026 in Perplexity's crawler documentation and RFC 9309 (sources at the bottom).

Perplexity's two user agents

User agentIts jobrobots.txtPublished IP list
PerplexityBotSurfaces and links websites in Perplexity's search resultsFollows your rules; Perplexity recommends allowing itperplexity.ai/perplexitybot.json
Perplexity-UserVisits a page when a user asks Perplexity a question"Generally ignores robots.txt rules", since a user requested the fetchperplexity.ai/perplexity-user.json

Perplexity says neither agent is used to collect content for training AI foundation models, and that each setting works independently. It may take up to 24 hours for Perplexity's systems to reflect a robots.txt change.

How to allow PerplexityBot

Without any rule that applies to it, PerplexityBot is already allowed. Add a group when something else blocks it, for example Disallow: / under User-agent: *:

User-agent: PerplexityBot
Allow: /

How to block PerplexityBot

User-agent: PerplexityBot
Disallow: /

This keeps the site out of Perplexity's search results. It does not stop Perplexity-User, which generally ignores robots.txt; refusing those visits takes a server or CDN rule on its user agent and IP ranges.

Firewalls and CDNs: the usual hidden block

Perplexity's documentation has a section for sites behind a web application firewall, because a firewall can refuse its robots even when robots.txt allows them. On Cloudflare, it suggests a custom rule with the Skip action that matches each user agent together with its own IP ranges, placed above the rules that block or challenge requests. It also warns that Cloudflare's Bot Fight Mode cannot be skipped with a custom rule and can still challenge Perplexity's bots. For AWS WAF, it suggests one IP set per bot combined with a user-agent match.

The traps that make a PerplexityBot rule fail

Naming a robot cancels the * group for it

This is the most common mistake. When robots.txt has a group for PerplexityBot, PerplexityBot follows that group only. Nothing from the User-agent: * group carries over (RFC 9309, section 2.2.1). So this file opens the private folder to PerplexityBot:

User-agent: *
Disallow: /private/

User-agent: PerplexityBot
Allow: /

If a folder must stay closed, repeat its Disallow line in the PerplexityBot group.

The user agent alone is not proof

Perplexity recommends combining the user-agent check with the published IP ranges, and fetching those lists regularly since they change.

A broken robots.txt blocks everything

A robots.txt that answers with a server error (500 to 599) must be read as "everything is disallowed" (RFC 9309).

How to check that PerplexityBot gets in

  1. Read https://your-domain/robots.txt: find User-agent: PerplexityBot, otherwise User-agent: *.
  2. Fetch a page with its user agent (the version number may change):
curl -s -o /dev/null -w "%{http_code}\n" -A "Mozilla/5.0 (compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)" https://your-domain/

200 is a normal answer; 403, 429, 503 or a challenge page mean something filters this user agent. This request comes from your own connection, so a block on Perplexity's IP addresses will not show.

  1. In your logs, search for PerplexityBot and compare the IP addresses with https://www.perplexity.ai/perplexitybot.json.

How many websites block PerplexityBot?

The share of popular websites that block PerplexityBot, next to OpenAI's and Anthropic's search crawlers, is measured in the Lumi GEO AI Crawler Access Index.

Checking it in one click (the tool I make)

Lumi GEO, the free Chrome extension I make, reads the robots.txt rules for PerplexityBot, Perplexity-User and 12 other AI crawlers on the page you are on, and shows the line that decides. It cannot see firewall rules. Get it on the Chrome Web Store.

Frequently asked questions

Does PerplexityBot respect robots.txt?

Perplexity recommends allowing PerplexityBot in robots.txt to appear in its search results and says each robots.txt setting works independently. Perplexity-User, the agent that fetches pages for user questions, generally ignores robots.txt.

Is PerplexityBot used to train AI models?

Perplexity says PerplexityBot is not used to crawl content for AI foundation models, and that Perplexity-User is not used to collect training content either.

How long does a robots.txt change take for Perplexity?

Perplexity says it may take up to 24 hours for its systems to reflect changes.

Sources (checked on November 12, 2026)