Until 31 December 2026 only: try Themera Pro free for 7 days (first subscription). Cancel before and you pay nothing.Try Pro now →
9 min readby Mathias

Template Analysis in Qualitative Research: Nigel King's Method in Six Steps

Template analysis after Nigel King explained: the six steps, tentative a priori themes, building an initial template from a subset, hierarchical coding, and how it differs from thematic analysis.

Template analysisResearch methodsThematic analysis

Template analysis is a form of thematic analysis associated with Nigel King. Its defining feature is a coding template: a hierarchical list of themes that you build from part of your data, then apply to the rest and revise as you go. It allows you to start with a few themes defined in advance, and it encourages deep, multi-level coding.

Where the method comes from

Template analysis has its roots in organisational research and is now widely used in psychology, health and business studies. The two sources most people cite are King's chapter "Doing template analysis" (2012), in a Sage volume on qualitative organizational research, and a paper by Brooks, McCluskey, Turley and King (2015) in Qualitative Research in Psychology.

Like framework analysis, template analysis is often grouped with so-called codebook approaches: the analysis is organised around an explicit, written coding structure that changes over time. It is not tied to one epistemology. Brooks and colleagues describe uses from a realist position, from a contextual constructivist position and in between. They see it as a poor fit for discourse-focused methods such as conversation analysis.

The six steps

The 2015 paper describes the procedure in six steps.

  1. Get familiar with the data. In a small study of around ten interviews, read all transcripts at least once. In a larger study, start with a subset.
  2. Preliminary coding. Mark passages that seem relevant to your research question. At this point you may use a priori themes, but you do not have to.
  3. Cluster the themes. Group emerging themes and decide how they relate to each other: which are narrower versions of broader ones, and which sit side by side.
  4. Define an initial template. Write the clustered themes down as a structured list, usually based on a subset of the material.
  5. Apply and modify. Code further transcripts with the template. Insert themes where something is missing, redefine those that do not fit, delete those that turn out to be useless. Brooks and colleagues suggest working through several transcripts before revising, not changing the template after every single one.
  6. Finalise and apply to the full data set. Once the template captures the material well enough for your purpose, code everything with it and interpret the result.

What makes template analysis distinct

A priori themes, held loosely

You may define some themes before you look at the data, for example from your research questions, your interview guide or an existing theory. The method treats them as tentative: they can be redefined or dropped if the data do not support them. How firmly you hold them depends on your position. A more realist study may work with well-defined a priori themes, a constructivist one will use few or none.

The initial template from a subset

Instead of coding the whole data set before structuring it, you build a first version of the template early, from part of the material. The paper gives the example of five out of twenty interviews. Choose the subset so that it is as varied as possible, for instance different roles, sites or experiences. There is no fixed rule for how many transcripts are enough; that is a judgement you should explain.

Hierarchical coding and depth

The template is hierarchical, and the method encourages coding in depth where the data are richest. Some branches may go four or more levels down while others stay shallow. Brooks and colleagues also describe integrative themes: themes that run through several clusters rather than belonging to one of them.

No truly final version

The paper is explicit that a template is never really "final". Further reading of the data could always refine it. You decide when it is good enough for your research question, and you document how it changed on the way. Keeping numbered versions of the template, with a short note on what changed and why, gives you an audit trail at little cost.

Template analysis compared with other approaches

ApproachMain difference to template analysis
Reflexive thematic analysis (Braun and Clarke)Codes the whole data set before developing themes and defines themes late. No codebook. Usually fewer levels of subthemes.
Framework analysis (Ritchie and Spencer)Also codebook-based, but puts the emphasis on charting data into a case-by-theme matrix, which template analysis does not require.
Interpretative phenomenological analysisFocuses on individual experience and develops codes bottom-up. Imposing themes from existing theory would run against it.

If you are unsure how codebook approaches differ from reflexive thematic analysis, read reflexive vs codebook thematic analysis first. If you need the matrix for comparing cases, see framework analysis in qualitative research.

Typical mistakes

Treating a priori themes as fixed. If every theme you started with survives unchanged, check whether you looked hard enough for material that did not fit. Unfitting passages are what drive the revision of the template.

Too many top-level themes. A template with a long, flat list at the top is hard to interpret and hard to write up. Brooks and colleagues report that in one study the final template had fewer top-level themes than the initial one, but deeper coding underneath.

Mistaking the template for the result. The template is a tool for organising and interpreting.

What software can and cannot do here

Applying a template to many transcripts is the step where software saves most time. In Themera you can edit the codebook and re-code the material, which matches the apply-and-modify loop of step five. Every code is backed by a verbatim quote, and quotes that are not exactly in the material are rejected automatically, so each coded passage can be checked against the text. A coverage indicator shows which responses received no code, a useful hint that your template may be missing a theme. If you work in a team, the intercoder agreement check (blind re-coding, Cohen's kappa) can be one input when you discuss whether definitions are clear enough. Results export as DOCX and CSV.

What the tool does not do is decide which themes belong in the template, how deep a branch should go, or what an integrative theme means. Those are interpretive decisions, and they stay yours. For the basics of building and refining codes, see how to code qualitative data. Pseudonymise transcripts before analysis, and ask your supervisor or data protection office what your institution requires.

Wording for your methods section

A template with placeholders, not a description of a real study. Delete what does not match your procedure.

Data were analysed using template analysis (King, 2012; Brooks et al., 2015). After familiarisation with the transcripts, [number] transcripts, selected to cover [roles / sites / experiences], were coded in a preliminary way. [A priori themes derived from the research questions and the interview guide were used tentatively.] Emerging themes were clustered and organised hierarchically into an initial template, which was applied to further transcripts and revised by adding, redefining and removing themes. The template went through [number] versions; changes were documented. The final template was applied to all [number] transcripts. [If applicable: An AI-assisted tool supported the coding; each code was checked against its supporting quote by the researcher(s).]

In short

Template analysis suits projects where you have some ideas in advance but want the data to reshape them, where the data set is too large to code fully before structuring, or where several people need a shared, written coding structure. Build the first template from a varied subset, revise it in batches, code deep where the data are rich, and record each version.

See a sample analysis with codebook, verbatim quotes and the coverage indicator, or try it with your own transcripts: three analyses free, no card needed.

Next step

A codebook and verbatim evidence from your interviews, in minutes

Themera codes interviews and open-ended responses following Kuckartz, Mayring or Braun & Clarke. Every code is tied to a verbatim quote, and anything that could not be coded stays visible.

  • Transcription and pseudonymisation before analysis
  • Edit the codebook and re-run
  • 3 analyses free, no card

Pricing

  • Free€0

    3 analyses, 30 transcription minutes

  • Thesis€69

    once, 90 days, no subscription

  • Solo€39

    per month, cancel any month

Stored and processed in the EU (Mistral AI, Paris). No training on your data, DPA available.

Free, no sign-up

Codebook generator →

Enter your research question, get categories with coding rules and anchor examples.

Free, no sign-up

Cohen's kappa calculator →

Agreement, chance agreement and confidence interval, with an APA-style sentence.