Thematic analysis: the six phases, and the two mistakes

The standard method for making sense of qualitative data, written for people who have to apply it under deadline rather than defend it in a viva.

Updated 7 min readBy Karla Cruz, UX researcher
In short
Thematic analysis finds patterns of shared meaning across qualitative data, in six recursive phases. Almost everything that goes wrong with it comes down to one confusion: a theme is an idea that holds several extracts together, not a topic several extracts happen to mention.

What it is

Thematic analysis is a method for identifying and reporting patterns across qualitative data — interview transcripts, open-text survey answers, support tickets, diary entries. It is the default approach in applied research for a good reason: it makes no commitment to a particular theory, so it can be used on almost any dataset, and its steps are explicit enough to be checked by someone who was not there.

It is also frequently done badly, in ways that are hard to spot from the write-up. The two failure modes in the last section account for most of it.

Codes and themes are not the same thing

This distinction carries the whole method, so it is worth being precise.

A code is a label applied to one extract, capturing something relevant to the question: abandoned setup at import, expected the file to be validated first, asked a colleague instead of reading docs. Codes are descriptive, close to the data, and there are a lot of them.

A theme is a pattern of shared meaning across many extracts, organised around a central idea: setup demands knowledge the product never supplies. Themes are interpretive, and there should be few — a study with fourteen themes almost always has a list of topics rather than a set of findings.

The test: a theme makes a claim. If you cannot disagree with it, it is a topic.

The six phases

The phases are recursive, not linear. Reviewing sends you back to coding, and it should — a pass that never loops is a pass that accepted its first guess.

  1. Familiarisation. Read the whole dataset before coding any of it, and write down first impressions separately from the data. The point is to know the shape of what you have; skipping it produces codes shaped by the first transcript you happened to open.
  2. Generating initial codes. Work systematically through every item, labelling anything relevant to the research question. Codes at this stage are descriptive and numerous — forty or eighty of them is normal — and each one stays attached to the extract it came from.
  3. Searching for themes. Sort codes into candidate themes by what they have in common at the level of meaning rather than of wording. A theme is a pattern of shared meaning organised around a central idea, not a bucket of topics that use the same noun.
  4. Reviewing themes. Test each candidate twice: against its own coded extracts, and against the full dataset. A theme whose extracts do not hang together splits; two themes saying the same thing merge; a theme with thin support is discarded however much you like it.
  5. Defining and naming themes. Write a short definition of each theme stating what it captures and what falls outside it. If you cannot describe a theme's scope in a sentence or two, it is still doing too many jobs.
  6. Producing the report. Write up each theme with enough verbatim evidence for a reader to judge the interpretation, and make an argument rather than listing extracts. Quotes illustrate the claim; they do not replace it.

Inductive or deductive

Inductive analysis lets themes emerge from the data. It is slower, and it is the only way to find the thing you were not looking for.

Deductive analysis codes against a framework decided in advance. It is faster, comparable across studies, and structurally unable to surprise you.

Applied product research is usually a hybrid: inductive coding, steered by the decision the study has to inform. State which you did. A reader assessing a finding needs to know whether the categories came from the customers or from you.

The two mistakes

Mistake one: the topic summary wearing a theme's clothes

A section headed "Pricing" that reports some participants found the product expensive and others found it fair is not a theme. It is a bucket. It contains no claim, points at no decision, and could have been written before the study.

The repair is to ask what the extracts in the bucket have in common at the level of meaning. Often it turns out they are not one theme at all: the people calling it expensive were comparing against a free tool they already had, and the ones calling it fair were comparing against an agency invoice. That is two findings about reference points, and it is actionable in a way "Pricing" never was.

Mistake two: the discussion guide as the findings

When the themes map one-to-one onto the sections of the interview guide — onboarding, collaboration, reporting, pricing — the analysis has reported the structure of the questions rather than anything about the answers.

This one is easy to detect and uncomfortable to fix: it usually means going back to phase two and coding for what participants said rather than for which question they were answering when they said it.

Doing it with a model in the loop

Phases two and three — coding and clustering — are mechanical at scale and suit automation well. Phases four and five are judgement, and a model will keep a weak theme it should have cut, because nothing in the text tells it the theme is thin. The division of labour that works: let the model code exhaustively and propose clusters, then do the reviewing and naming yourself, with every extract still attached.

More on where that line sits in AI user research. For the compressed, deadline-friendly version of this method applied to interviews specifically, see how to analyse user interviews.

Common questions

What is thematic analysis?
Thematic analysis is a method for identifying, analysing and reporting patterns of meaning across qualitative data. It is the most widely used approach to analysing interviews and open-text responses, and it runs through six phases: familiarisation, coding, searching for themes, reviewing themes, defining and naming them, and writing up.
What are the six phases of thematic analysis?
Familiarisation with the data; generating initial codes; searching for themes; reviewing themes against both the coded extracts and the whole dataset; defining and naming the themes; and producing the report. The phases are recursive rather than strictly linear — reviewing frequently sends you back to coding.
What is the difference between a code and a theme?
A code is a label on a single extract that captures something relevant, such as 'gave up at the import step'. A theme is a pattern of shared meaning across many extracts, organised around a central idea, such as 'setup requires knowledge the product never supplies'. Codes are descriptive and numerous; themes are interpretive and few.
What is the difference between inductive and deductive thematic analysis?
Inductive analysis derives themes from the data itself, without fitting them to a pre-existing framework. Deductive analysis codes against categories decided in advance, typically from a theory or a prior study. Most applied product research is somewhere between the two: broadly inductive, but steered by the decision the study has to inform.
What are the most common mistakes in thematic analysis?
Two dominate. The first is mistaking a topic summary for a theme — 'pricing' is a bucket, not a pattern of meaning. The second is treating the interview questions as the themes, which produces a set of headings that mirror the discussion guide and reveal nothing the guide did not already assume.
Can thematic analysis be done with AI?
The coding and clustering phases suit it well: matching paraphrases across hundreds of extracts is exactly what language models do reliably. The reviewing and defining phases are judgement work, and a model will happily keep a weak theme it should have discarded. Use it for phases two and three, then do four and five yourself.

Run this analysis on your own evidence

Upload interviews, tickets, survey exports or reviews and humsait reads all of it, groups the patterns, and writes the report with every finding linked to the quotes behind it.

Try it free

Keep reading