Drug depot delivery devices and methods are provided for delivering one or more drug depots in close proximity to the nerve of a patient with or without repositioning the cannula. The device includes an electronic monitor for detecting the proximity of the tip of the cannula to a nerve. In some embodiments, a method of delivering a drug depot is provided by detecting the nerve and delivering the drug depot near the nerve.