Here we identify sex-specific differences in hypothalamic microglial activation via the CX3CL1-CX3CR1 pathway that mediate the resistance of female mice to diet-induced obesity. The gene discussed is CX3CL1; the disease is obesity disorder.