Our results, for the first time, revealed a potential role of IgG+CD27+ B cells, CD4+CD8+ T cells and WC1+ γδ T cells in the defense of B. contaminans-induced mastitis in cows. The gene discussed is CD8A; the disease is mastitis.