Sudden unexpected death in epilepsy (SUDEP) can affect individuals of any age, but is most common in younger adults (aged 20-45 years). Generalised tonic-clonic seizures are the greatest risk factor for SUDEP; most often, SUDEP occurs after this type of seizure in bed during sleep hours and the person is found in a prone position. SUDEP excludes other forms of seizure-related sudden death that might be mechanistically related (eg, death after single febrile, unprovoked seizures, or status epilepticus). Typically, postictal apnoea and bradycardia progress to asystole and death. A crucial element of SUDEP is brainstem dysfunction, for which postictal generalised EEG suppression might be a biomarker. Dysfunction in serotonin and adenosine signalling systems, as well as genetic disorders affecting cardiac conduction and neuronal excitability, might also contribute. Because generalised tonic-clonic seizures precede most cases of SUDEP, patients must be better educated about prevention. The value of nocturnal monitoring to detect seizures and postictal stimulation is unproven but warrants further study.