Non-small cell lung cancer (NSCLC) is one of leading causes of cancer-associated mortality, with a high number of cases caused by metastasis. The early diagnosis of cancer contributes to the successful treatment of patients with lung cancer. The aim of the present study was to analyze the efficacy of marker gene detection and computed tomography (CT) in diagnosing human lung cancer. Lung cancer marker genes, including carcinoembryonic antigen (CEA), cancer antigen 125 (CA125), tissue polypeptide antigen (TPA), pro-gastrin-releasing peptide (ProGRB), cytokeratin fragment 21-1 (Cyfra21-1) and neuron-specific enolase (NSE), were analyzed in patients with lung cancer. The tumor size was evaluated using CT, and the association between lung serum levels of marker gene protein expression and tumor size was investigated. A total of 328 patients with lung cancer were identified, including 204 adenocarcinoma, 75 large cell carcinoma and 49 squamous cell carcinoma cases. All patients were indicated to have a high serum level of CEA, CA125, TPA, ProGRB, Cyfra21-1 and NSE, compared with the normal range. Immunohistochemistry demonstrated higher expression levels of CEA, CA125, TPA, ProGRB, Cyfra21-1 and NSE in lung tumor tissues, compared with the normal range. Results indicated that CT was able to diagnose tumor size for patients with lung cancer. The CEA and CA125 expression levels were associated with CT-diagnosed adenocarcinoma tumor size. Large cell carcinoma tumor size was associated with serum levels of CEA, TPA and ProGRB. Results indicated that Cyfra21-1 and NSE were associated with the squamous cell carcinoma cases, as demonstrated using CT. In conclusion, these results indicated that comprehensive analysis of marker gene detection and CT results may be used to diagnose human lung cancer.