Named originally for their effects on peripheral end organs, the melanocortin system controls a diverse set of physiological processes through a series of five G-protein-coupled receptors and several sets of small peptide ligands. The central melanocortin system plays an essential role in homeostatic regulation of body weight, in which two alternative ligands, alpha-melanocyte-stimulating hormone and agouti-related protein, stimulate and inhibit receptor signaling in several key brain regions that ultimately affect food intake and energy expenditure. Much of what we know about the relationship between central melanocortin signaling and body weight regulation stems from genetic studies. Comparative genomic studies indicate that melanocortin receptors used for controlling pigmentation and body weight regulation existed more than 500 million years ago in primitive vertebrates, but that fine-grained control of melanocortin receptors through neuropeptides and endogenous antagonists developed more recently. Recent studies based on dog coat-color genetics revealed a new class of melanocortin ligands, the beta-defensins, which reveal the potential for cross talk between the melanocortin and the immune systems.