Evaluating evidence

Target Trial Emulation: Using Observational Data Without Fooling Yourself

Target trial emulation is a method for using observational data to answer a cause-and-effect question by first writing down the randomized trial you wish you could run, then building the analysis to match it point by point. Its value is discipline, because forcing the study to specify eligibility, treatment, and a start time up front prevents classic errors like immortal time bias. It cannot fix problems that come from the data themselves, such as unmeasured confounding.

Target trial emulation is a method for using observational data to answer a cause-and-effect question by first writing down the randomized trial you wish you could run, then building the analysis to match it point by point. Its value is discipline, because forcing the study to specify eligibility, treatment, and a start time up front prevents classic errors like immortal time bias. It cannot fix problems that come from the data themselves, such as unmeasured confounding.

The problem it solves

Sometimes the randomized trial you want does not exist and cannot be run, for reasons of cost, time, or ethics. So researchers turn to observational data, records of what happened to people who did or did not receive a treatment in ordinary care. The trouble is that these analyses are easy to get wrong in ways that produce confident, wrong answers. Target trial emulation is a discipline for getting them less wrong.

The core idea, developed by Miguel Hernan and James Robins, is deceptively simple. Before touching the data, write down the protocol of the hypothetical randomized trial that would answer your question. That imagined study is the target trial. Then use the observational data to emulate it, matching each element as closely as the data allow.

Writing the protocol before the analysis

A trial protocol specifies things that observational studies often leave vague. Who is eligible? What are the treatment strategies being compared? When does follow-up start? What is the outcome, and how long is it measured? The target trial approach forces you to answer all of these explicitly, as if you were really enrolling patients.

This sounds like paperwork, but it is where bias control lives. Many observational studies go wrong precisely because these choices are made loosely, or after glancing at the results. Specifying them in advance, tied to a concrete imagined trial, closes those doors before anyone can walk through them.

Time zero and the trap of immortal time

The single most important element is time zero, the moment when eligibility is assessed, treatment is assigned, and follow-up begins, all at once. In a real trial these coincide by design. In observational data they can drift apart, and when they do, a subtle error called immortal time bias creeps in.

Immortal time is a stretch of follow-up during which, by the way the study is built, a person in the treated group could not yet have had the outcome. That guaranteed survival gets miscredited to the treatment, making it look protective when it is not. Aligning eligibility, assignment, and follow-up start at one time zero is the emulation's defense against this trap, and it is a defense many naive analyses lack.

What emulation can and cannot fix

Target trial emulation resolves problems of design. It does not resolve problems of data. If important confounders were never recorded, no amount of careful protocol writing will conjure them, and the estimate can still be biased by the differences between people who did and did not get the treatment. The same is true for outcomes measured poorly or inconsistently.

This honesty is a feature. By making the target trial explicit, the framework also makes explicit exactly where the emulation departs from the ideal, so readers can judge whether those gaps are small enough to trust. A good emulation names its own weaknesses rather than hiding them.

How to read a study that claims to do it

When a paper says it emulated a target trial, look for the protocol. A trustworthy emulation states the eligibility criteria, the treatment strategies, the assignment procedure, the outcome, and, above all, a clearly defined time zero. Check that follow-up begins at that time zero for everyone, which is the guard against immortal time.

Then ask the question the method cannot answer for itself, whether the important confounders were actually measured and adjusted for. Target trial emulation raises the floor for observational causal claims, and that is genuinely valuable. But it is a framework for thinking clearly, not a guarantee of truth, and the data still have to be good enough to carry the weight.

References and sources

  1. Hernan MA, Wang W, Leaf DE. Target Trial Emulation: A Framework for Causal Inference From Observational Data. JAMA
  2. Hernan MA, Robins JM. Using Big Data to Emulate a Target Trial When a Randomized Trial Is Not Available. Am J Epidemiol

How this was researched. This explainer is built from the primary sources listed above and reflects Dr. Tojjar's own critical appraisal of that evidence. It explains and evaluates research and does not provide medical care.

This article is for general education and is not medical or professional advice. For guidance about your own health, talk with a qualified clinician.

Cite this article

Tojjar, D. (2025). Target Trial Emulation: Using Observational Data Without Fooling Yourself. Dr. Damon Tojjar. https://readingtheevidence.org/articles/target-trial-emulation-explained/

Back to all insights