The procedure is simple and painless. The child will be asked to lie on a bed or sit in a comfortable chair. A technician will attach small, flat metal discs called electrodes to the scalp using a special gel. The child needs to remain still during the test, which can last from 20 minutes to a few hours. In some cases, a sleep EEG may be required, where the child is asked to sleep during the procedure.