Rationale: Electronic noses are successfully used in commercial applications, including detection and analysis of volatile organic compounds in the food industry. Objectives: We hypothesized that the electronic nose could identify and discriminate between lung diseases, especially bronchogenic carcinoma. Methods: In a discovery and training phase, exhaled breath of 14 individuals with bronchogenic carcinoma and 45 healthy control subjects or control subjects without cancer was analyzed. Principal components and canonic discriminant analysis of the sensor data was used to determine whether exhaled gases could discriminate between cancer and noncancer. Discrimination between classes was performed using Mahalanobis distance. Support vector machine analysis was used to create and apply a cancer prediction model prospectively in a separate group of 76 individuals, 14 with and 62 without cancer. Main Results: Principal components and canonic discriminant analysis demonstrated discrimination between samples from patients with lung cancer and those from other groups. In the validation study, the electronic nose had 71.4% sensitivity and 91.9% specificity for detecting lung cancer; positive and negative predictive values were 66.6 and 93.4%, respectively. In this population with a lung cancer prevalence of 18%, positive and negative predictive values were 66.6 and 94.5%, respectively. Conclusion: The exhaled breath of patients with lung cancer has distinct characteristics that can be identified with an electronic nose. The results provide feasibility to the concept of using the electronic nose for managing and detecting lung cancer.