Diagnosis of epilepsy begins with a history and physical exam. The healthcare provider will ask about contributing illnesses or injuries. An electroencephalogram, or EEG, will be ordered. An EEG measures electrical activity within the brain. If a seizure occurs during the EEG, the abnormal activity can be detected. A normal EEG does not rule out epilepsy. Other tests that may be ordered include the following: