Porous polymers have received much interest because of their wide range of applications in catalysis, gas separation, structure replication, electrode materials, etc. [1] It is particularly appealing to synthesize macro-and mesoporous polymers because the hierarchical porous structures have the advantages of each class of the hierarchical pores and offer transport and diffusion pathways, especially for larger guest species. [2] Generally, macro-and mesoporous polymers are prepared using the direct synthesis methodology by reaction-induced phase separation. [3] Emulsion templating is a useful method for the preparation of porous polymers. [4] Usually, oil-in-water or water-in-oil emulsions are used for emulsion polymerization. [5] Interestingly, Cooper et al. developed a CO 2 -in-water emulsiontemplating route for the synthesis of porous polymers. [6] The removal of the droplet phase is simple because CO 2 can revert to the gaseous state upon depressurization. Moreover, the CO 2 -in-water emulsion [7] is more attractive than the conventional emulsions consisting of water and oil because CO 2 is nontoxic, inexpensive, and nonflammable. [8] The CO 2 -inwater emulsion allows the production of hydrophilic polymers with porous structure. [6] In recent years, ionic liquids (ILs) have received tremendous attention owing to their negligible vapor pressures, high chemical and thermal stability, wide liquid temperature range, and wide electrochemical windows. [9] Most importantly, ILs can solvate a wide range of organic and inorganic reagents. [10] ILs have been widely utilized as promising media in different fields, such as chemical reactions, [11] including polymerization. [12] However, their use for the synthesis of porous polymers is not widely reported. [13] Herein, we propose for the first time a CO 2 -in-IL emulsion templating route for the synthesis of porous polymers. The polymerization is initiated by UV irradiation to attain a fast polymerization rate. [14] Highly porous polyacrylamide (PAM) and poly(trimethylolpropane trimethacrylate) (PTRM) having hierarchical macro-and mesoporous structures were obtained, and the porosity properties can be easily tuned by the control of the CO 2 pressure. The assynthesized polymers combine the advantages of both mesoand macropores, and have shown application potential in catalysis.The emulsion formation in the CO 2 /N-ethyl perfluorooctylsulfonamide (N-EtFOSA)/1-butyl-3-methylimidazolium nitrate ([bmim]NO 3 ) system was studied in the pressure range of 10-16 MPa at 25 8C (for structures of N-EtFOSA and IL [bmim]NO 3 see Figure S1 in the Supporting Information). The volume fraction of IL was fixed at 35 vol % and the surfactant concentration was 5.0 wt % based on the IL. A white, opaque emulsion was formed upon stirring, and filled the entire optical vessel (see Figure S2 in the Supporting Information). The emulsions were stable for about 2 hours after stirring was stopped. The electrical conductivity measurements show that the emulsions are highly conducting (see Figure S...