Inflammatory responses determine the pathological course of spinal cord injury. Here, the authors report on pH responsive fibers for triggered release of IL-4 plasmid liposomes and sustained release of nerve growth factor to regulate the immune response and promote nerve regeneration to enhance functional recovery.