Some types of epilepsy tend to run in families, which means they may have hereditary causes.