As a result, CNNM4 overexpression in adipocytes or Mg supplementation in adipose tissue ameliorates obesity by promoting thermogenesis. This evidence concerns the gene CNNM4 and obesity due to melanocortin 4 receptor deficiency.