Bingbot robots.txt Rules for Bing Search

Bingbot is Microsoft Bing’s primary search crawler. It follows Bingbot-specific robots.txt groups and supports Crawl-delay. Blocking a path limits crawling but does not reliably remove an already known URL from Bing, so use page-level noindex or Bing removal tools when exclusion from search results is the real goal.

Bing search crawler following an open public-content route while selected site paths are blocked and crawl rate is controlled

Copy-paste robots.txt example

User-agent: Bingbot
Allow: /
Disallow: /account/
Disallow: /internal-search/
Crawl-delay: 2

Sitemap: https://example.com/sitemap.xml

What Bingbot does

Bingbot discovers new and updated pages for Microsoft Bing’s search index. When it requests a host, it checks the /robots.txt file for rules addressed to Bingbot. A specific Bingbot group lets you control Bing crawling without changing the policy for Googlebot, AI training crawlers, or other agents.

Allowing Bingbot does not guarantee that every page will be indexed or ranked. It only permits crawling. Bing still evaluates page quality, duplication, canonical signals, response status, internal links, and other indexing factors.

How to allow or block Bingbot

The safest configuration is usually narrow: keep public content available and exclude only paths that Bing does not need to fetch, such as internal search results, account areas, carts, or duplicate parameter spaces. Put the file at the root of each host, for example https://example.com/robots.txt. A file on the main domain does not automatically govern a separate subdomain.

The example below allows public crawling while excluding two private or low-value sections. Replace the paths with real directories from your site. Because a Bingbot-specific group is used, include every Bingbot rule you intend to apply instead of assuming that a separate User-agent: * group will be merged with it.

Using Crawl-delay carefully

Bing documents support for the non-standard Crawl-delay directive. It can reduce request frequency when Bingbot is placing measurable pressure on a server. Do not add a large delay by default: an excessive value can slow discovery of new or changed pages. Start with server logs and Bing Webmaster Tools, then use a modest value only when the crawl load is a real problem.

If a site needs broader crawl-rate management, Bing Webmaster Tools also provides crawl controls. Robots.txt should remain a clear access policy, not a substitute for fixing slow responses, unstable hosting, or wasteful URL generation.

Crawling is not the same as indexing

A Disallow rule stops compliant crawling of a matching path, but Bing may still know that a URL exists from links or previous crawls. Microsoft’s guidance distinguishes crawl control from indexing control. If a URL must not appear in search, use an accessible page-level noindex directive, an appropriate HTTP header, authentication, or Bing’s URL removal tools depending on the situation.

Do not block a page in robots.txt and expect Bingbot to read a noindex tag inside that blocked page. The crawler must be able to fetch the response before it can see page-level indexing instructions.

Verify and test the result

User-Agent strings can be spoofed. When suspicious traffic claims to be Bingbot, verify the source with Bing’s verification tool or reverse-and-forward DNS checks rather than trusting the header alone. After publishing changes, use the robots.txt checker and Bing Webmaster Tools’ robots.txt tester to confirm that important public URLs remain crawlable.

Common Bingbot mistakes

  • Blocking / when only one directory should be excluded.
  • Using robots.txt to remove indexed URLs instead of using indexing controls.
  • Adding an extreme Crawl-delay without checking server logs.
  • Blocking CSS, JavaScript, or images needed to understand a page.
  • Assuming a robots.txt file covers every subdomain.

FAQ

Does Bingbot obey robots.txt?

Yes. Microsoft states that Bingbot checks and honors robots.txt directives, including Bingbot-specific Allow and Disallow rules.

Does Bingbot support Crawl-delay?

Yes. Bing supports Crawl-delay, but a large value can slow discovery and recrawling. Use it only when crawl load is a measured server problem.

Will Disallow remove a URL from Bing Search?

Not reliably. Disallow controls crawling, not guaranteed removal from the index. Use noindex on an accessible page or Bing’s removal tools when search exclusion is required.

How can I verify that a request is really from Bingbot?

Use Bing’s Verify Bingbot tool or perform reverse DNS followed by a matching forward DNS lookup. Do not trust the User-Agent header by itself.

Does one robots.txt file apply to all subdomains?

No. Robots.txt is scoped to the exact scheme, host, and port where it is served, so each subdomain needs its own file and policy.

Related tools

Related pages