We used a novel surveillance system to study nocturnal rodent behaviour in the wild.
We compared behaviours of deer mice on a high- versus low-diversity site.
Deer mice on the high-diversity site showed reduced pathogen transmission behaviour.
There were fewer ‘bold’ deer mice on the high-diversity site.
Pathogen transmission behaviour may be affected by biodiversity.