To avoid disease, people should maintain close ties with ingroup members but maintain distance from outgroup members who possess novel pathogens. Consistent with this disease-avoidance hypothesis, pathogenic stimuli, as well as increased personal vulnerability to disease, are associated with xenophobic and ethnocentric attitudes. Researchers assume that this disease-avoidance process is an automatic emotional response that compels negative attitudes and behavioral avoidance. However, when outgroup contact can represent fitness costs or benefits, and when group membership is an uncertain cue to infection risk, it becomes a fitness advantage for a social perceiver to track group membership and thus infection risk. Given that accents can be a cue to group membership, we predicted that the perception of linguistic similarity to ingroup speakers and dissimilarity from outgroup speakers would increase with individual differences in pathogen disgust, and that this association would be most apparent when threat of disease was salient. This hypothesis was confirmed in two experiments. Further, the mechanism was domain specific—disgust due to sexual acts and moral violations did not moderate perceived linguistic distance. The disease-avoidance mechanism is not just an automatic disgust-based reaction; it also operates through the cognitive appraisal of social distance.