Sleep is essential for survival, yet it represents a time of extreme vulnerability, including through exposure to parasites and pathogens transmitted by biting insects. To reduce the risks of exposure to vector-borne disease, the encounter-dilution hypothesis proposes that the formation of groups at sleep sites is influenced by a “selfish herd” behavior, where individuals dilute risk by sleeping with other group members. To investigate this hypothesis in the context of chimpanzee (Pan troglodytes schweinfurthii) sleep site selection, we employed four light traps that we also baited with nontoxic chemical attractants to capture insects throughout the night. Across 74 nights with 294 traps set, we collected 66,545 individual insects. Consistent with the encounter-dilution hypothesis, we found that insect exposure, inferred by absolute numbers of insects caught in nighttime traps, was strongly influenced by the grouping of traps. Specifically, single traps caught more insects—including vector transmitting female mosquitoes—than grouped traps, and the number of insects caught increased with increasing distance between grouped traps. Moreover, ground sleep sites caught fewer insects than arboreal sleep sites. In addition, traps associated with Cynometra alexandri trees resulted in significantly lower catch rates than Pseudospondias microcarpa–associated traps. Our results suggest wild chimpanzees use group sleep as a strategy to avoid biting insects that serve as hosts for vector-borne diseases.