Hierarchical porous poly(ionic liquid)s (PILs) with high specific surface area were firstly synthesized via anion exchange. The exchange of bulky salicylate and its dimers/clusters in PILs by other smaller anions increased the specific surface area and fabricated a hierarchical porous structure. The high specific surface area and hierarchical porous structure prompted a high degree of exposure of the active sites and made the heterogeneous PIL catalysts contact with substrates sufficiently, enhancing their catalytic activity.