These findings suggest that HFD-induced obesity disrupts epigenetic features in the testes, specifically through the modulation of HDAC8 and histone H4 acetylation, providing novel insight into obesity-induced male reproductive dysfunction. Here, HDAC8 is linked to obesity due to melanocortin 4 receptor deficiency.