Mitochondrial dysfunction has been reported to occur in the mammary gland of dairy cows suffering from ketosis. Prohibitin 2 (PHB2) plays a crucial role in regulating mitophagy, which clears impaired mitochondria to maintain normal mitochondrial function. Therefore, the current study aimed to investigate how PHB2 mediates mitophagy, thereby influencing mitochondrial function in the immortalized bovine mammary epithelial cell line (MAC-T cells). First, mammary gland tissue and blood samples were collected from healthy cows (n = 15, BHB <0.6 mM) and cows with clinical ketosis (n = 15, BHB >3.0 mM). Compared with healthy cows, cows with clinical ketosis exhibited lower DMI, milk production, milk protein, milk lactose, and serum glucose. In contrast, milk fat, serum nonesterified fatty acids (NEFA) and BHB were greater in cows with clinical ketosis. The protein abundance of PHB2, peroxisome proliferator activated receptor-γ coactivator-1α (PGC-1α), mitofusin 2 (MFN2) in whole cell lysates (WCL), as well as PHB2, sequestosome-1 (SQSTM1, also called p62), microtubule-associated protein 1 light chain 3-II (MAP1LC3-II, also called LC3-II), and ubiquitinated proteins in mitochondrial fraction were significantly lower in cows with clinical ketosis. The ATP content of mammary gland tissue in cows with clinical ketosis was lower than that of healthy cows. Second, MAC-T were cultured and treated with NEFA (0, 0.3, 0.6, 1.2 mM). The MAC-T treated with 1.2 mM NEFA displayed decreased protein abundance of PHB2, PGC-1α, and MFN2 in WCL, as well as protein abundance of PHB2, p62, LC3-II, and ubiquitinated proteins in mitochondrial fraction. The content of ATP and JC-1 aggregates in 1.2 mM NEFA group were lower than in the 0 mM NEFA group. Additionally, 1.2 mM NEFA disrupted the fusion between mitochondria and lysosomes. The MAC-T were then pretreated with 100 nM rapamycin, followed by treatment with or without NEFA. Rapamycin alleviated impaired mitophagy and mitochondria dysfunction induced by 1.2 mM NEFA. Third, MAC-T were transfected with small interfering RNA to silence PHB2 or a plasmid for overexpression of PHB2, followed by treatment with or without NEFA. The silencing of PHB2 aggravated 1.2 mM NEFA-induced impaired mitophagy and mitochondrial dysfunction, whereas the overexpression of PHB2 alleviated these effects. Overall, this study provides evidence that PHB2, in regulation of mitophagy, is a mechanism for bovine mammary epithelial cells to counteract NEFA-induced mitochondrial dysfunction.