Oral administration of BER/CH-NPs and CRE/CH-NPs to mastitis rats significantly (P ≤ 0.05) attenuated TNF-α (22.1, 28.6 pg/ml), IL-6 (33.4, 42.9 pg/ml), IL-18 (21.7, 34.7 pg/ml), IL-4 (432.9, 421.6 pg/ml), and MPO (87.1, 89.3 pg/ml) compared to mastitis group alongside the improvement of MG histopathological findings without any side effect on renal and hepatic functions. This evidence concerns the gene TNF and mastitis.