Research on people with severe obesity and sleep apnea indicated that weight loss surgery may improve apnea in some, but not all, cases. It is important to note that this type of surgery involves potentially dangerous complications. Because of the potential for serious effects, doctors do not advise this option for everyone. In some cases, they may advise a person to maintain a moderate weight before having surgery.