A neonatal electroencephalogram (EEG) is a test performed on newborn babies to measure brain activity. A neonatal EEG is a painless, non-invasive procedure that places small sensors on the baby's scalp which record electrical signals produced by the brain.