Micro-light-emitting-diode (μLED) silicon probes feature independently controllable miniature light-emitting-diodes (LEDs) embedded at several positions in each shank of a multi-shank probe, enabling temporally and spatially precise optogenetic neural circuit interrogation. Here, we present a protocol for performing causal and reproducible neural circuit manipulations in chronically implanted, freely moving animals. We describe steps for introducing optogenetic constructs, preparing and implanting a μLED probe, performing simultaneous in vivo electrophysiology with focal optogenetic perturbation, and recovering a probe following termination of an experiment.