Sulfonated ordered nanoporous carbon (CMK-5-SO3H) efciently catalyzes the synthesis of perimidines using cyclocondensation of various aldehydes and ketones with 1,8-diaminonaphthalene in ethanol as a solvent at room temperature. This catalyst can be recovered and reused without significant loss of activity. This methodology provides a simple synthetic route to interesting classes of heterocycles in excellent yields at short time.