This article is intended to provide a general overview of the anesthetic management for lung resection surgery including the preoperative evaluation of the patient, factors influencing the intraoperative anesthetic management and options for postoperative analgesia. Lung cancer is the leading cause of death among cancer patients in the United States. In patients undergoing lung resection, perioperative pulmonary complications are the major etiology of morbidity and mortality. Risk stratification of patients should be part of the preoperative assessment to predict their risk of short-term long-term pulmonary complications. Improvements in surgical technique and equipment have made video assisted thoracoscopy and robotically assisted thoracoscopy the procedures of choice for thoracic surgeries. General anesthesia including lung isolation has become essential for optimizing visualization of the operative lung but may itself contribute to pulmonary complications. Protective lung ventilation strategies may not prevent acute lung injury from one-lung ventilation, but it may decrease the amount of overall lung injury by using small tidal volumes, positive end expiratory pressure, low peak and plateau airway pressures and low inspired oxygen fraction, as well as by keeping surgical time as short as possible. Because of the high incidence of chronic post-thoracotomy pain syndrome following thoracic surgery, which can impact a patient's normal daily activities for months to years after surgery, postoperative analgesia is a necessary part of the anesthetic plan. Multiple options such as thoracic epidural analgesia, intravenous narcotics and several nerve blocks can be considered in order to prevent or attenuate chronic pain syndromes. Enhanced recovery after thoracic surgery is a relatively new topic with many elements taken from the experience with colorectal surgery. The goal of enhanced recovery is to improve patient outcome by improving organ function and decreasing postoperative complications, and therefore decreasing length of hospital stay.