Electroencephalography (EEG) is critical in the diagnosis of epileptic seizures, particularly of focal impaired-awareness seizures or absence status epilepticus, when EEG may be the most definitive indication of a seizure.