Although pathological changes in axonal morphology have emerged as important features of traumatic brain injury (TBI), the mechanical vulnerability of the axonal microcompartment relative to the cell body is not well understood. We hypothesized that soma and neurite microcompartments exhibit distinct mechanical behaviors, rendering axons more sensitive to a mechanical injury. In order to test this assumption, we combined protein micropatterns with magnetic tweezer rheology to probe the viscoelastic properties of neuronal microcompartments. Creep experiments revealed two opposite rheological behaviors within cortical neurons: the cell body was soft and characterized by a solid-like response, whereas the neurite compartment was stiffer and viscous-like. By using pharmacological agents, we demonstrated that the nucleus is responsible for the solid-like behavior and the stress-stiffening response of the soma, whereas neurofilaments have a predominant contribution in the viscous behavior of the neurite. Furthermore, we found that the neurite is a mechanosensitive compartment that becomes softer and adopts a pronounced viscous state on soft matrices. Together, these findings highlight the importance of the regionalization of mechanical and rigidity-sensing properties within neuron microcompartments in the preferential damage of axons during traumatic brain injury and into potential mechanisms of axonal outgrowth after injury.