Provided is a use of dextrorotatory oxiracetam in the preparation of a drug for preventing or treating epilepsy. An experimental result shows that the dextrorotatory oxiracetam has an obvious effect in the treatment of generalized epilepsy seizure, partial epilepsy seizure and status epilepticus.