Skip to main content
v2026.11,986 entries · CC-BY 4.0

Deductive Thematic Analysis: Codebook, Stages and Example

How deductive thematic analysis works: a priori codebook, six hybrid stages, an agreement check with the arithmetic, and how it differs from inductive coding.

Written and maintained by CASRAI Editorial Board

Published

On this page

Deductive thematic analysis is a way of analysing qualitative data in which the codes, and often the candidate themes, come from existing theory, prior research or the research question before the researcher codes the data, instead of emerging from the data alone. Braun and Clarke describe the deductive orientation as coding and theme development “directed by existing concepts or ideas”, in contrast to an inductive orientation directed by the content of the data. In practice the analyst writes a codebook first, applies it to the transcripts or documents, and keeps room to add codes the data demand.

What is deductive thematic analysis?

Thematic analysis is, in Braun and Clarke’s words, an umbrella term for a family of qualitative methods for developing patterns of meaning (themes) across a dataset that address a research question. They list several ways of approaching it, including “a more inductive way” and “a more deductive way”, and note that these are continua rather than exclusive opposites. A deductive analysis therefore does not mean the data are forced into a theory. It means the theory supplies the starting structure: the sensitising concepts, the first code labels and their definitions.

Two features separate it from open, inductive coding. First, the coding frame exists before coding begins and is written down. Second, the analyst has to say where the frame came from (a named theory, a body of earlier findings, the interview guide or the research questions) so a reader can judge whether it fits the data. Fereday and Muir-Cochrane, whose 2006 article is the most cited step-by-step account of the hybrid version, state it plainly: “the template was developed a priori, based on the research question and the theoretical framework.”

What is the difference between inductive and deductive coding in qualitative analysis?

In inductive coding the labels and categories are generated from the data as they are read; in deductive coding they are specified beforehand from existing knowledge and the data are searched for evidence of them, counter-evidence and gaps. Elo and Kyngas, writing about content analysis, put the distinction as concepts being “derived from the data” in the inductive case, while deductive analysis is used “when the structure of analysis is operationalized on the basis of previous knowledge”. They recommend inductive analysis when there are no previous studies on the phenomenon or knowledge is fragmented, and deduction when the aim is to test a previous theory in a different situation or to compare categories across time periods.

Braun and Clarke add two cautions. The inductive/deductive split is an orientation, not a switch: they say more deductive analyses tend to cluster with latent and constructionist approaches, while more inductive ones cluster with semantic and critical realist approaches, and what matters is that the analysis is theoretically congruent and consistent. And, in discussing a coding approach that separates data-driven from concept-driven coding, they note most researchers move back and forth between the two. The decision table below sets the approaches side by side; the data table at the end of the page lists the same approaches with the source for each cell.

Which approach fits which aim

If your aim is to… Orientation to use Source for the pairing
Test a previous theory in a different setting, or compare categories at different time periods Deductive Elo and Kyngas (2008)
Study a phenomenon with no earlier studies, or fragmented knowledge Inductive Elo and Kyngas (2008)
Apply a theory-derived template but let new themes emerge Hybrid: a priori template plus inductive additions Fereday and Muir-Cochrane (2006)
Start from theory or relevant findings but count or compare content Directed or summative content analysis Hsieh and Shannon (2005)

If you are still deciding between reasoning styles in general, the CASRAI guide to inductive, deductive and abductive reasoning covers the logic; this page stays with coding.

How to do deductive thematic analysis: six stages

The most detailed published procedure is the six-stage hybrid process of Fereday and Muir-Cochrane (2006), which combines the data-driven inductive approach of Boyatzis (1998) with the a priori template of codes approach of Crabtree and Miller (1999). Their stages are below, each with the point where deductive work does its job. Braun and Clarke’s own six phases (familiarising, coding, generating initial themes, developing and reviewing themes, refining, defining and naming themes, and writing up) are a different, reflexive process described in the CASRAI guide to thematic analysis step by step; the two should not be merged in a methods section without saying which you followed.

  1. Develop the code manual. Write the template before coding, from the research question and the theoretical framework. In the original study the template came from Schutz’s social phenomenology and had six broad categories. Each code had a label, a definition of what the theme concerns and a description of how to know when it occurs.
  2. Test the reliability of the codes. Apply the template to a small set of test documents, have a second coder do the same, compare the results and revise if needed. In the 2006 study two performance appraisal documents were test pieces, a supervisor was the second coder, and no changes to the template were required.
  3. Summarise the data and identify initial themes. Paraphrase each transcript or document to get close to the data, noting key points before the template is applied.
  4. Apply the template and add codes. Code the full dataset with the codebook, entering codes as nodes in qualitative software if used, and add new inductive codes where the text shows something the template does not capture.
  5. Connect the codes and identify themes. Cluster coded segments under headings tied to the research questions, noting areas of consensus and potential conflict across data groups.
  6. Corroborate and legitimate the themes. Check the clustered themes back against the coded text. The authors warn that “seeing” what the researcher expects to find can be unintentional, which is the specific risk of deductive frames and the reason this stage exists.

Fereday and Muir-Cochrane present the stages in a line but describe the analysis as iterative: text, codes and themes went through several rounds before interpretation.

Building the codebook: what each code needs

A deductive codebook is the method’s main audit trail. Fereday and Muir-Cochrane say the template “provided a clear trail of evidence for the credibility of the study”. Roberts, Dowell and Nie (2019), who used a codebook in a study of general practitioners’ and acupuncturists’ views, built a preliminary codebook before coding from the research question, a literature search, a survey and an initial read of the data. Following Boyatzis, each code in their book had five fields:

  • a label (a short name);
  • a definition (what the code is about);
  • a description (how to recognise it in text);
  • qualifications or exclusions (what looks similar but must not be coded here);
  • examples from the raw data.

They applied the book to a larger set of transcripts repeatedly, adding codes where units did not fit, and treated the codebook as a valid representation of the data once multiple passes produced no new codes. They also note that codebook development is time-consuming and often under-reported.

Deductive coding example (illustrative composite)

The following is an illustrative composite built for this guide, not a report of a real study. Suppose a team is testing an existing model of workplace feedback against 12 interviews with research staff. The codebook starts with codes taken from that model, with the five fields above:

Field Entry for the code “Source credibility”
Label Source credibility
Definition The participant judges feedback by who gave it.
Description Use when the participant ties the weight of feedback to the giver’s expertise, seniority or track record.
Exclusions Do not use for judgments about the feedback’s content alone; code those as “Feedback quality”.
Example “I only act on comments from someone who has run the assay themselves.”

During coding, a recurring remark about feedback arriving too late to use fits no codebook entry. The analyst does not discard it: as in stage 4 of the hybrid process, a new inductive code (“Timing”) is added and logged in the codebook with its definition and the date it was introduced, so the final themes combine theory-derived and data-derived codes openly.

Checking agreement between two coders: the arithmetic

Roberts and colleagues tested agreement with a simple formula credited to Miles and Huberman: reliability = agreements / (agreements + disagreements). They describe it as a much cruder tool than Cohen’s kappa, but usable on small datasets with many codes, and give 75% as a rule-of-thumb minimum for adequate agreement. In their own early test, coders agreed on 23 coded units and disagreed on 10, so reliability = 23 / (23 + 10) = 23 / 33 = 0.70, which they classed as inadequate agreement. Disagreements were recorded and the codebook revised, and they report that full inter-coder agreement is unlikely to be achieved.

For our illustrative composite, if two coders agree on 30 segments and disagree on 6, reliability = 30 / (30 + 6) = 30 / 36 = 0.83, above the 75% rule of thumb. Braun and Clarke, describing coding reliability approaches, say these emphasise measuring coding agreement with statistics such as Cohen’s kappa, where a kappa above .80 indicates very good agreement. For kappa and how to report it, see the CASRAI guide to thematic coding and inter-coder agreement. Reflexive approaches do not treat agreement as the quality test, so the choice of check should follow the version of thematic analysis you declare.

Deductive content analysis and the three types of qualitative content analysis

Qualitative content analysis shows three approaches, according to Hsieh and Shannon (2005): conventional, directed and summative. They differ in coding schemes, origins of codes and threats to trustworthiness. In conventional content analysis the coding categories are derived directly from the text data. In a directed approach the analysis starts with a theory or relevant research findings as guidance for initial codes, which is the deductive case. Summative content analysis involves counting and comparisons, usually of keywords or content, followed by interpretation of the underlying context. Elo and Kyngas describe both inductive and deductive content analysis as passing through three phases: preparation, organising and reporting, with the preparation phase similar in both.

The practical difference from deductive thematic analysis is the unit of output. Content analysis builds a model of categories, often with counts; thematic analysis, in Braun and Clarke’s definition, develops themes as patterns of shared meaning. For a full treatment of the category-building route, see the CASRAI guide to content analysis, and for a matrix-based codebook method the guide to framework analysis.

Braun and Clarke’s position on deductive and codebook approaches

Braun and Clarke distinguish three main types of thematic analysis: their reflexive approach, coding reliability approaches (Boyatzis and similar, with structured codebooks, several independent coders and agreement statistics) and codebook approaches such as template and framework analysis. In codebook approaches, they write, the codebook maps the developing analysis as well as guiding coding, and these methods grew out of applied fields, often to support teams where some members have little qualitative experience. A deductive thematic analysis with a written codebook therefore belongs closest to codebook or coding reliability approaches, so cite it as such rather than as reflexive thematic analysis. Their 2006 paper, Qualitative Research in Psychology 3(2), 77-101, remains the standard citation for the method generally, and the authors’ own site describes it as the third most cited article of the 21st century according to Nature.

They also stress that reflexive TA “is not the outcome of strictly following set phases or rules”. A deductive frame should be treated the same way: a tool to be tested against the data, not a rule that decides what the data mean.

Assumptions and common mistakes

  • Confirming the theory by construction. A frame can only find what it names. The corroboration stage in the six-stage process and a written exclusions field exist to catch that; keep negative cases and report them.
  • Calling a hybrid study purely deductive. If new codes were added, say so; the published procedure expects it.
  • Naming themes as topics. Braun and Clarke warn that labels such as “Experiences of Y” or “Benefits of X” are topic summaries, not themes; a theme name should communicate the underlying idea.
  • Mixing frameworks. Declaring reflexive TA while using a fixed codebook and kappa is a mismatch, and Braun and Clarke say consistency between method and stated theory matters.
  • Skipping the pilot. Testing the codebook on a few documents with a second coder (stage 2) is where unclear definitions show up before they affect the whole dataset.

How to report it in a methods section

State, in this order: the orientation (deductive or hybrid) and the version of thematic analysis you followed; the source of the codebook (named theory, earlier findings, research questions); the structure of each code; who coded, how the pilot and any agreement check were done, with the figure; how many codes were added during coding and why; and how themes were checked against the data. A model sentence, with placeholders to replace by your own facts: “Coding followed a hybrid deductive-inductive thematic analysis (Fereday and Muir-Cochrane, 2006). An a priori codebook derived from [theory/source] was piloted on [n] transcripts by two coders (agreement [x]%), then applied to the full dataset, with [n] additional codes added inductively.” Cite the primary method papers and the edition of your style guide for the reference format.

Frequently asked questions

What are the 5 steps of thematic analysis?

Braun and Clarke’s own current description of reflexive thematic analysis has six phases: familiarising yourself with the dataset, coding, generating initial themes, developing and reviewing themes, refining, defining and naming themes, and writing up. A five-step list is not their formulation. Fereday and Muir-Cochrane’s hybrid deductive-inductive procedure has its own six stages, listed above.

What are the three types of qualitative content analysis?

Hsieh and Shannon (2005) name conventional, directed and summative. Conventional derives categories from the text; directed starts from a theory or relevant research findings; summative counts and compares keywords or content and then interprets the context. Directed is the deductive one.

What is the difference between inductive and deductive coding in qualitative analysis?

Inductive coding generates codes from the data; deductive coding sets the codes beforehand from theory, prior findings or the research questions, and the researcher tests how well they fit. Elo and Kyngas link deduction to testing a previous theory in a new situation or comparing categories over time.

Can you use ChatGPT for qualitative data analysis?

The method papers cited here describe coding done by researchers, with the judgments recorded in a codebook and checked by a second coder. Whatever is used to suggest or apply codes, the researcher stays responsible for the code definitions, the agreement check and the audit trail described above; output that has not been checked against the codebook is not an analysis. Check the journal’s and your institution’s rules on disclosure of such tools before submission.

Can a deductive study still produce new themes?

Yes. Fereday and Muir-Cochrane’s fourth stage adds inductive codes where themes emerge that the template misses, either as new codes or as expansions of existing ones.

Sources

Data: Where codes come from: qualitative coding approaches compared

Compares eight qualitative coding approaches (three thematic analysis types, three content analysis approaches and inductive/deductive content analysis) by where codes or categories originate and what each approach is stated to be for, compiled from the primary method papers and the method authors' own pages.

Period covered: 2005/2026.

Where codes come from: qualitative coding approaches compared
ApproachOrigin of codes or categoriesStated emphasis or useSource
Reflexive thematic analysisDeveloped by the researcher during analysis; inductive or deductive orientation both possibleResearcher subjectivity and reflexivity; not strictly following set phases or rulesBraun and Clarke, thematicanalysis.net
Coding reliability thematic analysisStructured codebookMeasuring coding reliability with multiple independent coders and statistics such as Cohen's kappaBraun and Clarke, thematicanalysis.net FAQs
Codebook thematic analysis (template, framework)Codebook that maps the developing analysis and guides codingTeam working and pragmatic applied research needs; shares a qualitative paradigm with reflexive TABraun and Clarke, thematicanalysis.net FAQs
Hybrid inductive-deductive thematic analysisA priori template from research question and theory, plus inductive codes added during codingDemonstrating rigor through six stages with a pilot reliability testFereday and Muir-Cochrane 2006
Conventional content analysisCategories derived directly from the text dataCoding categories drawn from the dataHsieh and Shannon 2005
Directed content analysisTheory or relevant research findings guide initial codesStarting from existing theory or findingsHsieh and Shannon 2005
Summative content analysisKeywords or content identified for counting and comparisonCounting and comparisons followed by interpretation of the underlying contextHsieh and Shannon 2005
Deductive content analysisStructure operationalised from previous knowledgeTesting a previous theory in a different situation or comparing categories across time periodsElo and Kyngas 2008
Inductive content analysisConcepts derived from the dataUsed when there are no previous studies or knowledge is fragmentedElo and Kyngas 2008

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Deductive Thematic Analysis: Codebook, Stages and Example

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →