The etiopathogenesis of idiopathic scoliosis (IS), a highly prevalent spinal deformity that occurs in the absence of obvious congenital or physiological abnormalities, is poorly understood. Although recent zebrafish genetic studies have linked cilia motility and cerebrospinal fluid (CSF) flow defects with scoliosis progression, underlying mechanisms were not identified. Here, we use next-generation sequencing and conditional genetic methodologies to define the spatial and biological origins of spinal curve formation in ptk7 mutant zebrafish, a faithful IS model. We demonstrate that focal activation of proinflammatory signals within the spinal cord is associated with, and sufficient for, induction of spinal curvatures. Furthermore, administration of acetylsalicylic acid (aspirin) or N-acetylcysteine (NAC) to juvenile ptk7 mutants significantly reduces the incidence and/or severity of scoliosis phenotypes. Together, our results implicate neuroinflammation, downstream of CSF defects, in spinal curve formation and provide intriguing evidence that simple immunomodulating therapies might prove effective in managing idiopathic-like spinal deformities.