Immune molecules produced during infection influence the social behaviors of mouse models of autism spectrum disorder. The findings may shed light on why some children on the autism spectrum experience a temporary reduction in behavioral symptoms when they have a fever.