Along with its many advantages, social roosting imposes a major risk of pathogen transmission. How social animals reduce this risk is poorly documented. We used lipopolysaccharide challenge to imitate bacterial infection in both a captive and a free-living colony of an extremely social, long-lived mammal—the Egyptian fruit bat. We monitored behavioral and physiological responses using an arsenal of methods, including onboard GPS to track foraging, acceleration sensors to monitor movement, infrared video to record social behavior, and blood samples to measure immune markers. Sick-like (immune-challenged) bats exhibited an increased immune response, as well as classic illness symptoms, including fever, weight loss, anorexia, and lethargy. Notably, the bats also exhibited behaviors that would reduce pathogen transfer. They perched alone and appeared to voluntarily isolate themselves from the group by leaving the social cluster, which is extremely atypical for this species. The sick-like individuals in the open colony ceased foraging outdoors for at least two nights, thus reducing transmission to neighboring colonies. Together, these sickness behaviors demonstrate a strong, integrative immune response that promotes recovery of infected individuals while reducing pathogen transmission inside and outside the roost, including spillover events to other species, such as humans.