To improve the thermodynamic and mechanical properties of asymmetric polyimide (PI), a method to enhance the linearity of PI by using a structural reorganization approach was designed. First, two novel diamines containing benzimidazole and benzoxazole groups, namely PADBZ and PDBOA, were constructed and synthesized. Thereafter, two new kinds of PI films (PADBZ‐PMDA and PDBOA‐PMDA) were prepared and polymerized with 1,2,4,5‐benzenetetracarboxylic anhydride (PMDA). Based on structural reorganization, PADBZ‐PMDA and PDBOA‐PMDA had repeating units of the same chemical composition and different linearity with PABZ‐BPDA and BOA‐BPDA, respectively. Comparing PADBZ‐PMDA and PABZ‐BPDA, due to the transfer in the position of benzene, PADBZ‐PMDA with high linearity showed the improved heat resistance (Tg up to 448°C), dimensional stability (CTE down to 2.3 ppm/K) and mechanical properties. PDBOA‐PMDA and BOA‐BPDA had the same situation. This study provided a unique solution to enhance the performances of PI by increasing the linearity using a structural reorganization approach.