These findings demonstrate that CD4 protein and CD4+ T-cells play essential roles in host defense during the development of mastitis. Here, CD4 is linked to mastitis.