Intrinsic, diffusion-driven toroidal (bootstrap) currents between −7 and 17 kA were measured in the optimised stellarator Wendelstein 7-X (W7-X) for several magnetic configurations at line-integrated plasma densities between 2 × 1019 and 1.6 × 1020 m−2 and heating powers between 0.5 and 6 MW. The sign of the bootstrap current changes with field reversal, and its magnitude decreases with the mirror term and the rotational transform of the magnetic configuration as well as the line-integrated plasma density, and increases with the heating power. Both the absolute values and the dependencies agree with neoclassical calculations within their respective uncertainties, confirming the neoclassical optimisation of W7-X for small bootstrap currents. [ABSTRACT FROM AUTHOR]