Microglia, the primary immune cells in the central nervous system, play a critical role in regulating neuronal function and fate through their interaction with neurons. Despite extensive research, the specific functions and mechanisms of microglia-neuron interactions remain incompletely understood. In this study, we demonstrate that microglia establish direct contact with myelinated axons at Nodes of Ranvier in the spinal cord of mice. The contact associated with neuronal activity occurs in a random scanning pattern. In response to axonal injury, microglia rapidly transform their contact into a robust wrapping form, preventing acute axonal degeneration from extending beyond the nodes. This wrapping behavior is dependent on the function of microglial P2Y12 receptors, which may be activated by ATP released through axonal volume-activated anion channels at the nodes. Additionally, voltage-gated sodium channels (NaV) and two-pore-domain potassium (K2P) channels contribute to the interaction between nodes and glial cells following injury, and inhibition of NaV delays axonal degeneration. Through in vivo imaging, our findings reveal a neuroprotective role of microglia during the acute phase of single spinal cord axon injury, achieved through neuron-glia interaction.