Relationships between genetic measures of mastitis (somatic cell score, score for clinical mastitis, and scores for IMI with major or minor pathogens) and immunological parameters (physiological and molecular markers) were examined for periparturient Holstein cows. Physiological markers included 11 in vitro immunological assays. Molecular markers included the second exon of the DRB3 locus of the bovine major histocompatibility complex, the IgG2 isotype genotype, and the CD18 genotype (the locus responsible for bovine leukocyte adhesion deficiency). A gene substitution model was used to estimate the additive genetic effects of alleles of the three molecular markers on estimated breeding value (EBV) for mastitis measures. Pearson correlation coefficients between EBV for immunological assays and EBV for mastitis measures were computed. Molecular markers explained up to 40% of the variation in EBV for measures of mastitis. The presence of allele DRB3.2*16 was associated with higher EBV for SCS. Allele DRB3.2*8 was associated with increased EBV for clinical mastitis, as was the IgG2b allele and the normal CD18 allele. Alleles DRB3.2*11, *23, IgG2a, and the recessive allele for bovine leukocyte adhesion deficiency were associated with decreased clinical mastitis. A positive genetic association was found between allele DRB3.2*24 and EBV for IMI by major pathogens and between DRB3.2*3 and IMI by minor pathogens. Several correlations between EBV for immunological assays and EBV for mastitis measures were significantly different from 0. Cows with low EBV for SCS tended to have neutrophils that had greater functional ability at maximal immunosuppression, low serum IgG1, and high numbers of circulating mononuclear cells. Immunological parameters, including physiological and molecular markers, are useful aids to understand the genetics of resistance to mastitis.