BackgroundCharacterized by an immune-suppressive tumor microenvironment (TME), pancreatic ductal adenocarcinoma (PDAC) is well-known for its poor prognosis. Tumor associated macrophages (TAMs) play a critical role in PDAC TME. An in-depth understanding of TAMs is helpful to develop new strategies for immunotherapy.MethodsA large number of single-cell RNA sequencing data and bulk RNA sequencing data of PDAC were collected for systematic bioinformatics analysis. Characterize subtypes of TAMs at single-cell resolution and its effect on prognosis. Differential gene analysis and cell-cell communication were used to describe the effect on prognosis and validated by the TCGA dataset.ResultsWe used two prognosis-favorable genes, SLC12A5 and ENPP2, to identify a benign M2-like TAMs (bM2-like TAMs), which shared similarities with C1QC + TAMs, CXCL9+ TAMs and CD169+ TAMs, by analyzing scRNA-seq data and bulk RNA data of PDAC. The bM2-like TAMs were revealed to promote T cell activation and proliferation through ALCAM/CD6 interaction. Meanwhile, the bM2-like TAMs were responsible for stroma modeling by altering αSMA+/αSMA-cell ratio. On the contrast, the rest of the M2-like TAMs were defined as malignant M2-like TAMs (mM2-like TAMs), partly overlapping with SPP1+ TAMs. mM2-like TAMs were revealed to promote tumor progression by secretion of MIF and SPP1.ConclusionOur study used two prognosis-favorable genes to divide M2-like TAMs of PDAC into anti-tumor bM2-like TAMs and pro-tumor mM2-like TAMs. The bM2-like TAMs activate T cells through ALCAM/CD6 and generate prognosis-favorable αSMA+ myofibroblasts through secreting TGFβ, which brings insight into heterogeneity of TAMs, prognosis prediction and immunotherapy of PDAC.