Examples for delivering electrical stimulation to a patient via a medical device to manage or treat rapid eye movement behavior disorder (RBD) are described. In one example, a method comprises determining a patient is in a rapid eye movement (REM) sleep stage, and delivering electrical stimulation therapy to the patient based on the determination that the patient is in the REM sleep stage, where the electrical stimulation therapy is delivered to inhibit movement of the patient during the REM sleep stage. In some examples, the electrical stimulation therapy may be delivered to the brain of the patient.