Cholesterol is a critical molecule in the central nervous system, and imbalances in the synthesis and metabolism of brain cholesterol can result in a range of pathologies, including those related to hyperexcitability. The impact of cholesterol on disorders of epilepsy and developmental and epileptic encephalopathies is an area of growing interest. Cholesterol cannot cross the blood-brain barrier, and thus the brain synthesizes and metabolizes its own pool of cholesterol. The primary metabolic enzyme for brain cholesterol is cholesterol 24-hydroxylase (CH24H), which metabolizes cholesterol into 24S-hydroxycholesterol (24HC). Dysregulation of CH24H and 24HC can affect neuronal excitability through a range of mechanisms. 24HC is a positive allosteric modulator of N-methyl-D-aspartate (NMDA) receptors and can increase glutamate release via tumor necrosis factor-α-dependent pathways. Increasing cholesterol metabolism can lead to dysfunction of excitatory amino acid transporter 2 and impair glutamate reuptake. Finally, overstimulation of NMDA receptors can further activate metabolism of cholesterol, leading to a vicious cycle of overactivation. All of these mechanisms increase extracellular glutamate and can lead to hyperexcitability. For these reasons, the cholesterol pathway represents a new potential mechanistic target for antiseizure medications. CH24H inhibition has been shown to decrease seizure behavior and improve survival in multiple animal models of epilepsy and could be a promising new mechanism of action for the treatment of neuronal hyperexcitability and developmental and epileptic encephalopathies.