A method and system for circumventing sudden unexpected death in epilepsy (SUDEP) by monitoring a plurality of indicators related to the likelihood of SUDEP, processing and monitoring these indicators for conditions predisposing to SUDEP, selecting a preconfigured treatment to treat the existing set of high-risk conditions, and delivering or triggering apnea and/or seizure treatment of a preventive or therapeutic nature to prevent SUDEP.