Recent studies have suggested that activated glia in the spinal cord may play a vital role at different times during spinal nerve ligation (SNL)-induced neuropathic pain; therefore, glial activation inhibitors have been used as effective painkillers. Brain-derived neurotrophic factor (BDNF) is also known to be a powerful pain modulator, but it remains unclear how it contributes to the glial activation inhibitor-based treatment. This study revealed the following results: (1) intrathecal administration of minocycline (a microglial activation inhibitor) could prevent mechanical allodynia during the initiation of SNL-induced neuropathic pain, and its action was associated with the elimination of BDNF overexpression in the dorsal horn; (2) the spinal injection of fluorocitrate (an astrocytic activation inhibitor) but not minocycline could reverse mechanical allodynia during the maintenance phase of SNL-induced pain, and its action was also related to a decrease in BDNF overexpression in the dorsal horn; and (3) treatment with TrkB/Fc (a BDNF-sequestering protein) had a similar effect during both the early development and maintenance periods. These results led to the following conclusions: (1) elevated BDNF expression in the dorsal horn was required to develop and maintain neuropathic pain; (2) minocycline could only prevent mechanical allodynia in the early stages, possibly by inhibiting BDNF release from microglia; and (3) fluorocitrate could reverse existing mechanical allodynia, and its action was associated with the inhibition of BDNF upregulation induced by astrocytic activation.