---
title: "DuckDuckBot User Agent: What It Does & How to Block It"
description: "DuckDuckBot is DuckDuckGo's bot that crawls web pages for a search engine index. See its user agent, robots.txt rules and SEO impact."
url: "https://justinha.info.vn/bots/search-engines/duckduckbot/"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justinha.info.vn/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

[Search Engine Crawlers](https://justinha.info.vn/bots/search-engines/)

# DuckDuckBot *user agent*

Operated by [DuckDuckGo](https://justinha.info.vn/bots/company/duckduckgo/)

Search indexOfficial docs Allow

DuckDuckBot is DuckDuckGo's web crawler that improves DuckDuckGo search results.

## What identifies DuckDuckBot?

- DuckDuckBot is operated by **DuckDuckGo** and crawls web pages for a search engine index.
- The robots.txt token for DuckDuckBot is **DuckDuckBot**.
- A crawl block prevents future fetching when the engine honors it; it does not guarantee immediate removal of indexed URLs.
- DuckDuckBot robots.txt support: **Yes**.
- Recommendation for Generative Engine Optimization (GEO): **Allow**.

## What is DuckDuckBot?

DuckDuckBot crawls pages for DuckDuckGo search. DuckDuckGo also draws on partner indexes, so its results do not rely on DuckDuckBot alone.

DuckDuckGo publishes the IP addresses DuckDuckBot uses.

## Should you block DuckDuckBot?

Consider allowing DuckDuckBot when you use the associated service; verify identity, access requirements and server load first.

| Effect on search rankings | A crawl block prevents future fetching when the engine honors it; it does not guarantee immediate removal of indexed URLs. |
| --- | --- |
| Effect on AI visibility | Search-backed AI features depend on their own eligibility and controls. For Google, Search Console generative AI settings and Google-Extended have separate scopes. |
| Follows robots.txt | Yes |
| Recommendation | Allow |

## How to decide whether to allow DuckDuckBot

Start with the operator documentation linked in this profile. [Check the source](https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot).

- **Search index:** If this search engine sends useful traffic, check that canonical pages are reachable. Use the engine’s supported removal controls if the objective is to remove an indexed URL.
- **Access policy:** Check the paths and hosts covered by the published or reported policy. A robots.txt rule is not an access control.
- **What to check in logs:** Look for ` DuckDuckBot `, then compare the paths, response codes and request volume before and after your change. Match the log entry against the operator’s verification method below before granting exceptions.

## How do you block or allow DuckDuckBot?

Put the robots.txt rule in the file at the root of every domain and subdomain, for example ` https://example.com/robots.txt `. The token **DuckDuckBot** is matched case-insensitively.

robots.txt: block

```
# Block DuckDuckBot
User-agent: DuckDuckBot
Disallow: /
```

robots.txt: allow

```
# Allow DuckDuckBot
User-agent: DuckDuckBot
Allow: /
```

robots.txt: partial

```
# Keep DuckDuckBot out of private areas only
User-agent: DuckDuckBot
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /
```

Nginx

```
# Nginx: return 403 to DuckDuckBot
if ($http_user_agent ~* "(DuckDuckBot)") {
    return 403;
}
```

Apache

```
# Apache .htaccess: return 403 to DuckDuckBot
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (DuckDuckBot) [NC]
RewriteRule .* - [F,L]
```

Cloudflare WAF

```
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "DuckDuckBot")
```

## How can you verify DuckDuckBot traffic?

DuckDuckGo publishes the IP ranges that DuckDuckBot uses. A request outside the current published list does not pass that IP check. Investigate before granting an exception.

[Official DuckDuckBot IP ranges](https://duckduckgo.com/duckduckbot.json)

## How do you find DuckDuckBot in server logs?

Search the web server access log for the literal identifier. The command below counts candidate DuckDuckBot requests per URL on Nginx or Apache.

```
grep -iF -- 'DuckDuckBot' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20
```

For a full report per AI bot, upload the log to the [AI Log File Analyzer](https://justinha.info.vn/ai-log-file-analyzer-tool/), a free tool by Justin Hà.

## What user-agent string does DuckDuckBot use?

A user-agent sample recorded in the cited source for DuckDuckBot. Version numbers such as ` Chrome/W.X.Y.Z ` change over time, so match the token, not the whole string.

```
DuckDuckBot/1.1; (+http://duckduckgo.com/duckduckbot.html)
```

## DuckDuckBot FAQ

What is the DuckDuckBot user agent?

DuckDuckBot identifies itself with the robots.txt token "DuckDuckBot". A typical request header reads: DuckDuckBot/1.1; (+http://duckduckgo.com/duckduckbot.html)

Does DuckDuckBot respect robots.txt?

DuckDuckGo states that DuckDuckBot follows robots.txt rules. Check the documented scope and any exceptions on this profile.

Will blocking DuckDuckBot hurt my SEO?

A crawl block prevents future fetching when the engine honors it; it does not guarantee immediate removal of indexed URLs. Search-backed AI features depend on their own eligibility and controls. For Google, Search Console generative AI settings and Google-Extended have separate scopes.

How do I block DuckDuckBot in robots.txt?

Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: DuckDuckBot" followed by "Disallow: /". The token is case-insensitive. Operator fetch schedules and caching policy determine when a change is applied; check subsequent requests.

How can I verify a request really comes from DuckDuckBot?

Yes. DuckDuckGo publishes the IP ranges DuckDuckBot uses. Check the request IP against that list; a source outside the current list does not pass that check. Investigate before granting an exception.

How do I see if DuckDuckBot visits my website?

Search your server access log for "DuckDuckBot", for example with: grep -i "DuckDuckBot" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.

Sources: [DuckDuckGo crawler documentation](https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot). Content updated November 12, 2026 by [Justin Hà](https://justinha.info.vn/about/).

## Related bots

[DuckAssistBot DuckDuckGo AI assistant](https://justinha.info.vn/bots/ai-assistants/duckassistbot/)   [360Spider Qihoo 360 Search index](https://justinha.info.vn/bots/search-engines/360spider/)   [Applebot Apple AI trainingAI searchSearch index](https://justinha.info.vn/bots/search-engines/applebot/)   [Baiduspider Baidu Search index](https://justinha.info.vn/bots/search-engines/baiduspider/)   [Baiduspider-favo Baidu Search index](https://justinha.info.vn/bots/search-engines/baiduspider-favo/)   [Baiduspider-image Baidu Search index](https://justinha.info.vn/bots/search-engines/baiduspider-image/)

## See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

[Analyze your AI bot traffic free](https://justinha.info.vn/ai-log-file-analyzer-tool/) [See the GEO Technical Package](https://justinha.info.vn/geo-ai-branding/technical-package/)
