Ultramicropores with high surface areas (> 530 m2 g− 1) and narrow micropore size distribution (4–6 Å) were engineered within a new cyanate ester resin, extending the microporous concept (< 20 Å) to general thermosetting resins in the area of polymer chemistry.