A therapeutic window for at least one electrode of a medical system may be determined based on a volume of tissue expected to be activated (“VTA”) by electrical stimulation delivered by the at least one electrode. In some examples, a processor determines the therapeutic window for a particular electrode by at least determining an efficacy threshold based on the VTA expected to result from the delivery of electrical stimulation according to a set of electrical stimulation parameter values including the stimulation parameter at the efficacy threshold, and determining an adverse-effects threshold based on the VTA expected to result from the delivery of electrical stimulation according to a set of electrical stimulation parameter values including the stimulation parameter at the adverse-effects threshold.