Sanfilippo syndrome occurs when a child is missing a crucial enzyme, causing a toxic buildup in the body that damages the brain. Symptoms typically begin to show around the ages of three or four.