A method for implanting a lead for stimulation of a dorsal root ganglion of a patient includes advancing a distal portion of a guidewire using an introducer into an epidural space of the patient and through a foramen of the patient to a position near the dorsal root ganglion, the guidewire including an electrode in the distal portion of the guidewire; mapping a region around the dorsal root ganglion using the electrode of the guidewire to identify a lead implantation site; removing the introducer; and advancing the lead over the guidewire, with a portion of the guidewire disposed in a lumen of the lead, to position a distal portion of the lead at the lead implantation site.