A separation-based biosensor has been developed that is capable of near-real-time analysis of aspartate and glutamate with a temporal resolution of less than 2 min in anesthetized or awake, freely moving animals. The instrument consists of a microdialysis sampling system, an on-line reactor, an injection interface, and a CE-LIF system. Primary amine analytes are derivatized with NDA/CN following microdialysis sampling using an on-line reactor to produce fluorescent CBI derivatives. The reaction takes approximately 1 min. The derivatized sample then travels to a microinjection valve which alternately sends CE running buffer and reacted microdialysis sample to the CE column via an injection interface. The interface allows a controllable volume of 10-20 nL to be injected onto the CE separation capillary. Separation of aspartate and glutamate from the other amino acids present in the microdialysis sample was achieved within 70 s. Detection limits for glutamate and aspartate using laser-induced fluorescence detection were 0.1 microM. The linear dynamic range was acceptable for the determination of aspartate and glutamate in dialysate samples where the levels are between 1 and 10 microM. Full automation of the system was achieved by computer control of the valve, the interface, and the data collection system. The performance of this system was demonstrated in an anesthetized rat by monitoring ECF levels of aspartate and glutamate released in brain after stimulation with high concentrations of K+.