β-sitosterol, a phytosterol with multiple biological activities, has been used in the pharmaceutical industry. However, there are only a few reports on the use of β-sitosterol in improving milk synthesis in dairy cows. This study aimed to investigate the effects of β-sitosterol on milk fat and protein syntheses in bovine mammary epithelial cells (MAC-T) and its regulatory mechanism. MAC-T cells were treated with different concentrations (0.01, 0.1, 1, 5, 10, 20, 30, or 40 μM) of β-sitosterol, and the expression levels of milk protein and fat synthesis-related genes and proteins were analyzed. β-sitosterol at 0.1, 1, and 10 μM concentrations promoted the mRNA and protein expression of β-casein. β-sitosterol (0.1, 1, 10 μM) increased the mRNA and protein expression levels of signal transducer activator of transcription 5 (STAT5), mammalian target of rapamycin (mTOR), and ribosomal protein S6 kinase beta-1 (S6K1) of the JAK2/STAT5 and mTOR signaling pathways. It also stimulated the milk fat synthesis-related factors, including sterol regulatory element-binding protein 1 (SREBP1), peroxisome proliferator-activated receptor-gamma (PPARγ), acetyl-CoA carboxylase (ACC), lipoprotein lipase (LPL), and stearyl CoA desaturase (SCD). β-sitosterol (0.1, 1, 10 μM) also significantly increased the expression of growth hormone/insulin-like growth factor-1 (GH/IGF-1) axis and hypoxia-inducible factor-1α (HIF-1α)-related genes. Notably, the compound inhibited the expression of the negative regulator, the suppressor of cytokine signaling 2 (SOCS2) at the two lower concentrations (0.1, 1 μM), but significantly promoted the expression at the highest concentration (30 μM). These results highlight the role of β-sitosterol at concentrations ranging from 0.1 to 10 μM in improving milk protein and fat syntheses, regulating milk quality. Therefore, β-sitosterol can be used as a potential feed additive to improve milk quality in dairy cows.