NLRP3-deficient mice were fed a high-fat diet for 24 weeks to establish obesity-related spermatogenesis impairment. Here, NLRP3 is linked to obesity due to melanocortin 4 receptor deficiency.