Bioelectrical signals may be sensed within a brain of a patient with a plurality of sense electrode combinations. A stimulation electrode combination for delivering stimulation to the patient to manage a patient condition can be selected based on a frequency domain characteristic of the sensed bioelectrical signals. In some examples, a stimulation electrode combination is selected based on a determination of which of the sense electrodes are located closest to a target tissue site, as indicated by the one or more sense electrodes that sensed a bioelectrical brain signal with a relatively highest value of the frequency domain characteristic. In some examples, determining which of the sense electrodes are located closest to the target tissue site may include executing an algorithm using relative values of the frequency domain characteristic.