The transport of a passive scalar at unity Schmidt number in a turbulent flow over a random sphere pack is investigated by direct numerical simulation. A bed-normal scalar flux is introduced by prescribed scalar concentration values at the bottom and top domain boundaries, whereas sphere surfaces are impermeable to scalar fluxes. We analyse eight different cases characterised by friction Reynolds numbers
$Re_\tau \in [150, 500]$ and permeability Reynolds numbers
$Re_K \in [0.4, 2.8]$ at flow depth-to-sphere diameter ratios of
$h/D \in \{ 3, 5, 10 \}$. The dimensionless roughness heights lie within
$k_s^+ \in [20,200]$. The free-flow region is dominated by turbulent scalar transport and the effective diffusivity scales with flow depth and friction velocity. Near the interface, dispersive scalar transport and molecular diffusion gain importance, while the normalised near-interface effective diffusivity is approximately proportional to
$Re_K^2$. Even without a macroscopic bed topography, local hotspots of dispersive scalar transport are observed (‘chimneys’), which are linked to strong spatial variations in the time-averaged scalar concentration field. The form-induced production of temporal scalar fluctuations, however, goes along with a homogenisation of those spatial variations of the scalar concentration field due to turbulent fluid motion. Accordingly, form-induced production determines the interaction of turbulent and dispersive scalar transport at the interface. With increasing
$Re_K$, momentum from the free-flow region entrains deeper into the sediment bed, such that the form-induced production intensifies and peaks at lower positions. As a result, the transition from dispersive to turbulent scalar transport is observed deeper inside the sphere pack.