General anesthesia is not administered during EEG recordings. However, for infants and young children, a mild sleep aid or sedative medication may be used under the supervision of a pediatrician to facilitate the recording comfortably during sleep.