The benefits of doxapram on recovery from anesthesia and its consequences in patients with the bariatric surgery. Due to the increasing rate of obesity and bariatric surgery results in a significant increase in acts of witness and of course obstructive sleep apnea is a common cause of morbidity, especially in these acts. The study population of 26 patients with morbid obesity Shahid Modares Hospital who are surgical candidate’s sleeve. Patients randomly into two groups of equal size doxapram and placebo control group (distilled water) before extubation.Patients were divided into groups of (doxapram or placebo) Blind, but the anesthesiologist in the operating room aware of the drug during the operation, including electrocardiography, noninvasive blood pressure, pulse oximetry, Capnography, respiratory gas analysis, temperature monitoring, monitoring of neuromuscular relaxants (TOF) will be. After receiving doxapram and Respiratory Rate Tidal volume measured every two minutes and extubation time and the patient train-of-four monitor and respond to voice commands and hand movement and eye opening and responding to verbal commands and ETCO2 will be filled in the questionnaire. Inclusion criteria: patients with ASA Class I, II; body mass index over 45, patients with a history of OSA; smokers; the patient consent to participate in the plan. Exclusion criteria: use of drugs, cardiac diseases, the cause of longer than 3 hours surgery or surgical complications occur.