Sleep apnea is the most common cause of nighttime sweating. Another possible cause is central sleep apnea, which can be caused by a variety of medical conditions, including obesity and enlarged tonsils or adenoids in children. Central sleep apnea leads to pauses in breathing during sleep that are too short for air to enter your lungs, causing you to become very warm.
Central sleep apnea also causes problems with snoring; however, the problem only occurs when you stop breathing (or stop snoring). If your doctor suspects central sleep apnea based on symptoms like excessive daytime tiredness and headaches—which occur even though it’s daytime—he may recommend testing for central sleep apnea using an overnight test called polysomnography. With this test, doctors record brain wave patterns as well as heart rate and oxygen levels while patients are asleep at night (polysomnogram). Depending on results from this test, sometimes other tests will be recommended before treating any disorder with surgery or other invasive treatments such as weight loss programs or CPAP machines used to help control snoring.