Nitrogen-rich porous organic polymers were fabricated through a nonreversible ring-opening reaction from polyamines and polyepoxides (PAEs). The epoxide groups reacted with both primary and secondary amines provided by the polyamines at different epoxide/amine ratios with polyethylene glycol as the solvent to form the porous materials. Fourier-transform infrared spectroscopy confirmed the occurrence of ring opening between the polyamines and polyepoxides. The porous structure of the materials was confirmed through N2adsorption–desorption data and scanning electron microscopy images. The polymers were found to possess both crystalline and noncrystalline structures, as evidenced by X-ray diffraction and high-resolution transmission electron microscopy (HR-TEM) results. The HR-TEM images revealed a thin, sheet-like layered structure with ordered orientations, and the lattice fringe spacing measured from these images was consistent with the interlayer of the PAEs. Additionally, the selected area electron diffraction pattern indicated that the PAEs contained a hexagonal crystal structure. The Pd catalyst was fabricated in situ onto the PAEs support by the NaBH₄ reduction of the Au precursor, and the size of the nano-Pd was about 6.9 nm. The high nitrogen content of the polymer backbone combined with Pd noble nanometals resulted in excellent catalytic performance in the reduction of 4-nitrophenol to 4-aminophenol.