Embodiments of the disclosure include systems and method for spinal cord stimulation. A spinal cord stimulator may comprise a pulse generator comprising electronic circuitry configured to generate output current; at least one lead in communication with the generator and configured to extend into the epidural space of a patient's spinal column; at least one electrode contact located proximate to a distal end of the at least one lead and configured to provide electric stimulation to a portion of a patient's spinal cord; and at least one sensor located along the at least one lead configured to determine a distance between the at least one lead and a surface of the patient's spinal cord, wherein the generator receives the determined distance, and wherein the generator is configured to adjust the stimulation provided by the at least one electrode contact based on the determined distance.