Male infertility is a global problem, contributing to nearly 50% of infertility cases and affecting approximately 7% of the male population. A deteriorating environment is the main modifiable cause. Environmental contaminants such as air pollution, heavy metals, endocrine disrupting chemicals (EDCs), microplastics, pharmaceuticals and climate change impair sperm quality. These toxins reduce spermatogenesis and sperm function through oxidative stress, hormonal imbalance, inflammation, and epigenetic changes. The review recommends incorporating environmental exposure data (ecoprofiles) into routine semen analysis. It proposes an integrated framework with AI algorithms that analyze multiomic biomarkers from genomics to metabolomics along with environmental metrics to predict fertility risk and personalized treatments in assisted reproduction. Future studies must find reliable biomarkers and elucidate the molecular processes linking contaminants to infertility. Comprehensive toxicological studies are intended to improve treatment and prevention to ensure male fertility.