Certain drugs may affect the ventilatory center of the central nervous system. These drugs cause pauses in breath, especially during sleep. The most prominent group of medications that causes central sleep apnea is opioids. They are prescribed as strong painkillers, usually to cancer patients.