Accurately locating epileptic foci has great importance in advancing the treatment of epilepsy. In this study, epileptic seizures were first induced by intracortical injection of 4-aminopyridine in rats. A fluorescent deoxyglucose substitute, 2-(N-(7-nitrobenz-2-oxa-1,3-diazol-4-yl)amino)-2-deoxyglucose (2-NBDG), was then continuously injected via the tail vein. Brain glucose metabolism was subsequently monitored by fluorescence imaging of 2-NBDG. The initial uptake rate of 2-NBDG at the injection site of 4-aminopyridine significantly exceeded that of the control injection site, which indicated local hypermetabolism induced by seizures. Our results show that 2-NBDG can be used for localizing epileptic foci.