Get notified
In this guideThe short versionWhat is a code?Before you codeTypes of first-cycle codesA worked exampleCoding in passesBuild a codebookWrite memos as you goCommon mistakes and how to fix themHow long does coding take?Coding checklistCoding in TralyxFrequently asked questions

← All guides

Analyze

How to code an interview transcript

Learn qualitative coding with a worked example: descriptive, in vivo and process codes, building a codebook, writing memos, and common mistakes.

Tralyx guides6 min readReviewed 15 Nov 2026

Part of the series: Qualitative data analysis: a step-by-step guide

The short version

  • Coding means giving short labels to parts of a transcript so you can compare them.
  • Read first, then code in passes, keep a codebook and write memos.
  • A code names what a passage is about or shows.
  • A theme is bigger and comes later.

What is a code?

A code is a word or short phrase that labels a piece of data, such as a sentence or a paragraph of a transcript. It works like a keyword for an article. Once passages carry codes, you can pull together everything about one idea from every interview and compare it.

A code is not a finding, and it is not a theme. Saldaña, whose Coding Manual is the standard reference, describes coding as a way to get from raw data to categories and ideas, in more than one pass.

Before you code

  1. Read the whole transcript once without coding. Listen to the audio if someone else transcribed it. Note your first impressions in a few lines.
  2. Write your research questions at the top of your working document. They keep you from coding everything that is merely interesting.
  3. Choose your approach. Inductive coding builds codes from the data. Deductive coding starts from codes taken from a theory or earlier work. Many studies mix the two.
  4. Decide who codes. One person can code alone. If two or more people code, agree on a starting codebook and compare a sample of transcripts early.

Types of first-cycle codes

Saldaña describes many coding methods. These four cover most interview studies:

MethodWhat the code isExample labelUse it when
DescriptiveA noun or short phrase naming the topicstoring recordingsYou need a clear map of what the data covers
In vivoThe participant's own words"I never let it leave my laptop"You want to keep their voice and language
ProcessA verb ending in -ing for actionsdouble-checking consentThe data is about actions and how they unfold
Initial (open)A first-pass label, any kind, line by lineworry about being overheardYou're exploring and don't want to decide too soon

A worked example

Here is an invented excerpt from an interview with a researcher about handling recordings. It shows how one passage can carry different kinds of code.

Invented interview excerpt, participant P03
P03I used to upload everything to a transcription site because it was quick. Then a participant asked me where the recording actually went, and I couldn't answer. I felt awful. Now I keep everything on my own laptop, and I tell people that up front.
Descriptive code
changing how recordings are handled. It names what the passage is about.
In vivo code
"I couldn't answer". It keeps the participant's own words for a turning point.
Process code
telling participants up front. It captures an action.
Interpretive code
accountability to participants. This is your reading of why it matters, and it can come in a later pass.

Notice that none of these codes is a finding. Each one points to a passage. Later you'll compare "changing how recordings are handled" across interviews to see what links them.

Coding in passes

  1. First pass: label as you read. Stay close to the data. Don't worry about perfect names. Use short descriptive, in vivo or process codes.
  2. Second pass: tidy. Merge codes that mean the same thing. Split any code that covers two ideas. Rename vague codes such as "issues".
  3. Third pass: group. Collect related codes under broader headings, and ask what connects them. Saldaña calls this second-cycle work, using methods such as pattern or focused coding.
  1. DataWhat people said“I couldn’t answer.”
  2. CodesShort labels on passagesunable to answer a participant
  3. CategoriesRelated codes groupedaccountability to participants
  4. ThemeAn idea that answers your questionI have to be able to answer for where the recording goes
From what people said to an idea that answers your question. The example continues in the thematic analysis guide.Tralyx

Take a break between passes. A day away often shows you things you missed.

Build a codebook

A codebook is a list of your codes with a definition and an example for each. It keeps your meaning stable over weeks of work and lets a second coder apply the codes the same way.

FieldWhat to writeExample
Code nameShort and specificchanging how recordings are handled
DefinitionOne or two sentences on what it coversThe participant describes altering how they store or send recordings.
Include / excludeWhat counts and what doesn'tExclude: plans they haven't acted on
ExampleA short quote that fits"Now I keep everything on my own laptop."

Write memos as you go

A memo is a short note to yourself about an idea, a doubt, or a link between codes. Date it and write it the moment the thought appears. Analysis happens in memos, and they give you a record of how your thinking moved.

  • Methodological memo: "I coded P03 line by line but P04 by paragraph. Recode P04 the same way."
  • Analytic memo: "Two people mention a participant's question as the moment they changed. Is that a turning point pattern?"
  • Reflective memo: "I expected people to say speed was the reason. Why did I assume that?"

Common mistakes and how to fix them

MistakeWhat goes wrongFix
Too many codes too earlyHundreds of one-off labels that never combineMerge as you go; aim for fewer, clearer codes
Vague codes like "problems"You can't tell what's inside it laterName the specific problem
Calling a code a themeThe analysis stays a list of topicsTreat themes as a later step built from codes
Coding only what you expectedYou miss surprises and contradictionsCode negative cases and oddities on purpose
No link back to the quoteYou can't support your claimsKeep the exact passage attached to every code
Never revisiting early transcriptsEarly and late interviews are coded differentlyRe-read the first transcripts after your codebook settles

How long does coding take?

It depends on how much data you have and how deep you go. Many researchers plan at least as much time for analysis as they spent on collecting data. Rushing coding usually costs more later, because weak codes weaken everything built on them.

Coding checklist

  • Research questions are written where I can see them.
  • I read each transcript fully before coding it.
  • Each code has a definition and an example in my codebook.
  • I merged duplicate codes and renamed vague ones.
  • I coded contradictions and negative cases.
  • Every code leads back to an exact passage.
  • I wrote memos with dates.
  • A second person checked a sample, or I recoded a sample after a break.

Coding in Tralyx

Tralyx is built for this work. Review and code as you read, build a codebook, add memos, and export with your codes and memos to Word, CSV or REFI-QDA. It works on your own computer. Cloud Turbo, our optional faster processing, sends only the files you choose. It's coming soon.

Frequently asked questions

How many codes should I use per transcript?

There's no rule. Early on you may create many; as you merge and refine, the list shrinks. Judge by whether your codes are specific, clear and useful for your questions.

Should I code line by line or by paragraph?

Line-by-line coding gives close detail and suits early exploration. Larger units suit later passes or large data sets. Pick one approach per pass and apply it consistently.

Can one passage have more than one code?

Yes, when it truly says more than one thing. Don't over-apply, though, or your codes will blur.

Should I code the interviewer's questions?

Usually you code the participant's words. Keep the questions visible as context, since what someone says depends on what they were asked.

Should I code by hand or with software?

Both work. Software keeps every code tied to its quote and makes it quick to see all the passages for a code. Paper is flexible and good for small projects.

Keep reading