These findings confirm that abnormal tau accumulation plays a pivotal role in optogenetics-induced epileptic seizures, and targeting tau may be promising in treatment of epilepsy. Here, MAPT is linked to epilepsy.