Spinal cord injury is a disease that causes severe damage to the central nervous system. Currently, there is no cure for spinal cord injury. Azithromycin is commonly used as an antibiotic, but it can also exert anti-inflammatory effects by down-regulating M1-type macrophage genes and up-regulating M2-type macrophage genes, which may make it effective for treating spinal cord injury. Bone mesenchymal stem cells possess tissue regenerative capabilities that may help promote the repair of the injured spinal cord. In this study, our objective was to explore the potential of promoting repair in the injured spinal cord by delivering bone mesenchymal stem cells that had internalized nanoparticles preloaded with azithromycin. To achieve this objective, we formulated azithromycin into nanoparticles along with a trans-activating transcriptional activator, which should enhance nanoparticle uptake by bone mesenchymal stem cells. These stem cells were then incorporated into an injectable hydrogel. The therapeutic effects of this formulation were analyzed in vitro using a mouse microglial cell line and a human neuroblastoma cell line, as well as in vivo using a rat model of spinal cord injury. The results showed that the formulation exhibited anti-inflammatory and neuroprotective effects in vitro as well as therapeutic effects in vivo. These results highlight the potential of a hydrogel containing bone mesenchymal stem cells preloaded with azithromycin and trans-activating transcriptional activator to mitigate spinal cord injury and promote tissue repair.