A series of nitrogen-rich conjugated microporous polymers has been designed and synthesized. The polymers produced from the rigid building block show an increased specific surface area up to 1146 m 2 g −1 with a remarkable CO 2 uptake of 3.72 mmol g −1 at 1.13 bar and 273 K.