Our study showed that the mastitis immunological profile in the mammary gland may be related to specific HMOs, as the levels of the branched hexasaccharide LNH, its disialylated derivative DSLNH, 3’SL, and DFLac were positively associated to some pro-inflammatory cytokines (IL2, IL6, IL17 and IFNγ). The gene discussed is IL17A; the disease is mastitis.