Methods and apparatus for detection and treatment of respiratory disorders using implanted devices are described. In one form, afferent nerves are electrically or electro-mechanically stimulated to increase the tone of upper airway muscles. Detection of respiratory disorders is carried out using electrodes implanted in sub-pectoral regions. Open and closed airway apneas are distinguished using a combination of acoustic detectors and electrical transducers.