Gpr17 deficiency in POMC neurons protects metabolic homeostasis in a sex-dependent manner during dietary and aging challenges, suggesting that Gpr17 could be an effective anti-obesity target in specific populations with poor metabolic control. Here, POMC is linked to obesity due to melanocortin 4 receptor deficiency.