The infralimbic cortex (IL) and its downstream projection target the nucleus accumbens shell (NAshell) mediate the active suppression of cocaine-seeking behavior. Although an optogenetic approach would be beneficial for stimulating the IL and its efferents to study their role during reinstatement of cocaine seeking, the use of channelrhodopsin introduces significant difficulties, as optimal stimulation parameters are not known. The present experiments utilized a stable step-function opsin (SSFO) to potentiate endogenous activity in the IL and in IL terminals in the NAshell during cocaine-seeking tests to determine how these manipulations affect cocaine-seeking behaviors. Rats first underwent 6-h access cocaine self-administration followed by 21-27days in the homecage. Rats then underwent cue-induced and cocaine-primed drug-seeking tests during which the optogenetic manipulation was given. The same rats then underwent extinction training, followed by cue-induced and cocaine-primed reinstatements. Potentiation of endogenous IL activity did not significantly alter cue-induced or cocaine-primed drug seeking following the homecage period. However, following extinction training, enhancement of endogenous IL activity attenuated cue-induced reinstatement by 35% and cocaine-primed reinstatement by 53%. Stimulation of IL terminals in the NAshell did not consistently alter cocaine-seeking behavior. These results suggest the utility of an SSFO-based approach for enhancing activity in a structure without driving specific patterns of neuronal firing. However, the utility of an SSFO-based approach for axon terminal stimulation remains unclear. Moreover, these results suggest that the ability of the IL to reduce cocaine seeking depends, at least in part, on rats first having undergone extinction training.