Optical nerve stimulation (ONS) has recently been reported as a potential alternative to electrical nerve stimulation. Continuous-wave (CW) laser stimulation of the prostate cavernous nerves (CN) in a rat model, in vivo, has also been demonstrated in our previous studies. The objective of this study is to present a new all-single-mode-fiber configuration for ONS with the laser operating in CW mode for potential diagnostic applications. An infrared pigtailed single-mode diode laser (λ = 1455 nm) was used in this study for noncontact ONS. This new all-fiber approach introduces several advantages including: (1) a less expensive and more compact ONS system, (2) elimination of alignment of optical components, and (3) an improved spatial beam profile. Successful optical stimulation of the rat CN using this new design was observed after the CN reached a threshold temperature of ∼ 41°C with response times as short as 3 s. Upon further study, this configuration may be useful for identification and preservation of the cavernous nerves during prostate cancer surgery.