Cerebral ischemia and excitotoxic injury induce transient or permanent bioenergetic failure, and may result in neuronal apoptosis or necrosis. We have previously shown that ATP depletion and activation of AMP-activated protein kinase (AMPK) during excitotoxic injury induces neuronal apoptosis by transcription of the pro-apoptotic BH3-only protein, Bim. AMPK, however, also exerts pro-survival functions in neurons. The molecular switches that determine these differential outcomes are not well understood. Using an approach combining biochemistry, single-cell imaging and computational modeling, we here demonstrate that excitotoxic injury activated the bim promoter in a FOXO3-dependent manner. The activation of AMPK reduced AKT activation, and led to dephosphorylation and nuclear translocation of FOXO3. Subsequent mutation studies indicated that bim gene activation during excitotoxic injury required direct FOXO3 phosphorylation by AMPK in the nucleus as a second activation step. Inhibition of this phosphorylation prevented Bim expression and protected neurons against excitotoxic and oxygen/glucose deprivation-induced injury. Systems analysis and computational modeling revealed that these two activation steps defined a coherent feed-forward loop; a network motif capable of filtering any effects of short-term AMPK activation on bim gene induction. This may prevent unwanted AMPK-mediated Bim expression and apoptosis during transient or physiological bioenergetic stress.