An implantable medical device for treating breathing disorders such as centralsleep apnea wherein stimulation is provided to the phrenic never through atransvenous lead system with the stimulation beginning after inspiration toextend the duration of a breath and to hold the diaphragm in a contractedcondition.