Infantile spasms are brief, sudden muscle contractions that typically happen in clusters. Each spasm lasting 1–2 seconds and can repeat every few seconds in a series of clusters lasting several minutes. They most often occur when the child is waking up or falling asleep and are usually associated with an abnormal EEG pattern called hypsarrhythmia.