Several factors can influence DNA methylation, including genetic variations, age, gender, and environmental exposures. For example, lifestyle factors such as diet, smoking, and exposure to pollutants can lead to changes in DNA methylation patterns. Additionally, certain infections and chronic conditions can also result in altered methylation.