Based on the principle of antigen-antibody specific binding, an electrochemical sensor utilizing Prussian blue nanoparticles (PBNPs) was developed to detect the expression of the inflammatory cytokine interleukin-6 (IL-6) in vivo following spinal cord injury (SCI). The gene discussed is IL6; the disease is spinal cord injury.