Gene delivery to macrophages holds great promise for cancer immunotherapy. However, traditional gene delivery methods exhibit low transfection efficiency in macrophages. The star-shaped topological structure of polymers is known to encapsulate genes inside their cores, thereby facilitating sustained release of the genetic material. Herein, combining the structural advantages of star polymers and the transfection advantages of poly (β-amino ester)s (PAEs), we developed a novel linear oligomer grafting-onto strategy to synthesize a library of multi-terminal star structured PAEs (SPAEs), and evaluated their gene delivery efficiency in various tissue cells. The transfection with human hepatocellular carcinoma cells (HepG2, HCC-LM3 cells and MHCC-97H cells), rat normal liver cells (BRL-3 A cells), human ovarian cancer cells (A2780 cells), African green monkey kidney cells (Vero cells), human cervical cancer cells (HeLa cells), human chondrosarcoma cells (SW1353 cells), and difficult-to-transfect human epidermal keratinocytes (HaCaT cells) and normal human fibroblast cells (NHF cells) showed that SPAEs exhibited superior transfection profile. The GFP transfection efficiency of top-performing SPAEs in HeLa cells (96.1%) was 2.1-fold, and 3.2-fold higher compared to jetPEI and Lipo3000, respectively, indicating that the star-shaped topological structure can significantly enhance the transfection efficiency of PAEs. More importantly, the top-performing SPAEs could efficiently deliver Nod2 DNA to difficult-to-transfect RAW264.7 macrophages, with a high transfection efficiency of 33.9%, which could promote macrophage M1 polarization and enhanced CD8+ T cell response in co-incubation experiments. This work advances gene therapy by targeting difficult-to-transfect macrophages and remodeling the tumor immune microenvironment.Copyright © 2024. Published by Elsevier B.V.