Glossary · Study designUpdated November 27, 2026

Non-inferiority trial design: what it is and how the margin is set

A non-inferiority (NI) trial tests whether a new treatment is not worse than an established active treatment by more than a pre-specified margin. It is used when a placebo arm would be unethical and the new treatment offers something else: fewer side effects, easier dosing, lower cost.

  • Non-inferiority in plain language
  • Worked example with demo data
  • What to capture in the eCRF

Free sandbox · No credit card · 21 CFR Part 11 compliant

  • ISO 27001 certified
  • 21 CFR Part 11 compliant
  • GDPR compliant
  • EU and US data hosting
  • HIPAA compliant
  • ICH GCP E6(R3) compliant
Study designNI

Non-inferiority trial

noun · clinical research

A randomized trial comparing a new treatment with an active control, designed to rule out that the new treatment is worse by more than a pre-defined margin (M2) that preserves a clinically meaningful share of the control’s effect over placebo (M1).

Related terms

NI marginM1 and M2Assay sensitivityConstancy assumptionEquivalence trial

In short

  • An NI trial does not try to show the new treatment is better. It tries to show that the lower limit of the confidence interval for the difference stays above minus the margin.
  • FDA guidance on NI trials (final, November 2016) describes two margins: M1, the whole effect of the active control over placebo, and M2, the largest loss of that effect that is clinically acceptable. M2 is smaller than M1.
  • An NI trial has no placebo arm, so it relies on assay sensitivity: confidence that the trial would have detected a difference if one existed. That rests on the constancy assumption, that the control works as well now as in the historical trials.
  • Sloppy conduct (poor adherence, missing data, misclassified outcomes) pushes arms together and can make an inferior drug look non-inferior. That is the opposite of a superiority trial, where sloppiness hides a real effect.
  • Regulators usually want NI shown in both the per-protocol and the intention-to-treat (or full analysis) populations.

Explained

Why non-inferiority trials exist and how they are judged

When an effective treatment exists, giving a placebo instead can be unethical, especially for serious or irreversible outcomes (see placebo-controlled trials for the ethics). The practical comparison is then against the active treatment. If the new product has another advantage, such as an oral form, fewer infusions or a better safety profile, it does not need to beat the active control on efficacy. It needs to show it does not lose too much.

The result is read from a confidence interval for the treatment difference (new minus control, oriented so that negative means worse). If the whole interval lies above minus M2, non-inferiority is shown. If it also lies above zero, many protocols allow a pre-specified switch to a superiority claim. Testing in the other direction, from superiority to NI, is generally not accepted unless the margin was fixed in advance. The difference from an equivalence trial is that equivalence needs the interval inside both minus and plus the margin.

Choosing the margin: M1 and M2

M1 is the effect the active control is reliably known to have over placebo, usually estimated by meta-analysis of historical placebo-controlled trials. Because the historical estimate is uncertain, a conservative value is often taken, such as the bound of its confidence interval closest to no effect. M2 is a clinical judgement about how much of M1 can be given up. Preserving about half of M1 is a common convention, not a rule; the right share depends on the disease, the outcome and what the new treatment offers in exchange. FDA guidance asks sponsors to justify both; check the current text before relying on any specific method.

Showing NI with respect to M1 supports the conclusion that the new drug has some effect over placebo. Showing it with respect to M2 supports the stronger conclusion that it keeps a clinically acceptable share of the control’s effect. The margin goes in the protocol and the statistical analysis plan before unblinding, and it drives the sample size: a small margin needs a large trial, as the non-inferiority sample size calculator shows.

Assay sensitivity and constancy

Assay sensitivity is the ability of a trial to distinguish an effective treatment from a less effective one. A placebo-controlled trial proves it internally: if the drug beats placebo, the trial could detect differences. An NI trial cannot prove it from its own data, so it borrows from history. That only works if the new trial looks like the historical ones: similar population, dose, background therapy, endpoint definition and timing. If standard care has improved, the control’s effect over placebo may now be smaller than M1 suggests, and an NI conclusion could be hollow.

Per-protocol and intention-to-treat

In a superiority trial, the intention-to-treat analysis is conservative: non-adherence dilutes the difference and makes a positive result harder. In an NI trial, the same dilution makes a positive result easier. Per-protocol analysis removes some dilution but introduces selection, because the people who stay on protocol are not a random subset. Showing NI in both populations, with consistent results, is the usual expectation. Today many teams also describe the target through the estimand framework, which states how treatment discontinuation and rescue therapy are handled instead of relying only on population labels.

Worked example

Reading an NI result against the margin (demo data)

Hypothetical study DEMO-202: responder rate on the active control 80%, on the new treatment 79%. Historical trials give M1 = 10 percentage points; the team chooses M2 = 5 points (half of M1). Confidence intervals are two-sided 95% by the normal approximation.

ScenarioDifference (new minus control)95% CIVersus M2 = -5Conclusion
300 per arm-1.0 points-7.5 to 5.5Lower bound below -5Inconclusive: NI not shown
1,000 per arm-1.0 points-4.5 to 2.5Lower bound above -5Non-inferior with respect to M2
1,000 per arm, poor adherence in both armsabout 0 pointsnarrower, shifted toward 0Looks betterSuspicious: check PP and adherence data

Demo numbers only. The third row is qualitative: when adherence collapses in both arms, the arms converge and NI is easier to "show", which is why conduct quality matters so much in NI trials.

Designing one

Non inferiority trial design, step by step

  1. 1

    Confirm NI is the right question

    There must be an active control with a well-documented effect over placebo, and a reason to accept a small loss of efficacy in exchange for another benefit.

  2. 2

    Estimate M1 from historical evidence

    Summarise placebo-controlled trials of the control, check they resemble your planned population and endpoint, and take a conservative estimate of the effect.

  3. 3

    Set M2 with clinicians

    Agree how much of M1 may be lost, write down why, and consider discussing it with the regulator before the protocol is final.

  4. 4

    Size the trial

    Use the margin, expected true difference, alpha (often one-sided 2.5%) and power; add a buffer for dropout with the dropout-adjusted sample size calculator.

  5. 5

    Protect conduct quality

    Plan adherence monitoring, retention, blinded outcome assessment where possible, and tight control of protocol deviations, since each weakens assay sensitivity.

  6. 6

    Pre-specify the analyses

    State the estimand, the analysis populations, how missing data are handled, and any switch from NI to superiority in the SAP before unblinding.

Track adherence and deviations from the first visit

Build dosing, adherence and deviation forms in the free sandbox and see how edit checks and the audit trail behave with dummy data. No credit card, no time limit.

Try Capture free

Data capture

Why conduct data decide an NI trial

In an NI trial, the data that sit around the endpoint are almost as important as the endpoint itself. Reviewers will ask how many participants stopped treatment, when, and why; whether they took prohibited or rescue medication; and whether deviations were balanced between arms. These are the inputs for the per-protocol population, for the estimand strategies and for sensitivity analyses on missing data.

Practical consequences for the eCRF: record exposure and adherence in structured fields (pill counts and adherence), capture treatment discontinuation as its own event with a date and coded reason, log concomitant medications with start and stop dates, and classify protocol deviations consistently before database lock. If assessors can be blinded, make sure the system keeps them blinded; see blinding.

Superiority vs non-inferiority vs equivalence
SuperiorityNon-inferiorityEquivalence
QuestionIs new better?Is new not much worse?Are they about the same?
Success when CI isAbove 0Above -M2Inside -M to +M
Placebo armOften
Effect of sloppy conductHides a real effectCan fake a successCan fake a success
Key analysis setITTPP and ITTPP and ITT
Summary for orientation; your SAP and regulator set the details.

In Capture

Adherence, deviations and blinding in one system

Capture runs EDC, randomization and ePRO in one system with one audit trail, so dosing diaries, site-entered adherence, concomitant medications and deviations sit next to the endpoint data. Blinded roles never receive treatment-arm values; that is enforced by masked database views and row-level security, not just the user interface. Edit checks raise auto-queries when a value breaks a rule, and every change keeps the old value, new value and reason.

  • Randomization and EDC in the same audit trail.
  • Blinded roles never see treatment-arm values.
  • Concomitant medication and lab tables as repeating rows with their own audit trail.
Non-inferiority sample size calculator

Study coordinator

Subject 01-004

Randomized · R-0012

Treatment assignment blinded

KitK-10418

Arm columnNot sent

Unblinded administrator

Subject 01-004

Randomized · R-0012

Treatment: Active (A)

KitK-10418

Arm columnA

Same subject, same screen. The arm never reaches blinded roles.

FAQ

Common questions

Something not covered here? Ask us directly.

What is a non-inferiority trial?

A randomized trial that compares a new treatment with an active control and aims to show the new treatment is not worse by more than a pre-specified margin.

What are M1 and M2?

M1 is the effect of the active control over placebo, estimated from historical trials. M2 is the largest loss of that effect judged clinically acceptable, so M2 is smaller than M1. FDA guidance on NI trials describes both.

Why do NI trials need both per-protocol and ITT analyses?

Non-adherence and other conduct problems make arms look more alike, which favours a false NI conclusion in the ITT analysis. Per-protocol analysis reduces that but adds selection bias. Consistent results in both are more convincing.

Can a non-inferiority trial show superiority?

Yes, if the protocol pre-specifies a test for superiority after NI is shown and the confidence interval lies entirely above zero. The reverse switch, from failed superiority to NI, generally needs a margin fixed in advance.

What is assay sensitivity?

The ability of a trial to tell an effective treatment from a less effective one. NI trials cannot show it internally, so they rely on similarity to historical placebo-controlled trials of the active control.

How is the sample size of an NI trial calculated?

From the margin, the expected true difference, the one-sided alpha and the power. Smaller margins need much larger trials. The non-inferiority sample size calculator on this site does the calculation.

Run an NI trial on data you can defend

Free sandbox with every feature: randomization, adherence forms, deviations and audit trail. No credit card, no time limit.

Try Capture free