We first discuss the benefits and caveats to using optogenetic approaches and recent advances in optogenetics related tools. We then turn to the use of optogenetics, including on-demand optogenetics in the study of epilepsies, which highlights the powerful potential of optogenetics for epilepsy research.