# Custom 404 page (/customize/custom-404-page)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 313 · updated: 2026-07-30 -->
Related: [Custom domain](/customize/custom-domain.md), [Themes](/customize/themes.md), [Fonts](/customize/fonts.md), [Custom scripts](/customize/custom-scripts.md), [React components](/customize/react-components.md), [API playground overview](/api-playground/overview.md)

All 404 pages automatically suggest relevant pages based on the requested URL. If users land on a 404 page, an agent analyzes the path and retrieves semantically related pages from your documentation to help them find what they're looking for.

You can customize the title and description of the 404 error page. Use the description to add helpful links or guidance.

## Configuration [#configuration]

Configure your 404 page in the `errors.404` section of your `docs.json` file:

```json
"errors": {
  "404": {
    "redirect": false,
    "title": "I can't be found",
    "description": "What ever **happened** to this _page_?"
  }
}
```

## Parameters [#parameters]

<ResponseField name="redirect" type="boolean">
  Whether to automatically redirect to the home page when a page is not found.

  Set to `true` to redirect to the home page.

  Set to `false` to show the custom 404 page.
</ResponseField>

<ResponseField name="title" type="string">
  Custom title for the 404 error page. This replaces the default "Page not found" heading.
</ResponseField>

<ResponseField name="description" type="string">
  Custom description for the 404 error page. Supports MDX formatting including links, bold, italic text, and custom components.
</ResponseField>
