In summary, miR-223 has an inhibitory effect on S. aureus-induced cell apoptosis and necrosis by regulating PTPRF, DCTN1, and DPP9. These genes were significantly enriched in QTL regions associated with bovine mastitis resistance, underscoring their relevance in genetic regulation of disease resilience. Here, PTPRF is linked to mastitis.