Devices, systems, and techniques for determining medical
lead placement are described. In one example, a
system includes sensing circuitry configured to detect, via a lead, a bioelectric
signal of the patient, wherein the lead comprises one or more electrodes, and wherein the lead is configured to be located in an
epidural space of a patient and displaced laterally from a dorsal horn of the patient. Additionally, the
system includes
processing circuitry configured to determine, based on the bioelectric
signal, a proximity of each
electrode of the one or more electrodes to a dorsal root of the patient; and output information indicative of the proximity of each
electrode of the one or more electrodes to the dorsal root.