Dairy cow mammary gland fibrosis causes huge economic losses to livestock production, however, research on dairy cow mammary gland fibrosis is in its infancy and it lacks effective treatments. Therefore, the purpose of this experiment was to explore the correlation between mastitis and fibrosis and mitochondrial damage, and to further explore its pathogenesis. In vivo, mammary tissue and milk samples were collected from healthy cows (n = 10) and mastitis cows (n = 10). The results of the study showed that compared with the control group, the mastitis tissue showed tissue damage, accumulation of collagen fibers, and the content of TGF-β1 in mammary tissue and milk was significantly increased; the level of inflammatory mediators was significantly increased; the fibrotic phenotype, collagen 1, α-SMA, vimentin gene, and protein levels were significantly increased, while the E-cadherin gene and protein levels were significantly decreased. In vitro, based on TGF-β1-induced bMECs, the above experimental results were further confirmed, and TGF-β1 significantly promoted the fibrotic phenotype of bMECs. On the other hand, in vivo results showed that fibrotic mammary tissue had a significantly stronger mitochondrial damage phenotype and significantly higher ROS than the control group. In vitro, the results also found that TGF-β1 induced a significant increase in the mitochondrial damage phenotype of bMECs, accompanied by a large amount of ROS production. Furthermore, in a TGF-β1-induced bMEC model, inhibiting the accumulation of ROS effectively alleviated the elevated fibrotic phenotype of TGF-β1-induced bMECs. In conclusion, the fibrotic phenotype of mammary gland tissue in dairy cows with mastitis was significantly increased, and mastitis disease was positively correlated with mammary fibrotic lesions. In an in vitro and in vivo model of cow mammary fibrosis, bMECs have impaired mitochondrial structure and dysfunction. Inhibiting the accumulation of ROS effectively alleviates the elevated fibrotic phenotype, which may be a potential therapeutic approach to alleviate mammary fibrosis.