The course and prognosis of epilepsy depends on a number of factors, mainly closely related to the cause, the type of seizure, and the epilepsy syndrome. Some epilepsies are benign and have a good prognosis up to a certain age, while others are epileptic encephalopathies with a poor prognosis requiring lifelong medication. In the case of benign pediatric epilepsy, most episodes develop between the ages of 5-11 years and the vast majority of seizures stop by age 15. Common types include childhood benign epilepsy with central temporal spikes, in which seizures stop by age 12 in 92% of children and by age 17 in 99%, childhood idiopathic benign occipital lobe epilepsy, in which seizures stop by age 19 in 92% of cases, and pediatric benign affective epilepsy, in which seizures stop by age 15.