Guides  /  nvivo coding

Coding in NVivo

Coding is where the analysis happens; everything else in NVivo is filing around it. This covers the mechanics of coding to nodes, how to name codes so they stay useful at transcript thirty, and when to impose a hierarchy.

Written and reviewed by Elaine Halliburton, Professor of Applied Statistics
Updated 2 September 20267 min read
How do you code in NVivo?

Open a source, select a passage, then right-click and choose Code > at New Node, or drag the selection onto an existing node. Nodes are NVivo's term for codes and each coded passage is called a reference. You can code the same passage at several nodes, and organise nodes into parent and child hierarchies once patterns emerge.

How to code

The mechanics

Open a source and read it through first

Coding on first contact produces codes that describe sentences rather than meaning. Read the whole transcript, then code it.

Select a passage

A phrase, a sentence, a paragraph — whatever carries the idea. Selecting too little loses context; selecting whole pages makes retrieval useless.

Right-click → Code → at New Node

Or drag the selection onto an existing node. Ctrl+F2 on Windows codes straight to a new node.

Code the same passage at as many nodes as it warrants

Overlapping coding is normal, not an error. NVivo tracks each independently.

In vivo coding is a button, not just a technique

Selecting a participant's own words and choosing Code → In Vivo creates a node named with that exact phrase. Useful in early open coding when you want the codes to stay close to the participant's language.

Naming

Naming codes that survive

At transcript five you remember what every code meant. At transcript thirty you will not, and a code you cannot define is a code you will apply inconsistently.

Weak nameBetter nameWhy
SupportSeeking support without appearing to need itNames a process, and carries the tension
TimeRationing time against competing demandsSays what is happening, not the topic
NegativeDescribing the change as imposedDescribes content, not your reaction to it
BarriersTreating constraint as external and fixedSpecific enough to apply consistently
Use gerunds — naming what people are doing keeps the analysis oriented to process
Write a description on every node — right-click, Node Properties. Two sentences on what counts and what does not
Avoid single-word topic labels — they turn into containers for anything vaguely related
Never name a code after your conclusion — that decides the finding before the data are in
The node description is your codebook

It is the only thing that makes coding reproducible, and it is what you will paste into your methods section when asked to describe the coding framework. Filling them in as you go costs seconds; reconstructing forty of them afterwards is a day's work.

Structure

When to build a hierarchy

A node hierarchy that has earned its structure Managing uncertainty47 refs Disguising the request18 Deferring the question14 Mapping safe colleagues15 Accounting for constraint31 refs Removing agency19 Invoking consensus12 Parents are analytic, children are specific. Build this AFTER coding, not before.
Parent nodes are analytic, children are specific. Reference counts appear alongside each.

NVivo lets you nest nodes under parents by dragging. The temptation is to design that structure up front — and it is worth resisting.

An early hierarchy forces material into categories you have not yet earned from the data. Let the flat list grow through the first several transcripts. Fifty to eighty codes is normal. Only when the list stops growing should you group them, and group by what they share analytically, not alphabetically or by interview question.

StageWhat the node list looks like
Transcripts 1–5Flat, growing fast, some overlap and redundancy
Transcripts 6–15Growth slowing, duplicates becoming visible
ThenMerge duplicates, group into parents, revisit earlier coding
Remaining transcriptsCoding to a settled structure, adding only where genuinely new
Merging nodes is safe

Dragging one node onto another merges their references rather than deleting anything. If two codes turn out to be the same idea, merge them — you lose nothing, and the retrieval improves.

Want the coding framework reviewed before you go further?

Send a few transcripts and your node list. A named researcher tests the codebook against your extracts and advises on structure before you code thirty more.

See qualitative coding

Reviewing

Coding stripes and density

Coding stripes are the coloured bars NVivo shows down the right margin of a source, one per node applied. Turn them on from the ribbon under Coding Stripes.

Spot passages coded at nothing — either genuinely irrelevant, or you missed something
Spot passages coded at eight nodes — usually a sign the codes are not discriminating
See coding density at a glance across a whole transcript
Click a stripe to jump to that node and see everything else coded there
If 90% of every transcript is coded, the codes are not working

Coding everything is a common early habit and it defeats the purpose — retrieval only helps if it narrows. Code what bears on your research question, and be willing to leave material uncoded.

Reliability

Checking consistency

If your method calls for inter-rater reliability, NVivo computes it directly. Explore → Coding Comparison compares two coders on the same sources and reports percentage agreement and Cohen's kappa.

KappaInterpretation
< .40Poor to fair
.41–.60Moderate
.61–.80Substantial
> .80Almost perfect

Note that percentage agreement on its own overstates reliability badly, because it ignores agreement expected by chance. Where one code dominates, two coders can agree 85% of the time and still have a kappa near .17. Report kappa.

Whether you need this at all depends on your method

For content analysis and codebook approaches, inter-rater reliability is appropriate and expected. For reflexive thematic analysis, the researcher's interpretation is the analytic instrument rather than a source of error, and Braun and Clarke argue explicitly against reporting a coefficient. Match the check to the method.

Pitfalls

Five mistakes

1. Building the hierarchy before coding

It forces the data into a structure you have not earned. Let the flat list grow first.

2. Single-word topic codes

They become containers for anything loosely related and stop discriminating.

3. Leaving node descriptions blank

Without them the coding is not reproducible and you have no codebook to describe.

4. Coding everything

Retrieval only helps if it narrows. Uncoded material is fine.

5. Reporting kappa for reflexive thematic analysis

It misrepresents what the method claims. Use trustworthiness criteria instead.

Answers

Frequently asked questions

What is a node in NVivo?

A node is NVivo's word for a code — a container holding every passage tagged with a particular idea. Each coded passage is called a reference. Nodes can be organised into parent and child hierarchies once patterns in your coding emerge.

How do I create a code in NVivo?

Select a passage in a source, then right-click and choose Code > at New Node. On Windows, Ctrl+F2 codes directly to a new node. You can also drag a selection onto an existing node in the Navigation View.

Should I build a node hierarchy before I start coding?

No. An early hierarchy forces material into categories you have not earned from the data. Let the flat list grow through the first ten to fifteen transcripts, then merge duplicates and group codes by what they share analytically.

How many codes should I have in NVivo?

Fifty to eighty after the first several transcripts is entirely normal for an inductive project. What matters is that the list stops growing as you continue, which signals you are reaching saturation, and that each code has a description precise enough to apply consistently.

Can two people code the same project in NVivo?

Yes. NVivo tracks coding by user, and Explore > Coding Comparison reports percentage agreement and Cohen's kappa between two coders on the same sources. Whether you should report that coefficient depends on your method.

What are coding stripes in NVivo?

Coloured bars in the right margin of a source showing which nodes have been applied to each passage. They make it easy to spot uncoded sections, over-coded sections, and coding density across a transcript.