Electroencephalography (EEG) is a useful diagnostic tool in the diagnosis of seizure and differentiating it from seizure-like attacks. Cooperation and immobility of the patient is crucial and in children who do not naturally sleep, pharmacological agents and procedural sedation should be used for sleep inducement. The purpose of this study was to compare efficacy and safety of melatonin and intravenous solution of midazolam administered orally in sedation induction for EEG of children.