BackgroundThe predominant cancer-related deaths worldwide are caused by lung cancer, particularly non-small cell lung cancer (NSCLC), despite the fact that numerous therapeutic initiatives have been devised to improve the outcomes. Ankyrin repeat domain (ANKRD) is one of the widespread protein structural motifs in eukaryotes but the functions of ANKRD proteins in NSCLC progression remains unclear.MethodsWe performed integrative bioinformatical analysis to determine the dysregulated expression of ANKRDs in multiple tumors and the association between ANKRD29 expression and the NSCLC tumor environment. Quantitative real-time PCR (qRT-PCR), western blot, immunohistochemistry (IHC), and tissue microarray (TMA) assays were used to investigate the expression of ANKRD29 in NSCLC cell lines. The role of ANKRD29 in NSCLC cell proliferation and migration in vitro was deteceted by 5-bromodeoxyuridine (BrdU) incorporation, colony formation, flow cytometry, would-healing, trans-well, and western blot experiment. RNA-seq technology was applied to deciper the molecular mechanism regulated by ANKRD29 in NSCLC.ResultsWe constructed a valuable risk-score system for predicting the overall survival outcomes of NSCLC patients based on the expression of five hub ANKRD genes. And we found that the hub gene ANKRD29 was remarkedly decreased in NSCLC tissues and cell lines due to the promoter hypermethylation, and revealed that high ANKRD29 expression obviously correlated with patients’ better clinical outcome. Overexpression of ANKRD29 significantly inhibited cell proliferation and migration, promoted the cancerous cells’ sensitivity to carboplatin and enhanced the killing ability of T cells in NSCLC cells. Interestingly, ANKRD29 can be served as a biomarker to predict the response to immunotherapy in NSCLC. Mechanically, RNA-seq results showed that ANKRD29 could regulate MAPK signaling pathway. Moreover, we screened two potential agonists for ANKRD29.ConclusionsANKRD29 functions as a new tumor suppressor in NSCLC tumorigenesis and could be developed as a biomarker for prognostic prediction, immunotherapy response, and drug susceptibility evaluation of NSCLC in the future.Supplementary InformationThe online version contains supplementary material available at 10.1186/s13062-023-00385-7.