Abnormalities of membranous and endochondral ossification in patients with adolescent idiopathic scoliosis (AIS) remain incompletely understood. To investigate abnormalities in the melatonin signaling pathway and cellular response to melatonin in AIS, a case‑control study of osteogenic and chondrogenic differentiation was performed using human mesenchymal stem cells (hMSCs). AIS was diagnosed by physical and radiographic examination. hMSCs were isolated from the bone marrow of patients with AIS and control subjects (n=12 each), and purified by density gradient centrifugation. The expression levels of melatonin receptors (MTs) 1 and 2 were detected by western blotting. Osteogenic and chondrogenic differentiation was induced by culturing hMSCs in osteogenic and chondrogenic media containing vehicle or 50 nM melatonin. Alkaline phosphatase (ALP) activity assays, quantitative glycosaminoglycan (GAG) analysis, and reverse transcription‑quantitative polymerase chain reaction analysis were performed. Compared with controls, MT2 demonstrated low expression in the AIS group. Melatonin increased ALP activity, GAG synthesis and upregulated the expression of genes involved in osteogenic and chondrogenic differentiation including, ALP, osteopontin, osteocalcin, runt-related transcription factor 2, collagen type II, collagen type X, aggrecan and sex‑determining region Y-box 9 in the normal control hMSCs, but did not affect the AIS groups. Thus, AIS hMSCs exhibit abnormal cellular responses to melatonin during osteogenic and chondrogenic differentiation, which may be associated with abnormal membranous and endochondral ossification, and skeletal growth. These results indicate a potential modulating role of melatonin via the MT2 receptor on abnormal osteogenic and chondrogenic differentiaation in patients with AIS.