Gene transfection, defined by the delivery of nucleic acids into cellular compartments, stands as a crucial procedure in gene therapy. While branched polyethylenimine (PEI) is widely regarded as the "gold standard" for nonviral vectors, its cationic nature presents several issues, including nonspecific protein adsorption and notable cytotoxicity. Additionally, it often fails to achieve high transfection efficiency, particularly with hard-to-transfect cell types. To overcome these challenges associated with PEI as a vector for plasmid DNA (pDNA), the photothermal agent indocyanine green (ICG) is integrated with PEI and pDNA to form the PEI/ICG/pDNA (PI/pDNA) complex for more efficient and safer gene transfection. The negatively charged ICG serves a dual purpose: neutralizing PEI's excessive positive charges to reduce cytotoxicity and, under near-infrared irradiation, inducing local heating that enhances cell membrane permeability, thus facilitating the uptake of PI/pDNA complexes to boost transfection efficiency. Using pDNA encoding vascular endothelial growth factor as a model, our system shows enhanced transfection efficiency in vitro for hard-to-transfect endothelial cells, leading to improved cell proliferation and migration. Furthermore, in vivo studies reveal the therapeutic potential of this system in accelerating the healing of infected wounds by promoting angiogenesis and reducing inflammation. This approach offers a straightforward and effective method for gene transfection, showing potentials for tissue engineering and cell-based therapies.