  Elastic scattering between dark matter particles and a relativistic species
such as photons or neutrinos leads to a transfer of energy from the latter due
to their intrinsically different temperature scaling relations. In this work,
we point out that this siphoning of energy from the radiation bath manifests as
a change in the effective number of neutrinos $N_{\rm eff}$, and compute the
expected shift $\Delta N_{\rm eff}$ for dark matter-photon and dark
matter-neutrino elastic scattering as a function of the dark matter mass
$m_\psi$ and scattering cross section $\sigma_{\psi-X}$. For
$(m_\psi,\sigma_{\psi-X})$-parameter regions already explored by nonlinear
probes such as the Lyman-$\alpha$ forest through collisional and/or
free-streaming damping, we find shifts of $|\Delta N_{\rm eff}| \simeq
O(10^{-2})$, which may be within the reach of the proposed CMB-S4 experiment.
For most of the as-yet-unexplored parameter space, however, we expect $|\Delta
N_{\rm eff}| \lesssim O(10^{-3})$. An ideal 21 cm tomography survey of the dark
ages limited only by cosmic variance is potentially sensitive to $|\Delta
N_{\rm eff}| \simeq O(10^{-6})$, in which case dark matter masses up to
$m_{\psi} \sim 10 \, \textrm{MeV}$ may be probed via their effect on $N_{\rm
eff}$.
