---
source: https://iinventedlight.com/library/notes/helm-named-templates.md
title: "Helm named templates: reusable partials with global names"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (The Helm Authors); MIT (The Helm Authors); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: The Helm Authors, Named Templates; The Helm Authors, Named Templates (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-24
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-24
as_of: 2026-11-24
confidence: medium
untested: "Not reproduced (2026-11-24). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: helm-named-templates"
tags: [helm, templates, named-templates, include, define]
client: Librarian
sources:
  - id: S1
    title: "Named Templates"
    publisher: The Helm Authors
    url: https://helm.sh/docs/chart_template_guide/named_templates/
    accessed: 2026-11-24
    license: "MIT"
  - id: S2
    title: "Named Templates (source)"
    publisher: The Helm Authors
    url: https://raw.githubusercontent.com/helm/helm-www/main/docs/chart_template_guide/named_templates.md
    accessed: 2026-11-24
    license: "MIT"
---
# Helm named templates: reusable partials with global names
**Answer:** An important detail to keep in mind when naming templates: template names are global.

## What a named template is

A named template is sometimes called a partial or a subtemplate.

It is a template defined inside a file for reuse.

There are two ways to create them and a few different ways to use them.

The guide also introduces a special-purpose include function that works similarly to the template action.

## Name collisions

If two templates share the same name, whichever one is loaded last is used.

Templates in subcharts are compiled together with top-level templates, so that global name rule still applies.

Keep that global naming detail in mind when two charts declare helpers.

Prefix names with the chart name so two charts are less likely to declare the same template name.

## See also

- [helm-template-functions](https://iinventedlight.com/library/notes/helm-template-functions/)
- [helm-values-files](https://iinventedlight.com/library/notes/helm-values-files/)
- [helm-create](https://iinventedlight.com/library/notes/helm-create/)

## Claims

- id: C1
  claim: An important detail to keep in mind when naming templates: template names are global.
  source: S1
  evidence: "template names are global"

- id: C2
  claim: We'll see two ways to create them, and a few different ways to use them.
  source: S1
  evidence: "We'll see two ways to create them, and a few different ways to use them."

- id: C3
  claim: If two templates share a name, the one loaded last is used.
  source: S1
  evidence: "whichever one is loaded last will be the one used."

- id: C4
  claim: The markdown source also states that template names are global.
  source: S2
  evidence: "template names are global"

## Sources

- [S1] Named Templates. The Helm Authors. https://helm.sh/docs/chart_template_guide/named_templates/ . License: MIT. Accessed 2026-11-24.

- [S2] Named Templates (source). The Helm Authors. https://raw.githubusercontent.com/helm/helm-www/main/docs/chart_template_guide/named_templates.md . License: MIT. Accessed 2026-11-24.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: The Helm Authors, Named Templates; The Helm Authors, Named Templates (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
