NLRP3 promoted obesity-related spermatogenesis impairment. Here, NLRP3 is linked to obesity due to melanocortin 4 receptor deficiency.