Overnutrition causes obesity, a global health problem without any effective therapy. Obesity is characterized by low-grade inflammation, which predisposes individuals to metabolic syndrome via unknown mechanisms. Here, we demonstrate that abolishing the interleukin-17A (IL-17A) axis in mice by inhibition of RORγt-mediated IL-17A production by digoxin, or by ubiquitous deletion of IL-17 receptor A (Il17ra), suppresses diet-induced obesity (DIO) and metabolic disorders, and promotes adipose-tissue browning, thermogenesis and energy expenditure. Genetic ablation of Il17ra specifically in adipocytes is sufficient to completely prevent DIO and metabolic dysfunction in mice. IL-17A produced in response to DIO induces PPARγ phosphorylation at Ser273 in adipocytes in a CDK5-dependent manner, thereby modifying expression of diabetogenic and obesity genes, which correlates with IL-17A signalling in white adipose tissues of individuals with morbid obesity. These findings reveal an unanticipated role for IL-17A in adipocyte biology, in which its direct action pathogenically reprograms adipocytes, promoting DIO and metabolic syndrome. Targeting the IL-17A axis could be an efficient antiobesity strategy.