Microglia-specific knock-down of Bmal1 improves memory and protects mice from high fat diet-induced obesity. Here, BMAL1 is linked to obesity due to melanocortin 4 receptor deficiency.