Tetraphenyladamantane-based microporous polyimide was synthesized. It can uptake 14.6 wt% CO2 at 273 K and 1 bar, 99.2 wt% benzene and 59.7 wt% cyclohexane at 298 K and 0.9 bar, exhibiting potential applications in gas storage and recovery of organic pollutants.