Polyimides for natural gas separation are synthesized from copolycondensation of 5-(1H-benzimidazol-2-yl)benzene-1,3diamine (BIB) with 2,3,5,6-tetramethyl-1,4-phenylenediamine (Durene) and 4,4′-(hexafluoroisopropylidene)diphthalic anhydride (6FDA) with different 6FDA/BIB/Durene ratios. All polyimides containing benzimidazole groups in side chains display good processability, outstanding thermal stability, and excellent mechanical properties. The CO 2 permeability and CO 2 /CH 4 selectivity of the synthesized polyimides change with the 6FDA/BIB/Durene ratio or the BIB content. At a total pressure of 2 bar and a CO 2 / CH 4 feed ratio of 50:50, the polyimide synthesized with 30% BIB content (F 10 B 3 D 7 ) exhibits a high CO 2 permeability of 197.2 Barrer coupled with a high CO 2 /CH 4 selectivity of 38.6, which is close to the 2008 Robeson's upper bound. Besides, CO 2 -induced plasticization and physical aging of polyimide membranes can also be regulated by tuning the 6FDA/BIB/Durene ratio. Specifically, F 10 B 3 D 7 also exhibits good plasticization resistance and excellent stability against physical aging, and it is demonstrated to be a promising candidate for the purification of biogas and the removal of CO 2 molecules from natural gas.