A seizure is caused by a sudden surge electrical activity in 1 area of the brain or in all of the brain. Seizures can last anywhere from a few seconds to a few minutes.