The development of optogenetics now provides the means to precisely stimulate genetically defined neurons and circuits, both in vitro and in vivo. Here we describe the assembly and implantation of a fiber optic for chronic photostimulation of brain tissue.