Polyethylenimine (PEI) is a cationic polymer that has shown significant potential for delivering genes in vitro and in vivo. Mixing cationic PEI with negatively charged plasmid DNA (pDNA) results in the spontaneous electrostatic formation of stable nanoparticle complexes. The structure of PEI can be branched or linear. In this study, we show that branched PEI has a stronger electrostatic interaction with pDNA than linear PEI, which accounts for greater compaction, higher zeta potentials and smaller nanoparticle sizes at equivalent pDNA concentrations. For both linear and branched PEI, increasing the concentration of pDNA mixed in the same volume and at the same nitrogen to phosphate (N:P) ratio results in larger average particle sizes. Increasing the N:P ratio increases luciferase activity generated by branched PEI-pDNA nanoparticles and linear PEI-pDNA nanoparticles in HEK293, COS7 and HeLa cell lines. Increasing the N:P ratio at which branched PEI-pDNA nanoparticles are prepared also increases luciferase expression in HepG2 cells but does not increase luciferase expression generated by linear PEI-pDNA nanoparticles. In all of the cell lines, branched PEI-pDNA nanoparticles prepared at N:P ratios of 10 and above generated significantly higher luciferase activity than linear PEI-pDNA nanoparticles. Luciferase activity was highest in the HEK293 cells and luciferase expression in each of the cell lines followed the order of HEK293