Short answer
A forest plot for a meta-analysis shows one row per study and a summary at the bottom:
- A square and a line for each study: the square is the effect estimate, sized by the study's weight; the line is its confidence interval.
- A diamond for the pooled result: its centre is the summary estimate and its width the confidence interval.
- A vertical line at no effect: 1 for ratios, 0 for differences.
- Ratios on a log scale, with labels such as "Favours drug" and "Favours placebo" under the axis.
- The numbers beside the plot: estimates, intervals, weights, and the model and heterogeneity.
These follow the Cochrane Handbook's forest plot recommendations.
The forest plot is the figure most readers look at first in a meta-analysis. In one picture it shows every study, how much each counts, and what they add up to. It also has more conventions than most figures, and reviewers notice when they are missing.
This guide walks through the parts of a forest plot with a worked example, what the Cochrane Handbook recommends, what reviewers check, and short code for R and Python.

The parts of a forest plot

- Study rows: each trial has its name, its raw numbers (events/total in each group), a square for the risk ratio and a line for the 95% confidence interval. Ahmed 2019, for example: 0.59 (0.30 to 1.15).
- Square size: bigger squares mean more weight in the meta-analysis. Diaz 2021, the largest trial, carries 27.9%; Chen 2021 only 7.2%.
- The diamond: the pooled result, 0.77 (0.60 to 0.99). Its centre is the estimate and its ends the confidence interval. It sits left of 1, so on this measure the drug group had fewer events.
- The line of no effect at 1, and a dashed line at the pooled estimate.
- Heterogeneity: I² = 27% and τ² = 0.026 here, shown under the total. Evans 2022 points the other way, which is part of why I² is above zero.
| Study | Drug (events/total) | Placebo (events/total) | Risk ratio (95% CI) | Weight |
|---|---|---|---|---|
| Ahmed 2019 | 12/110 | 20/108 | 0.59 (0.30 to 1.15) | 11.7% |
| Baker 2020 | 30/250 | 41/248 | 0.73 (0.47 to 1.12) | 21.8% |
| Chen 2021 | 8/60 | 9/62 | 0.92 (0.38 to 2.22) | 7.2% |
| Diaz 2021 | 45/400 | 62/395 | 0.72 (0.50 to 1.03) | 27.9% |
| Evans 2022 | 22/150 | 14/152 | 1.59 (0.85 to 2.99) | 12.7% |
| Fischer 2023 | 22/180 | 35/178 | 0.62 (0.38 to 1.02) | 18.6% |
| Total (random effects) | 139/1150 | 181/1143 | 0.77 (0.60 to 0.99) | 100% |
The studies in a forest plot usually come from a systematic review, so the same paper often has a PRISMA flow diagram showing how they were found.
What reviewers check: the Cochrane rules
The Cochrane Handbook's graph recommendations are the most detailed rules for forest plots. The ones reviewers check most often:
“Ratio measures of intervention effect ... should be plotted on the log scale”
- Log scale for ratios, with the axis labelled in the original values (0.5, 1, 2). On a log scale, 0.5 and 2 are the same distance from 1.
- A line at no effect, and optionally a dashed line at the pooled effect.
- Direction labels: "The directions of effect should be clearly shown, preferably directly below the plot", for example "Favours drug" and "Favours placebo".
- The confidence level stated (for example 95%).
- Square size by weight: the block "should usually relate to the amount of information in the study", which in a meta-analysis is its weight.
- The summary in a different style, usually a diamond.
- The method stated: the meta-analysis method in the plot, title or caption, and for random effects, how heterogeneity was estimated.
- A meaningful order, often alphabetical or by year.
Cochrane also recommends RevMan for forest plots in Cochrane reviews, and calling them "forest plots" rather than other names. The caption is where the method, the confidence level and the model go; our figure legend guide shows the pattern.
How to make one in R and Python
R, meta package:
library(meta)
m <- metabin(event.e, n.e, event.c, n.c, studlab = study,
data = df, sm = "RR", method.tau = "DL")
forest(m)
R, metafor package:
library(metafor)
res <- rma(measure = "RR", ai = event.e, n1i = n.e, ci = event.c, n2i = n.c,
data = df, method = "DL", slab = study)
forest(res, atransf = exp)
Python, statsmodels: compute each study's log risk ratio and its variance, then combine and plot.
from statsmodels.stats.meta_analysis import combine_effects
res = combine_effects(log_rr, var_log_rr, row_names=studies, method_re="dl")
fig = res.plot_forest(use_exp=True)
Whichever you use, set the figure to the printed width, keep the text above the journal's minimum size, and save as PDF. Our figure resolution guide explains why vector files work best, and the journal figure requirements table gives the widths and text sizes.
Common forest plot mistakes
- Ratios on a linear axis, which squeezes effects below 1 and stretches those above.
- No "favours" labels, so readers have to guess which side is good.
- All squares the same size, hiding which studies carry the result.
- The model and heterogeneity not stated.
- Tiny text in the numbers columns once the plot is shrunk to a column. Check at real size.
- Only colour to tell groups apart in subgroup plots. Use labels too, and see our colour-blind safe palettes.
- A pooled diamond where pooling is not appropriate. Cochrane says such a meta-analysis "should not be included in a forest plot".
For time-to-event results from a single trial, see the Kaplan-Meier plot guide. For the other checks before you submit, see my scientific figure checklist.
The example uses made-up trials; the risk ratios, weights and random-effects summary were computed for this post. This post explains how to show a meta-analysis, not which model to choose.
Questions
What does the diamond mean in a forest plot?
It is the pooled result of the meta-analysis. The centre is the summary estimate and the left and right points are its confidence interval. If the diamond does not cross the line of no effect, the pooled result is statistically significant at that level.
Why are forest plots drawn on a log scale?
For ratios such as risk ratios and odds ratios, a log scale makes effects in both directions look the same size: 0.5 and 2 sit the same distance from 1. The Cochrane Handbook recommends it.
What do the square sizes mean?
Each square's size shows the study's weight in the meta-analysis. Bigger, more precise studies have more weight and bigger squares.
What is I squared on a forest plot?
I² describes how much of the variation between study results is due to real differences rather than chance. 0% means little heterogeneity; higher values mean the studies disagree more.
What should be under the x-axis of a forest plot?
The measure and scale, such as "Risk ratio (log scale)", and labels showing which direction favours which group, for example "Favours drug" and "Favours placebo".
How do I make a forest plot in R?
Use the meta package (metabin, then forest) or metafor (rma, then forest). Both draw squares sized by weight, confidence intervals and a pooled diamond.
Sources
Sources (1)
Changes: 15 November 2026, a cropped screenshot of the source page added, read that day. 2 November 2026, first published.
ShareEmail
Spotted an error, or a rule that has changed? Please write to support@gofigures.app and I will correct it and note the change on this page.