This data set contains the simulation data for the Nature Astronomy publication "Numerical evidence for a small-scale dynamo approaching solar magnetic Prandtl numbers". Magnetic fields on small scales are ubiquitous in the universe. Though they can often be observed in detail, their generation mechanisms are not fully understood. One possibility is the so-called small-scale dynamo (SSD). Prevailing numerical evidence, however, appears to indicate that an SSD is unlikely to exist at very low magnetic Prandtl numbers (Pm) such as are present in the Sun and other cool stars. We have performed high-resolution simulations of isothermal forced turbulence employing the lowest Pm values so far achieved. Contrary to earlier findings, the SSD turns out to be not only possible for Pm down to 0.0031, but even becomes increasingly easier to excite for Pm below 0.05. We relate this behaviour to the known hydrodynamic phenomenon referred to as the bottleneck effect. Extrapolating our results to solar values of Pm indicates that an SSD would be possible under such conditions.