Seizures can happen suddenly and unexpectedly for various reasons. They include fever, changes in sodium or glucose levels, sepsis, a traumatic brain injury, alcohol use, a brain tumor, stroke, low oxygen supply to the brain, changes in medication, use of recreational drugs, an infection, and sleep deprivation.