The widespread application of human stem-cell-derived neurons for functional studies is impeded by complicated differentiation protocols, immaturity, and deficient optogene expression as stem cells frequently lose transgene expression over time. Here we report a simple but precise Cre-loxP-based strategy for generating conditional, and thereby stable, optogenetic human stem-cell lines. These cells can be easily and efficiently differentiated into functional neurons, and optogene expression can be triggered by administering Cre protein to the cultures. This conditional expression system may be applied to stem-cell-derived neurons whenever timed transgene expression could help to overcome silencing at the stem-cell level.