Skip to main content
v2026.1714 entries · CC-BY 4.0
CASRAI

Epidemiology · Reference

What is confounding?

Confounding is a distortion of the association between an exposure and an outcome caused by a third variable that is related to both. A confounder can create the appearance of an effect, hide a real one, or change its apparent size, threatening causal interpretation.

What makes a variable a confounder

A confounder must satisfy three classic conditions: it is associated with the exposure; it is an independent risk factor for the outcome (a cause of the outcome in its own right); and it is not an intermediate step on the causal pathway from exposure to outcome. A standard illustration is the association between carrying matches and lung disease: smoking is associated with carrying matches and independently causes lung disease, so it confounds the apparent match–disease link. Recognising the third condition matters, because adjusting for a variable that lies on the causal pathway can wrongly remove part of the real effect.

How confounding distorts findings

Confounding can mislead in several directions. It can produce a spurious association where none truly exists, exaggerate or shrink a genuine association, or even reverse its apparent direction. This makes it one of the central reasons that an observed association is not enough to establish causation. Distinguishing confounding from selection bias and from chance is part of the routine critical appraisal of any observational study, and it is a key consideration when interpreting measures such as relative risk and the odds ratio.

Controlling for confounding

Confounding can be tackled at the design stage and the analysis stage. In design, randomisation (in trials) tends to balance confounders — known and unknown — across groups; restriction limits the study to one level of the confounder; and matching aligns the groups on it.

In analysis, stratification examines the association within levels of the confounder, and multivariable adjustment (such as regression) statistically holds measured confounders constant. A key limitation is that these analytic methods can only address confounders that have been measured — residual and unmeasured confounding can remain, which is why randomised designs are valued where feasible.

Confounding and causal inference

Confounding is central to causal inference: assessing it is one of the considerations, alongside chance, bias and the strength and consistency of evidence, that epidemiologists weigh before interpreting an association as causal. Modern approaches use causal diagrams (directed acyclic graphs) to reason explicitly about which variables to adjust for and which to leave alone, helping avoid both under- and over-adjustment. Transparent reporting of how confounding was handled — which variables were considered and adjusted for — is required by guidelines such as STROBE and is essential to credible findings.

Key facts

At a glance

  • Definition: Third variable distorting an exposure–outcome link
  • Three tests: Linked to exposure; causes outcome; not on the pathway
  • Effect: Can create, hide, inflate or reverse an association
  • Design fixes: Randomisation, restriction, matching
  • Analysis fixes: Stratification, multivariable adjustment

Common questions

FAQ

What is a confounder?+

A confounder is a third variable that is associated with the exposure, is an independent cause of the outcome, and does not lie on the causal pathway between them. Because it relates to both exposure and outcome, it can distort the apparent association and lead to incorrect conclusions about cause and effect.

How do you control for confounding?+

Confounding can be addressed in design through randomisation, restriction or matching, and in analysis through stratification or multivariable adjustment such as regression. Analytic methods can only handle confounders that were measured, so unmeasured confounding may remain — one reason randomised designs are valued.

What is the difference between confounding and selection bias?+

Confounding is caused by a third variable related to both exposure and outcome, while selection bias arises from how participants are chosen or retained. Some confounding can be adjusted for analytically, but selection bias is mainly prevented through study design.

The step most authors miss

Doing CRediT right? Don’t stop at the statement.

A CRediT statement credits you inside one paper. The recognition CRediT was built for happens when those roles are tied to you, persistently. Sign in with your ORCID — free — and claim your CRediT contributions on casrai.org, the home of the standard. They become a verified, portable part of your identity, not a line that disappears into one PDF.

Free: claim your contributions, then export a journal-ready CRediT statement, schema.org structured data, JATS XML, CSV or BibTeX — and preview your public profile. A membership publishes that profile publicly and verifies the journals you serve.

Referenced across the research world

University of Cambridge logoColumbia University logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoCrossref logoUniversity of Cambridge logoColumbia University logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoCrossref logo
  • University of Cambridge logo
  • Columbia University logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo
  • Crossref logo

View CASRAI adoption →