Dairy cows require a balanced diet that provides enough nutrients to support milk production, growth, and reproduction. Inadequate nutrition can lead to metabolic disorders, impaired fertility, and reduced milk yield. Recent studies have shown that nutrition can affect epigenetic modifications in dairy cows, which can impact gene expression and affect the cows' health and productivity. One of the most important epigenetic modifications in dairy cows is DNA methylation, which involves the addition of a methyl group to the DNA molecule. Studies have shown that the methylation status of certain genes in dairy cows can be influenced by dietary factors such as the level of methionine, lysine, choline, and folate in the diet. Other important epigenetic modifications in dairy cows are histone modification and microRNAs as regulators of gene expression. Overall, these findings suggest that nutrition can have a significant impact on the epigenetic regulation of gene expression in dairy cows. By optimizing the diet of dairy cows, it may be possible to improve their health and productivity by promoting beneficial epigenetic modifications. This paper reviews the main nutrients that can cause epigenetic changes in dairy cattle by analyzing the effect of diet on milk production and its composition.