To develop anion exchange membranes with excellent chemical stability and high performance. A series of quaternary ammonium functionalized (hydrophilic) hydrophobic rigid poly (carbazole-butanedione) (HOCB-TMA-x) anion exchange membranes were prepared, where x represents the percentage content of hydrophobic unit octylcarbazole (OCB). Due to the introduction of hydrophobic rigid unit octylcarbazole and hexyl flexible side chain, the hydrophilic-hydrophobic microstructure of AEMs was developed. The AEMs exhibit excellent overall performance, specifically the low swelling ratio HOCB-TMA-30 membrane exhibits the highest OH − conductivity of 152.9 mS/cm at 80 °C. Furthermore, the ionic conductivity of AEM decreased by only 9.5% after 2250 h of immersion in 1 M NaOH. The maximum peak power density of a single cell with a current density of 4.38 A/cm 2 at 80 °C was 1.85 W/cm 2 . • A series of poly(carbazole-butanedione) AEMs were prepared. • The effect of hydrophobic unit on the performance of AEMs was investigated. • The membrane showed a maximum OH − conductivity of 152.9 mS/cm at 80 °C. • The introduction of hydrophobic unit improves the overall performance of AEMs.