A control device for an electrical stimulation apparatus according to the present disclosure includes a control section that adjusts an output of an electrode and communicates with an angular velocity detector, the electrode giving electrical stimulation to a predetermined part of a body doing a pedaling exercise by rotating a crank, the predetermined part being at least one of a leg and an arm, the angular velocity detector detecting an angular velocity of the predetermined part, the angular velocity being accompanied by an operation of the predetermined part during the pedaling exercise. The control section adjusts, according to a result of the detection in the angular velocity detector, an output timing of the electrical stimulation of the electrode such that the electrode gives electrical stimulation to the predetermined part when a state of the operation of the predetermined part during the pedaling exercise is a predetermined operation state.