Axonal degeneration is a major cause of permanent disability in the inflammatory demyelinating disease multiple sclerosis, but no therapies are known to be effective in axonal protection. Sodium channel blocking agents can provide effective protection of axons in the white matter in experimental models of multiple sclerosis, but the mechanism of action (directly on axons or indirectly via immune modulation) remains uncertain. Here we have examined the efficacy of two sodium channel blocking agents to protect white matter axons in two forms of experimental autoimmune encephalomyelitis, a common model of multiple sclerosis. Safinamide is currently in phase III development for use in Parkinson’s disease based on its inhibition of monoamine oxidase B, but the drug is also a potent state-dependent inhibitor of sodium channels. Safinamide provided significant protection against neurological deficit and axonal degeneration in experimental autoimmune encephalomyelitis, even when administration was delayed until after the onset of neurological deficit. Protection of axons was associated with a significant reduction in the activation of microglia/macrophages within the central nervous system. To clarify which property of safinamide was likely to be involved in the suppression of the innate immune cells, the action of safinamide on microglia/macrophages was compared with that of the classical sodium channel blocking agent, flecainide, which has no recognized monoamine oxidase B activity, and which has previously been shown to protect the white matter in experimental autoimmune encephalomyelitis. Flecainide was also potent in suppressing microglial activation in experimental autoimmune encephalomyelitis. To distinguish whether the suppression of microglia was an indirect consequence of the reduction in axonal damage, or possibly instrumental in the axonal protection, the action of safinamide was examined in separate experiments in vitro. In cultured primary rat microglial cells activated by lipopolysaccharide, safinamide potently suppressed microglial superoxide production and enhanced the production of the anti-oxidant glutathione. The findings show that safinamide is effective in protecting axons from degeneration in experimental autoimmune encephalomyelitis, and that this effect is likely to involve a direct effect on microglia that can result in a less activated phenotype. Together, this work highlights the potential of safinamide as an effective neuroprotective agent in multiple sclerosis, and implicates microglia in the protective mechanism.