Selective pressure from parasites is thought to maintain the polymorphism of major histocompatibility complex (MHC) genes. Although a number of studies have shown a relationship between the MHC and parasitic infections, the fitness consequences of such associations are less well documented. In the present paper, we characterised the variation in exon 2 of MHC class II DRB gene in the root vole and examined the effects of that gene on parasite prevalence and winter survival. We identified 18 unique exon 2 sequences, which translated into 10 unique amino acid sequences. Phylogenetic analysis revealed the presence of three distinct clusters, and allele distributions among these individuals suggested that the clusters correspond to three different loci. Although the rate of synonymous substitutions (d S ) exceeded the rate of nonsynonymous substitutions (d N ) across sequences, implying purifying selection, d N was significantly elevated at antigen-binding sites, suggesting that these sites could be under positive selection. Screening for parasites revealed a moderate prevalence of infection with gastrointestinal parasites (24 % infected), but a high infection rate for blood parasites (56 % infected). Infection with the blood parasite Babesia ssp. decreased survival almost twofold (25.7 vs. 13.9 %). Animals possessing the amino acid sequence AA*08 survived better than others (44.9 vs. 22 %), and they were infected with Babesia ssp. less often (13.9 vs 25.7 %). In contrast, individuals carrying allele AA*05 were infected more often (31.7 vs. 15.3 %). Heterozygosity at one of the putative loci was associated with a lower probability of infection with Babesia ssp., but at the other locus, the association was reversed. The unexpected latter result could be at least partly explained by the increased frequency of the susceptible allele AA*05 among heterozygotes. Overall, we demonstrate that infection with Babesia ssp. is a strong predictor of Electronic supplementary material The online version of this article