A series of ester-linked tetracarboxylic dianhydrides containing multiple para-phenylene units (TA-pPhs) was synthesized to obtain novel modified polyimides, namely poly(ester imide)s (PEsIs). The flame retardancy and film toughness of PEsIs tended to deteriorate with the structural extension of the repeating units (or monomers) via ester groups. To identify the structural factors necessary for achieving the highest flame retardancy rank (UL-94, V-0), we systematically investigated the structure-property relationships of a series of TA-pPh-based PEsIs. Among them, a PEsI derived from para-quaterphenylene-containing TA-pPh (TA-DPQP) and p-phenylenediamine (p-PDA) exhibited the best property combination, featuring an extremely high glass transition temperature (Tg), very low linear coefficient of thermal expansion (CTE), low water uptake (WA), ultralow linear coefficient of humidity (hygroscopic) expansion (CHE), unexpectedly high film toughness, and excellent flame retardancy (V-0 rank). Moreover, we examined the effects of substituents of TA-pPh and discussed the mode of action for the increased film toughness. This study also investigated the structure-property relationship for a series of PEsIs derived from isomeric naphthalene-containing tetracarboxylic dianhydrides. Some of the PEsIs obtained in this study, such as the TA-DPQP/p-PDA system, hold promise as novel high-temperature dielectric substrates for use in flexible printed circuits.