Gain-of-function mutations in Cav2.1 contribute to the development of familial hemiplegic migraine, while loss-of-function mutations lead to episodic ataxia type 2. Here, CACNA1A is linked to episodic ataxia type 2.