A new coronavirus, SARS-CoV-2, has caused the coronavirus disease-2019 (COVID-19) epidemic. Current diagnostic methods, including nucleic acid detection, antibody detection, antigen detection and chest computed tomography (CT) imaging, usually take hours, and identification of the disease costs hundreds of dollars. Therefore, an ultrafast and economical detection method is urgently required to control the epidemic spread. Here, we report a rapid and low-cost method for rapidly preliminary screening COVID-19 suspects from healthy people. We established a machine learning (ML) model based on the fractional exhaled nitric oxide (FeNO) concentration, age, sex and body size of 34 COVID-19 patients and 70 healthy subjects. Then, the model was applied to 45 independent subjects, including 12 mild and asymptomatic COVID-19 patients, 10 patients with other diseases, and 23 healthy subjects. The patients with diseases affecting the FeNO including COVID-19, asthma, hypertension and etc were screened out as suspects with the rate of 94.1%. Only one healthy subject was misclassified. This noninvasive and comfortable detection procedure takes in two minutes and costs less than a dollar, which simultaneously improves the detection efficiency and reduces expenses by multiple orders of magnitude. This work may provide a direction for the control of the rapid spread of COVID-19.