The transcription factor E2F4 is a key determinant of cell differentiation and cell‐cycle progression, but its function and regulatory mechanism are not completely understood. Here, we report that E2F4 acts as a positive regulator of the biosynthesis of milk components and proliferation of bovine mammary epithelial cells (BMECs). Overexpression of E2F4 in BMECs resulted in the upregulation of β‐casein, triglyceride, and lactose levels and increased cell proliferation, whereas E2F4 knockdown by small interfering RNA had the opposite effects. We further detected that overexpression of E2F4 significantly increased the messenger RNA expression of mTOR, SREBP‐1c, and Cyclin D1, and increased protein levels of SREBP‐1c, and Cyclin D1, and the ratio of p‐mTOR/mTOR, whereas E2F4 knockdown had the opposite effects. E2F4 was almost entirely located in the nucleus, and we further identified, via ChIP‐qPCR analysis, that mTOR, SREBP‐1c, and Cyclin D1 were E2F4 target genes, and exogenous administration of methionine, leucine, β‐estradiol, and prolactin markedly increased the protein levels of E2F4 and its binding to the promoters of these three genes. In summary, our data reveal that E2F4 responds to extracellular stimuli and regulates the expression of mTOR, SREBP‐1c, and Cyclin D1 for milk biosynthesis and proliferation of BMECs.