In a crossover trial, every participant receives each of the treatments being compared, one after another, in a randomly assigned order. Because the comparison happens within the same person, a crossover can answer a question with far fewer participants than a parallel trial, provided the first treatment has fully worn off before the second begins.
Free sandbox · No credit card · 21 CFR Part 11 compliant
Crossover trial design
noun · clinical research
A randomised design in which each participant receives a sequence of two or more treatments over successive periods, usually separated by a washout, so that treatments are compared within participants.
Related terms
In short
Explained
In a parallel-group trial each participant receives one treatment, and the analysis compares the average outcome of one group with another. People differ from each other a great deal, so the comparison carries all of that between-person noise and needs large groups to see through it. In a crossover, each participant takes treatment A for one period and treatment B for another. The analysis looks at the difference between the two periods within each person, so stable traits such as age, genetics, baseline severity or habitual diet cancel out.
The simplest version is the 2x2 crossover: two treatments, two periods, two sequences. Half the participants are randomised to receive A then B, the other half B then A. Randomising the order is what makes it a randomised trial; giving everyone A first and B second would confound the treatment with time. More complex designs add periods or treatments, and the choice is a statistical and practical one that belongs in the protocol and the statistical analysis plan.
A period is a block of time on one treatment, usually with its own baseline and outcome measurements. A sequence is the ordered list of treatments a participant receives, such as AB, BA or ABC. A washout is the gap between periods with no study treatment (or a placebo), long enough for the previous treatment to stop acting. Some crossovers also include a run-in before period 1 to stabilise participants on background therapy; see run-in period and screen failure.
Carryover happens when the treatment from an earlier period is still influencing the outcome in a later one. A drug with a long half-life may still be in the body; a behavioural intervention may have taught a skill that does not disappear; a surgical or disease-modifying treatment may have changed the condition permanently. If A carries over into B, the B period no longer measures B alone, and the within-person comparison is biased.
Most statisticians now advise against testing for carryover and then switching analysis depending on the result, because the test has little power and the two-stage procedure distorts error rates. The accepted approach is to exclude carryover by design: choose treatments that wear off, set a washout long enough to cover it, and take outcome measurements late enough in each period that any residual effect of the previous one has gone.
Participants in long studies often change over time: seasonal variation, familiarity with questionnaires, regression to the mean after being enrolled at a bad moment. Balanced sequences (equal numbers on AB and BA) let the analysis estimate a period effect and remove it from the treatment comparison. A typical model includes sequence, period and treatment as fixed effects and participant as a random effect. A treatment-by-period interaction, where the treatment difference is not the same in period 1 and period 2, is a warning sign that carryover or another time-dependent factor is present.
Variants
The 2x2 design is the workhorse. The others solve specific problems at the cost of longer participation.
| Design | Sequences | Periods | Typical use | Watch out for |
|---|---|---|---|---|
| 2x2 (AB/BA) | 2 | 2 | Two treatments, short-acting, stable condition | Cannot separate carryover from treatment-by-period interaction |
| Replicate (e.g. ABAB/BABA) | 2 | 3 or 4 | Highly variable drugs; estimating within-person variability per treatment | Longer participation, more dropout |
| Williams design (3 or 4 treatments) | 6 for 3 treatments, 4 for 4 | 3 or 4 | Dose comparisons, several formulations | Each participant spends months on study |
| Incomplete block | Varies | Fewer than treatments | Many treatments, limited periods per person | More complex analysis |
| Multiple crossover in one person | 1 per person | Many | Personalised N-of-1 questions | See N-of-1 trial software |
Sample size for these designs depends on the within-subject standard deviation; use the [crossover trial sample size calculator](/solutions/crossover-trial-sample-size-calculator) for the 2x2 case rather than parallel-group formulas.
Worked example
Study DEMO-101 compares a new topical treatment (A) with a matching vehicle (B) in adults with stable chronic neuropathic pain. Participants record average daily pain on a 0 to 10 scale in an ePRO diary. After screening and a one-week baseline, each participant is randomised to AB or BA. Each treatment period lasts four weeks, separated by a two-week washout, and the primary outcome is the mean diary score over the last two weeks of each period. Measuring at the end of each period, not the start, is deliberate: it gives any residual effect from the previous period time to disappear.
Participant 001-0042 is randomised to sequence BA. Their mean pain score is 6.1 in the vehicle period and 4.6 in the active period, a within-person difference of 1.5 points. The trial estimate is the average of such differences, adjusted for period. Because each participant contributes both treatments, someone who leaves after period 1 gives no within-person contrast, so the protocol needs a realistic dropout assumption and a plan for how incomplete participants are handled in the analysis. The primary endpoint definition should say exactly which diary days count.
| Assessment | Screen | Baseline | P1 Wk2 | P1 Wk4 | Washout | P2 Day 1 | P2 Wk2 | P2 Wk4 | Follow-up |
|---|---|---|---|---|---|---|---|---|---|
| Consent and eligibility | |||||||||
| Randomisation to AB or BA | |||||||||
| Daily pain diary (ePRO) | D | D | D | D | D | D | |||
| Dispense study treatment | |||||||||
| Vital signs | |||||||||
| Adverse events and con meds |
x = done at visit · D = daily diary during the period
Set up both sequences, anchored visits and a daily diary in the free sandbox, then randomise dummy participants and check the schedule each one gets. No credit card, no time limit.
Choosing
A crossover works when four things are true. The condition is chronic and roughly stable over the study, so period 2 starts from a similar place to period 1. The treatments act quickly and wear off completely. The outcome can be measured repeatedly without the act of measuring changing it. And participants can tolerate the longer commitment. Common settings are symptomatic treatments for chronic pain, asthma, hypertension or sleep problems, early pharmacology studies, and bioequivalence studies in healthy volunteers.
A crossover is a poor choice when the treatment cures or permanently alters the disease, when the condition progresses or resolves naturally, when the outcome is a one-time event such as death, a fracture or hospital admission, or when the treatment has very long-lasting effects that would need an impractical washout. It is also weaker when dropout is likely to be high, because each lost participant costs both periods. In those cases a parallel design, perhaps with stratified randomisation to balance key prognostic factors, is usually the safer option.
In Capture
In Capture you set up each sequence as a treatment arm (for example "AB" and "BA") with its ratio in Settings > Randomization, using permuted blocks or simple randomization. Visits are added on the schedule with a study day, an anchor such as randomization or an earlier visit, and a completion window with soft or hard enforcement, so the first period-2 visit cannot drift inside the planned washout without it being visible. If the sequences need different timing, arm-specific schedules let a visit apply only to some arms or count from a different date. Daily pain scores run as a recurring ePRO diary, and every change to a value is kept in the field-level audit trail.
Day 28 is an Arm B only visit, so Arm A participants never see it.
Each participant tries every treatment being compared, one after another, in a random order. Their results on one treatment are compared with their own results on the other, so each person acts as their own control.
Carryover is the previous treatment still acting in a later period. A period effect is a change over time that would happen whatever the treatment, such as seasonal symptoms. Balanced sequences handle period effects; a long enough washout is the main defence against carryover.
Because the comparison is within each person, differences between people do not add noise. How much smaller depends on how much of the total variability is between people; the crossover sample size calculator works this out from the within-subject standard deviation.
Yes. Williams designs and other multi-period crossovers compare three or more treatments, with sequences chosen so each treatment follows every other treatment equally often. They take longer per participant.
They contribute no within-person comparison for the primary analysis, although their safety data still count. The analysis plan should say how incomplete participants are handled, and the sample size should allow for expected dropout.
Yes, for suitable conditions. They are standard in bioequivalence and many early-phase studies, and ICH statistical guidance discusses them. The protocol needs to justify why carryover is not expected.
Keep exploring
Crossover trial sample size calculator
Participants per sequence for a 2x2 design.
Washout period
How long the gap between periods should be.
Pharmacokinetics and bioequivalence
Where crossovers are standard.
N-of-1 trial software
Multiple crossovers in one person.
Randomization
How sequences are allocated.
Schedule of assessments builder
Lay out periods and visits.
Free sandbox with every feature: two sequences, anchored visits, a daily diary and dummy participants. No credit card, no time limit.