Intrinsic antioxidant defenses are important for neuronal longevity. We found that in rat neurons, synaptic activity, acting via NMDA receptor (NMDAR) signaling, boosted antioxidant defenses by making changes to the thioredoxin-peroxiredoxin (Prx) system. Synaptic activity enhanced thioredoxin activity, facilitated the reduction of overoxidized Prxs and promoted resistance to oxidative stress. Resistance was mediated by coordinated transcriptional changes; synaptic NMDAR activity inactivated a previously unknown Forkhead box O target gene, the thioredoxin inhibitor Txnip. Conversely, NMDAR blockade upregulated Txnip in vivo and in vitro, where it bound thioredoxin and promoted vulnerability to oxidative damage. Synaptic activity also upregulated the Prx reactivating genes Sesn2 (sestrin 2) and Srxn1 (sulfiredoxin), via C/EBPbeta and AP-1, respectively. Mimicking these expression changes was sufficient to strengthen antioxidant defenses. Trans-synaptic stimulation of synaptic NMDARs was crucial for boosting antioxidant defenses; chronic bath activation of all (synaptic and extrasynaptic) NMDARs induced no antioxidative effects. Thus, synaptic NMDAR activity may influence the progression of pathological processes associated with oxidative damage.