Changes in FSH, LH, and prolactin were statistically insignificant.<h4>Conclusions</h4>Metabolic and bariatric surgery (MBS) is associated with marked improvements in semen quality and serum testosterone levels, supporting its role as an effective therapeutic strategy for obesity-related male infertility. This evidence concerns the gene PRL and obesity due to melanocortin 4 receptor deficiency.