OAI-SearchBot is the OpenAI crawler that decides whether your business can appear in ChatGPT search answers. Of all the robots.txt rules a business can write, this is the one that carries the most weight for being recommended in live answers, and it is the one most often missing from copied templates, because templates written for training name GPTBot instead.
If you do one thing in your robots.txt file for AI visibility, do this one. Allow OAI-SearchBot, confirm the rule is live, and make sure nothing in front of your site blocks it after the file says yes.
What OAI-SearchBot does
OpenAI describes OAI-SearchBot plainly: it is for search, and it is used to surface websites in search results in ChatGPT search features. Sites that are opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though they can still appear as navigational links. To help ensure a site appears in search results, OpenAI recommends allowing OAI-SearchBot in robots.txt and allowing requests from its published IP ranges.
That description contains the whole stakes. Opt out, and ChatGPT search answers skip your site. The only trace left is a plain navigational link, a name without a recommendation, without a summary, and without the context that makes a person click. Opt in, and your pages become eligible to be surfaced, summarised, and linked when someone asks a question your business can answer.
Eligible is the right word. Allowing the crawler does not guarantee a citation, a recommendation, or a particular answer. It makes your pages available to the system that builds those answers. The pages themselves, and how clearly they describe what you sell, decide what happens next.
How it differs from GPTBot and ChatGPT-User
OpenAI runs three user agents that people constantly confuse, and each one answers a different question.
OAI-SearchBot builds the index that ChatGPT search shows websites from. It is the search crawler, and robots.txt is its switch.
GPTBot crawls content that may be used to train OpenAI generative AI models. Disallowing it signals that your content should not be used for that training. It has nothing to do with live search answers.
ChatGPT-User fetches a page because a person asked ChatGPT a question about it. It is not used for automatic crawling. Because the action was started by a person, robots.txt rules may not apply to it. It is also not used to determine whether content may appear in Search. OpenAI says to use OAI-SearchBot in robots.txt for managing search opt outs and automatic crawl.
OpenAI states that each setting is independent of the others, and gives the split as its own example: a site owner can allow OAI-SearchBot in order to appear in search results while disallowing GPTBot to indicate that crawled content should not be used for training. If your site has allowed both bots, OpenAI may use the results from just one crawl for both use cases, to avoid duplicative crawling.
The practical meaning is simple. A file that allows GPTBot and says nothing about OAI-SearchBot has made a training decision and no search decision. A file that allows OAI-SearchBot and disallows GPTBot has made both decisions, and made them differently, which is exactly what most businesses want.
Write the rule
Your robots.txt file sits at the root of your site. Open it at an address like the one below, with your own domain in place of the example.
https://yourdomain.com/robots.txt
If nothing loads there, you have no file yet. Build one at the root first, because a search rule has nowhere to sit without it.
To allow OAI-SearchBot across the whole site, add this group:
User-agent: OAI-SearchBot
Allow: /
That is the complete rule for a full allow. Two lines, one group.
To stay in search while keeping training out, write the split:
User-agent: OAI-SearchBot
Allow: /
User-agent: GPTBot
Disallow: /
Each crawler reads only the group that names it. A rule written for OAI-SearchBot does nothing to GPTBot, and a rule written for GPTBot does nothing to OAI-SearchBot. That is why the split works, and why a single line can never cover both.
A named group also changes how the broad group is read. Once OAI-SearchBot has a group of its own, it ignores the broad User-agent: * group entirely. So if your broad group blocks your checkout and account pages, repeat those limits inside the OAI-SearchBot group, or the search crawler will be allowed into paths you meant to close. A complete group for a shop that keeps checkout closed looks like this:
User-agent: OAI-SearchBot
Allow: /
Disallow: /checkout/
Disallow: /account/
Put the group near the top of the file, ahead of any broad block rules, so the policy reads clearly to the next person who edits it.
A plant shop that was missing from answers
Picture a plant shop in Seattle. The owner sells indoor plants and pots online, and she notices that ChatGPT recommends a competitor every time someone asks for a good starter plant. Her prices are lower, her reviews are better, and her site is newer. She cannot work out why she never appears.
She opens her robots.txt file and finds the answer in two lines. The file allows GPTBot, which she added from a template, and says nothing about OAI-SearchBot. Her training decision was stated. Her search decision was never made. ChatGPT search had no permission to surface her pages, so it surfaced the competitor instead, a shop whose file named the search crawler.
She adds the OAI-SearchBot group, keeps the GPTBot group as it is, and fetches the file again to confirm it serves. The fix took minutes. The months of invisibility came from a template that named the wrong token, and from nobody checking which token the file actually contained.
Check that the rule is live
Saving the file is the start, not the finish. Confirm it in three steps.
First, fetch your robots.txt address in a browser and look for the OAI-SearchBot group. If it is not there, the file you edited is not the file the site serves. On shops where the platform generates robots.txt from a template, this is a common surprise, and no crawler will see a rule that the served file does not contain.
Second, watch your server logs for OAI-SearchBot visits. OpenAI publishes the full user agent string, which ends with the token and a version number, like OAI-SearchBot/1.4, plus a link to the OpenAI bot page. OpenAI notes that the version number may change, so match on the token OAI-SearchBot, not on the full string. When OpenAI fetches the robots.txt file itself, it may add a robots.txt marker to the string, so a variant string on that one fetch is expected, not a sign of trouble.
Third, check the IP behind any hit that matters. OpenAI publishes the IP ranges OAI-SearchBot uses, in a JSON file, and a genuine visit comes from an address inside those ranges. User agent strings are easy to fake, so a token without a matching IP is a claim, not proof.
OpenAI states that it can take about 24 hours from a robots.txt update for its search systems to adjust. Do not judge a change an hour after saving it. Fetch the file to confirm the rule, then watch the logs over the following days.
If a week passes with the file saying allow and no visits appear, something upstream is probably still blocking. A firewall or bot filter in front of your site can challenge or block OAI-SearchBot even when robots.txt says yes, and OpenAI itself recommends allowing requests from its published IP ranges as well as the robots.txt rule. Check the firewall logs, not just the server logs, because a request stopped at the edge never reaches your server.
What allowing OAI-SearchBot does not do
Allowing OAI-SearchBot will not make ChatGPT recommend your business. It will not lift your ranking anywhere. It will not make a crawl happen sooner, and it will not describe your products to the model. It will not keep your prices current in answers, because a search crawl is not a live price feed.
It also will not control ChatGPT-User. That fetcher visits because a person asked a question, and OpenAI says robots.txt rules may not apply to it. The search opt out belongs on OAI-SearchBot, in OpenAI words, not on the user fetcher.
If you want ChatGPT to understand what you sell, the work is in the pages themselves and in the short briefing file that summarises your business for models. Permission gets the search crawler through the door. It does not tell it what it is looking at, and it does not make it cite you.
Frequently Asked Questions
Does allowing GPTBot put my business in ChatGPT search answers?
No. GPTBot collects content that may be used to train models. Live ChatGPT search answers run on OAI-SearchBot, which OpenAI controls separately from GPTBot. Allow OAI-SearchBot for search, and decide GPTBot on training alone.
I allowed OAI-SearchBot. Why does ChatGPT still skip my business?
Check three things. First, confirm the served robots.txt file actually contains the group. Second, check your firewall, because a bot rule in front of the site can block OAI-SearchBot before it reads the file. Third, remember that allow is eligibility, not a guarantee: the pages themselves still have to answer the question clearly.
What happens if I block OAI-SearchBot?
Your site will not be shown in ChatGPT search answers, though it can still appear as a navigational link. That is the whole cost of the block, and it is a steep one for a business that wants to be recommended.
How soon does a change take effect?
OpenAI states it can take about 24 hours from a robots.txt update for its search systems to adjust. Fetch the file again to confirm the group appears, then watch your logs.
Verified Sources & Technical Documentation
- OpenAI bots documentation Specific https://platform.openai.com/docs/bots
- RFC 9309, Robots Exclusion Protocol General Docs https://www.rfc-editor.org/rfc/rfc9309.html
links marked specific point to the page that supports the claim in this guide. Links marked general docs point to the vendor's general docs section for that topic, not to a page that proves every step. Check the vendor docs for the current path before relying on a menu name or click path in this guide.