Methods and apparatuses are disclosed for potentiating a favorable brain state that is associated with relief in symptoms of a brain condition. Techniques include monitoring one or more brain signals and detecting an episode of a favorable brain state based on the one or more brain signals, the favorable brain state associated with a decrease in one or more symptoms of a brain condition of the patient. Then, in response to the detection of the favorable brain state episode, electrical stimulation that potentiates the favorable brain state is delivered to the brain of the patient, the electrical stimulation delivered within a window of time opened for detection of each favorable brain state episode.